The following workflows are supported for blocks.
Incremental creation
- Initialize Block -
Header.from_parent(...):coinbaseparent_hashdifficultyblock_numbergas_limittimestamp
- Apply Transaction(s) -
Block.apply_transaction(...): - Mine Block -
Block.mine(...):uncles_hashstate_roottransaction_rootreceipts_rootbloomgas_usedextra_datamix_hashnonce
(This is actually just a special case of use case #1.)
Full ingestion of a complete block.