Bitcoin Core  25.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 <script/standard.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...
 

Variable Documentation

◆ 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 22 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 20 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 24 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 26 of file mempool_options.h.