Bitcoin Core 32.99.0
P2P Digital Currency
Loading...
Searching...
No Matches
mempool_limits.h
Go to the documentation of this file.
1// Copyright (c) 2022-present The Bitcoin Core developers
2// Distributed under the MIT software license, see the accompanying
3// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4#ifndef BITCOIN_KERNEL_MEMPOOL_LIMITS_H
5#define BITCOIN_KERNEL_MEMPOOL_LIMITS_H
6
7#include <policy/policy.h>
8
9#include <cstdint>
10
11namespace kernel {
28} // namespace kernel
29
30#endif // BITCOIN_KERNEL_MEMPOOL_LIMITS_H
constexpr unsigned int DEFAULT_DESCENDANT_LIMIT
Default for -limitdescendantcount, max number of in-mempool descendants.
Definition policy.h:78
constexpr unsigned int DEFAULT_CLUSTER_SIZE_LIMIT_KVB
Maximum size of cluster in virtual kilobytes.
Definition policy.h:74
constexpr unsigned int DEFAULT_ANCESTOR_LIMIT
Default for -limitancestorcount, max number of in-mempool ancestors.
Definition policy.h:76
constexpr unsigned int DEFAULT_CLUSTER_LIMIT
Maximum number of transactions per cluster (default)
Definition policy.h:72
Options struct containing limit options for a CTxMemPool.
int64_t descendant_count
The maximum allowed number of transactions in a package including the entry and its descendants.
int64_t ancestor_count
The maximum allowed number of transactions in a package including the entry and its ancestors.
unsigned cluster_count
The maximum number of transactions in a cluster.
int64_t cluster_size_vbytes
The maximum allowed size in virtual bytes of a cluster.
constexpr auto Ticks(Dur2 d)
Helper to count the seconds of a duration/time_point.
Definition time.h:82