programmingbitcoin
programmingbitcoin copied to clipboard
chapter 11 mistake
"HOP (13) is given, so the flag is 1 and its hash is the final hash in the hashes field." --> flag is 0 for given not 1
you have it correct in bits fields [1, 0, 1, 1, 0, 1, 1, 0, 1, 1, 0, 1, 0] where last one is correctly zero