-
asymptoticallyhi, i'm trying to parse a block (specifically the blocktemplate_blob from getblocktemplate) but i'm having a bit of trouble. i've checked the definitions in cryptonote_basic.h but i don't see what i'm missing
-
asymptotically
-
asymptoticallyi'm getting that there's 0 tx hashes at the end of the block, which doesn't make sense because there's a load of other junk left to parse/read
-
asymptoticallycan anyone tell what i'm doing wrong? thanks :)
-
moneromoooI think what you read as number of tx hashes is the rct signature type. Here, "none".
-
asymptoticallyahhh thank you, can't believe i've been looking just at transaction_prefix instead of transaction for the past 2 days :X
-
asymptoticallyhmm reading serialize_rctsig_base, it looks like it just returns after writing the type. but if i interpret the next bytes (9e6a...) as a varint, i get 13598 transaction hashes
-
moneromoooMaybe it's a big block :)
-
moneromoooThe first tx hash for that block starts with e6ad. So you seem to be one nybble out, oddly.
-
asymptoticallyhmm that seems to be me decoding it by hand. adding the ringCtType field to my decoder seems to have solved it
-
asymptoticallythank you for the help :)