Bitcoin ABC 0.30.5
P2P Digital Currency
|
Options struct containing options for constructing a CTxMemPool. More...
#include <mempool_options.h>
Public Attributes | |
int | check_ratio {0} |
The ratio used to determine how often sanity checks will run. More... | |
int64_t | max_size_bytes {DEFAULT_MAX_MEMPOOL_SIZE_MB * 1'000'000} |
std::chrono::seconds | expiry |
CFeeRate | min_relay_feerate {DEFAULT_MIN_RELAY_TX_FEE_PER_KB} |
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 |
A data carrying output is an unspendable output containing data. More... | |
bool | permit_bare_multisig {DEFAULT_PERMIT_BAREMULTISIG} |
bool | require_standard {true} |
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 28 of file mempool_options.h.
int kernel::MemPoolOptions::check_ratio {0} |
The ratio used to determine how often sanity checks will run.
Definition at line 30 of file mempool_options.h.
CFeeRate kernel::MemPoolOptions::dust_relay_feerate {DUST_RELAY_TX_FEE} |
Definition at line 39 of file mempool_options.h.
std::chrono::seconds kernel::MemPoolOptions::expiry |
Definition at line 32 of file mempool_options.h.
std::optional<unsigned> kernel::MemPoolOptions::max_datacarrier_bytes |
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 48 of file mempool_options.h.
int64_t kernel::MemPoolOptions::max_size_bytes {DEFAULT_MAX_MEMPOOL_SIZE_MB * 1'000'000} |
Definition at line 31 of file mempool_options.h.
CFeeRate kernel::MemPoolOptions::min_relay_feerate {DEFAULT_MIN_RELAY_TX_FEE_PER_KB} |
A fee rate smaller than this is considered zero fee (for relaying, mining and transaction creation)
Definition at line 38 of file mempool_options.h.
bool kernel::MemPoolOptions::permit_bare_multisig {DEFAULT_PERMIT_BAREMULTISIG} |
Definition at line 51 of file mempool_options.h.
bool kernel::MemPoolOptions::require_standard {true} |
Definition at line 52 of file mempool_options.h.