13 #ifndef BITCOIN_NODE_TYPES_H 14 #define BITCOIN_NODE_TYPES_H 24 #include <util/time.h> 177 #endif // BITCOIN_NODE_TYPES_H
TxBroadcast
How to broadcast a local transaction.
std::vector< CTxOut > required_outputs
Omit the mempool and directly send the transaction via a few dedicated connections to peers on privac...
CAmount block_reward_remaining
Block subsidy plus fees, minus any non-zero required_outputs.
std::optional< uint256 > witness
The first (and only) witness stack element of the coinbase input.
size_t coinbase_output_max_additional_sigops
The maximum additional sigops which the pool will add in coinbase transaction outputs.
Add the transaction to the mempool and broadcast to all peers for which tx relay is enabled...
int64_t CAmount
Amount in satoshis (Can be negative)
CAmount fee_threshold
The wait method will not return a new template unless it has fees at least fee_threshold sats higher ...
CScript script_sig_prefix
Prefix which needs to be placed at the beginning of the scriptSig.
Template containing all coinbase transaction fields that are set by our miner code.
static constexpr unsigned int DEFAULT_COINBASE_OUTPUT_MAX_ADDITIONAL_SIGOPS
Default sigops cost to reserve for coinbase transaction outputs when creating block templates...
CScript coinbase_output_script
Script to put in the coinbase transaction.
Serialized script, used inside transaction inputs and outputs.
bool use_mempool
Set false to omit mempool transactions.
bool check_pow
Set false to omit the proof-of-work check.
Add the transaction to the mempool, but don't broadcast to anybody.
static constexpr CAmount MAX_MONEY
No amount larger than this (in satoshi) is valid.
bool check_merkle_root
Set false to omit the merkle root check.
bool include_dummy_extranonce
Whether to include an OP_0 as a dummy extraNonce in the template's coinbase.
std::chrono::duration< double, std::chrono::milliseconds::period > MillisecondsDouble
MillisecondsDouble timeout
How long to wait before returning nullptr instead of a new template.
std::optional< size_t > block_reserved_weight
The default reserved weight for the fixed-size block header, transaction count and coinbase transacti...