A candidate block together with the per‐transaction data needed to finalize it.
Synopsis
Declared in <node/miner.h>
struct CBlockTemplate;
Data Members
Name |
Description |
The block being assembled. |
|
The coinbase transaction fields set by the miner. |
|
Package fee rates, ordered by selection into the template. |
|
Fee of each transaction, excluding the coinbase. |
|
Sigops cost of each transaction, excluding the coinbase. |
Non-Member Functions
Name |
Description |
Return a new block template when fees rise to a certain threshold or after a new tip; return nullopt if timeout is reached. |
Created with MrDocs