Extending this question I am interested in parsing the
Here is how the
extra looks like:
ix value byte 0 1 01 1 73 49 ... 32 230 e6 33 4 04 34 4 04 35 35 23 36 167 a7 ... 161 86 56 162 148 94
ix is the 0-based index of the particular byte/value in the
extra part. In total there are 163 bytes.
First byte (index 0) means next 32 bytes will be the transaction public key (
R in the cryptonote paper). This moves us onto position
33 which is where the
Next byte is
\x04 which,I assume, is as a varint telling us that there are 4 extra pubkeys (we know each is 32B). This means we stop parsing at position 162 (the last byte of the extra field).
This seems to make sense, but I'd like to double check that it's the correct way to parse it.
For the sake of completeness here is the whole hexlified extra field (block 282032, transaction 1 on current stagenet)