Bitcoin Core 28.99.0
P2P Digital Currency
|
#include <types.h>
Public Attributes | |
bool | use_mempool {true} |
Set false to omit mempool transactions. More... | |
size_t | coinbase_max_additional_weight {4000} |
The maximum additional weight which the pool will add to the coinbase scriptSig, witness and outputs. More... | |
size_t | coinbase_output_max_additional_sigops {400} |
The maximum additional sigops which the pool will add in coinbase transaction outputs. More... | |
CScript | coinbase_output_script {CScript() << OP_TRUE} |
Script to put in the coinbase transaction. More... | |
size_t node::BlockCreateOptions::coinbase_max_additional_weight {4000} |
size_t node::BlockCreateOptions::coinbase_output_max_additional_sigops {400} |
Script to put in the coinbase transaction.
The default is an anyone-can-spend dummy.
Should only be used for tests, when the default doesn't suffice.
Note that higher level code like the getblocktemplate RPC may omit the coinbase transaction entirely. It's instead constructed by pool software using fields like coinbasevalue, coinbaseaux and default_witness_commitment. This software typically also controls the payout outputs, even for solo mining.
The size and sigops are not checked against coinbase_max_additional_weight and coinbase_output_max_additional_sigops.
bool node::BlockCreateOptions::use_mempool {true} |