Bitcoin Core 28.99.0
P2P Digital Currency
|
Options struct containing options for constructing a CTxMemPool. More...
#include <mempool_options.h>
Public Attributes | |
int | check_ratio {0} |
int64_t | max_size_bytes {DEFAULT_MAX_MEMPOOL_SIZE_MB * 1'000'000} |
std::chrono::seconds | expiry {std::chrono::hours{DEFAULT_MEMPOOL_EXPIRY_HOURS}} |
CFeeRate | incremental_relay_feerate {DEFAULT_INCREMENTAL_RELAY_FEE} |
CFeeRate | min_relay_feerate {DEFAULT_MIN_RELAY_TX_FEE} |
A fee rate smaller than this is considered zero fee (for relaying, mining and transaction creation) More... | |
CFeeRate | dust_relay_feerate {DUST_RELAY_TX_FEE} |
std::optional< unsigned > | max_datacarrier_bytes {DEFAULT_ACCEPT_DATACARRIER ? std::optional{MAX_OP_RETURN_RELAY} : std::nullopt} |
A data carrying output is an unspendable output containing data. More... | |
bool | permit_bare_multisig {DEFAULT_PERMIT_BAREMULTISIG} |
bool | require_standard {true} |
bool | persist_v1_dat {DEFAULT_PERSIST_V1_DAT} |
MemPoolLimits | limits {} |
ValidationSignals * | signals {nullptr} |
Options struct containing options for constructing a CTxMemPool.
Default constructor populates the struct with sane default values which can be modified.
Most of the time, this struct should be referenced as CTxMemPool::Options.
Definition at line 37 of file mempool_options.h.
int kernel::MemPoolOptions::check_ratio {0} |
Definition at line 39 of file mempool_options.h.
CFeeRate kernel::MemPoolOptions::dust_relay_feerate {DUST_RELAY_TX_FEE} |
Definition at line 45 of file mempool_options.h.
std::chrono::seconds kernel::MemPoolOptions::expiry {std::chrono::hours{DEFAULT_MEMPOOL_EXPIRY_HOURS}} |
Definition at line 41 of file mempool_options.h.
CFeeRate kernel::MemPoolOptions::incremental_relay_feerate {DEFAULT_INCREMENTAL_RELAY_FEE} |
Definition at line 42 of file mempool_options.h.
MemPoolLimits kernel::MemPoolOptions::limits {} |
Definition at line 57 of file mempool_options.h.
std::optional<unsigned> kernel::MemPoolOptions::max_datacarrier_bytes {DEFAULT_ACCEPT_DATACARRIER ? std::optional{MAX_OP_RETURN_RELAY} : std::nullopt} |
A data carrying output is an unspendable output containing data.
The script type is designated as TxoutType::NULL_DATA.
Maximum size of TxoutType::NULL_DATA scripts that this node considers standard. If nullopt, any size is nonstandard.
Definition at line 53 of file mempool_options.h.
int64_t kernel::MemPoolOptions::max_size_bytes {DEFAULT_MAX_MEMPOOL_SIZE_MB * 1'000'000} |
Definition at line 40 of file mempool_options.h.
CFeeRate kernel::MemPoolOptions::min_relay_feerate {DEFAULT_MIN_RELAY_TX_FEE} |
A fee rate smaller than this is considered zero fee (for relaying, mining and transaction creation)
Definition at line 44 of file mempool_options.h.
bool kernel::MemPoolOptions::permit_bare_multisig {DEFAULT_PERMIT_BAREMULTISIG} |
Definition at line 54 of file mempool_options.h.
bool kernel::MemPoolOptions::persist_v1_dat {DEFAULT_PERSIST_V1_DAT} |
Definition at line 56 of file mempool_options.h.
bool kernel::MemPoolOptions::require_standard {true} |
Definition at line 55 of file mempool_options.h.
ValidationSignals* kernel::MemPoolOptions::signals {nullptr} |
Definition at line 59 of file mempool_options.h.