Skip to content

Block Header Binary Encoding

Lars Kuhtz edited this page Aug 21, 2019 · 30 revisions

BlockHeader Binary Format For 20 Chain Graph

defined in Chainweb.BlockHeader

Size Bytes Value
8 0-7 nonce
8 8-15 time
32 16-47 parent
110 48-157 adjacents
32 158-189 target
32 190-221 payload
4 222-225 chain
32 226-257 weight
8 258-265 height
4 266-269 version
12 270-281 miner
32 282-313 hash

total: 314 bytes

Adjacent Parents Record (length 20):

Bytes Value
0-1 length
2-107 adjacents

total: 110 bytes

Adjacent Parent:

Bytes Value
0-3 chain
4-35 hash

total: 36 bytes