Merged mining specification

From Bitcoin Wiki
Revision as of 19:20, 11 October 2011 by Luke-jr (talk | contribs) (Created page with "== Aux proof-of-work == {|class="wikitable" ! Field Size !! Description !! Data type !! Comments |- | ? || txns || txn || Coinbase transaction l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Aux proof-of-work

Field Size Description Data type Comments
? txns txn Coinbase transaction linking the aux to its parent block
? merkle_link mrkllink The merkle path linking the coinbase (above) to its block
? aux_branch_count var_int Number of merkle branches linking this aux chains to the aux root
32* aux_branch[] char[32] Linking aux merkle branches
4 index int32_t Index of "this" block chain in the aux chain list
80 parent_block block header Parent block header

Merkle link

Field Size Description Data type Comments
32 block_hash char[32] Hash of the block header
? branch_count var_int The number of links to bring the transaction to the block's merkle root
32* branch[] char[32] Linking merkle branches
4 index int32_t Index of this transaction in the merkle tree