Generate a new block, without valid proof-of-work
Declared in <node/miner.h>
class BlockAssembler;
| Name | Description |
|---|---|
BlockAssembler [constructor] | Construct a block assembler for a given chainstate and mempool. |
CreateNewBlock | Construct a new block template |
| Name | Description |
|---|---|
m_last_block_num_txs | The number of transactions in the last assembled block (excluding coinbase transaction) |
m_last_block_weight | The weight of the last assembled block (including reserved weight for block header, txs count and coinbase tx) |