Construct a block assembler for a given chainstate and mempool.
Declared in <node/miner.h>
explicit
BlockAssembler(
Chainstate& chainstate,
CTxMemPool const* mempool,
BlockCreateOptions create_options);
| Name | Description |
|---|---|
| chainstate | The chainstate to build the block on top of. |
| mempool | The mempool to draw transactions from, or nullptr for an empty block. |
| create_options | Options controlling block-template creation. |