You, sir, deserve 0.7 BTC! 0.5 for the bounty and a tip for providing lots of great reference code.
Much appreciated. This is an independent project for the time being, so every donation helps convince my wife I'm not wasting my time! 8^) [BTW the donation address is at the top of the README]
A request: please add and commit that to your git repo so that it is easier for others to find in the future. That will be most helpful!
I'll put a link to it in the README... I'd prefer to keep the code itself free of any distractions. Something like it should go into unit tests when someone gets around to writing some. 8^)
By the way, did you just make up that block? What block has only 3 transactions? And lastly, when you say "reversed", are you really just talking about switching the byte order to little-endian? Or is this is a different kind of reversal?
Nah, I just clicked a few blocks back in the block browser (try
http://localhost:8380/admin/) until I found one small enough to include in the file.
The hash strings as seen on block explorer are byte-reversed. I think it's because the bitcoin authors think of hashes as (litte-endian) numbers. I tend to think of hashes as strings (since every hash library does), and like to keep them oriented as I'd see them on the wire. Less confusing IMHO.