Bitcoin Core  26.99.0
P2P Digital Currency
Classes | Namespaces | Variables
mempool_options.h File Reference
#include <kernel/mempool_limits.h>
#include <policy/feerate.h>
#include <policy/policy.h>
#include <chrono>
#include <cstdint>
#include <optional>
Include dependency graph for mempool_options.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  kernel::MemPoolOptions
 Options struct containing options for constructing a CTxMemPool. More...
 

Namespaces

 kernel
 

Variables

static constexpr unsigned int DEFAULT_MAX_MEMPOOL_SIZE_MB {300}
 Default for -maxmempool, maximum megabytes of mempool memory usage. More...
 
static constexpr unsigned int DEFAULT_BLOCKSONLY_MAX_MEMPOOL_SIZE_MB {5}
 Default for -maxmempool when blocksonly is set. More...
 
static constexpr unsigned int DEFAULT_MEMPOOL_EXPIRY_HOURS {336}
 Default for -mempoolexpiry, expiration time for mempool transactions in hours. More...
 
static constexpr bool DEFAULT_MEMPOOL_FULL_RBF {false}
 Default for -mempoolfullrbf, if the transaction replaceability signaling is ignored. More...
 
static constexpr bool DEFAULT_PERSIST_V1_DAT {false}
 Whether to fall back to legacy V1 serialization when writing mempool.dat. More...
 
static constexpr bool DEFAULT_ACCEPT_NON_STD_TXN {false}
 Default for -acceptnonstdtxn. More...
 

Variable Documentation

◆ DEFAULT_ACCEPT_NON_STD_TXN

constexpr bool DEFAULT_ACCEPT_NON_STD_TXN {false}
staticconstexpr

Default for -acceptnonstdtxn.

Definition at line 27 of file mempool_options.h.

◆ DEFAULT_BLOCKSONLY_MAX_MEMPOOL_SIZE_MB

constexpr unsigned int DEFAULT_BLOCKSONLY_MAX_MEMPOOL_SIZE_MB {5}
staticconstexpr

Default for -maxmempool when blocksonly is set.

Definition at line 19 of file mempool_options.h.

◆ DEFAULT_MAX_MEMPOOL_SIZE_MB

constexpr unsigned int DEFAULT_MAX_MEMPOOL_SIZE_MB {300}
staticconstexpr

Default for -maxmempool, maximum megabytes of mempool memory usage.

Definition at line 17 of file mempool_options.h.

◆ DEFAULT_MEMPOOL_EXPIRY_HOURS

constexpr unsigned int DEFAULT_MEMPOOL_EXPIRY_HOURS {336}
staticconstexpr

Default for -mempoolexpiry, expiration time for mempool transactions in hours.

Definition at line 21 of file mempool_options.h.

◆ DEFAULT_MEMPOOL_FULL_RBF

constexpr bool DEFAULT_MEMPOOL_FULL_RBF {false}
staticconstexpr

Default for -mempoolfullrbf, if the transaction replaceability signaling is ignored.

Definition at line 23 of file mempool_options.h.

◆ DEFAULT_PERSIST_V1_DAT

constexpr bool DEFAULT_PERSIST_V1_DAT {false}
staticconstexpr

Whether to fall back to legacy V1 serialization when writing mempool.dat.

Definition at line 25 of file mempool_options.h.