Finalize runs any post-transaction state modifications (e.g. block rewards) and assembles the final block. Note: The block header and state database might be updated to reflect any consensus rules that happen at finalization (e.g. block rewards).
(chain ChainReader, header *types.Header, state *state.StateDB, txs []*types.Transaction, uncles []*types.Header, receipts []*types.Receipt)
| 113 | // Note: The block header and state database might be updated to reflect any |
| 114 | // consensus rules that happen at finalization (e.g. block rewards). |
| 115 | Finalize(chain ChainReader, header *types.Header, state *state.StateDB, txs []*types.Transaction, |
| 116 | uncles []*types.Header, receipts []*types.Receipt) (*types.Block, error) |
| 117 | |
| 118 | // Seal generates a new block for the given input block with the local miner's |