Bitcoin Core 28.99.0
P2P Digital Currency
|
Options struct containing limit options for a CTxMemPool. More...
#include <mempool_limits.h>
Static Public Member Functions | |
static constexpr MemPoolLimits | NoLimits () |
Public Attributes | |
int64_t | ancestor_count {DEFAULT_ANCESTOR_LIMIT} |
The maximum allowed number of transactions in a package including the entry and its ancestors. More... | |
int64_t | ancestor_size_vbytes {DEFAULT_ANCESTOR_SIZE_LIMIT_KVB * 1'000} |
The maximum allowed size in virtual bytes of an entry and its ancestors within a package. More... | |
int64_t | descendant_count {DEFAULT_DESCENDANT_LIMIT} |
The maximum allowed number of transactions in a package including the entry and its descendants. More... | |
int64_t | descendant_size_vbytes {DEFAULT_DESCENDANT_SIZE_LIMIT_KVB * 1'000} |
The maximum allowed size in virtual bytes of an entry and its descendants within a package. More... | |
Options struct containing limit options for 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::Limits.
Definition at line 18 of file mempool_limits.h.
|
inlinestaticconstexpr |
Definition at line 31 of file mempool_limits.h.
int64_t kernel::MemPoolLimits::ancestor_count {DEFAULT_ANCESTOR_LIMIT} |
The maximum allowed number of transactions in a package including the entry and its ancestors.
Definition at line 20 of file mempool_limits.h.
int64_t kernel::MemPoolLimits::ancestor_size_vbytes {DEFAULT_ANCESTOR_SIZE_LIMIT_KVB * 1'000} |
The maximum allowed size in virtual bytes of an entry and its ancestors within a package.
Definition at line 22 of file mempool_limits.h.
int64_t kernel::MemPoolLimits::descendant_count {DEFAULT_DESCENDANT_LIMIT} |
The maximum allowed number of transactions in a package including the entry and its descendants.
Definition at line 24 of file mempool_limits.h.
int64_t kernel::MemPoolLimits::descendant_size_vbytes {DEFAULT_DESCENDANT_SIZE_LIMIT_KVB * 1'000} |
The maximum allowed size in virtual bytes of an entry and its descendants within a package.
Definition at line 26 of file mempool_limits.h.