Sure! It might take a bit of work to clean up, but if people are interested then I'll do it.
reply
Amazing thanks!!
reply
Yes please! This code can be extremely valuable both historically and academically.
reply
100 sats \ 0 replies \ @pycan 7 Jul
I've just built my first raw transaction yesterday (here's the code) and learned a ton (also learning Rust as TS dev :) ). A chance to have a sneak peak into yours would be tremendous! Thank you.
reply
0 sats \ 1 reply \ @pycan 7 Jul
I'd also be very interested in those performance sensitive parts that had to be written in Rust. After all, I'd expect putting together bunch of bytes isn't that performance sensitive.
reply
The part that needed rewriting in Rust was grinding the vanity TXID and WTXID by repeatedly generating signatures. Even with all sorts of elliptic curve optimizations and porting the code to Rust, it still took over a month of grinding on my relatively recent CPU.
reply