Bitcoin ABC  0.24.7
P2P Digital Currency
mempool.h
Go to the documentation of this file.
1 // Copyright (c) 2020 The Bitcoin 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_POLICY_MEMPOOL_H
5 #define BITCOIN_POLICY_MEMPOOL_H
6 
7 #include <cstdint>
8 
9 class CBlockIndex;
10 namespace Consensus {
11 struct Params;
12 }
13 
15 static constexpr unsigned int DEFAULT_ANCESTOR_LIMIT = 50;
20 static constexpr unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT = 101;
22 static constexpr unsigned int DEFAULT_DESCENDANT_LIMIT = 50;
27 static const unsigned int DEFAULT_DESCENDANT_SIZE_LIMIT = 101;
28 
29 #endif // BITCOIN_POLICY_MEMPOOL_H
DEFAULT_DESCENDANT_LIMIT
static constexpr unsigned int DEFAULT_DESCENDANT_LIMIT
Default for -limitdescendantcount, max number of in-mempool descendants.
Definition: mempool.h:22
DEFAULT_ANCESTOR_SIZE_LIMIT
static constexpr unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT
Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool ancestors.
Definition: mempool.h:20
DEFAULT_DESCENDANT_SIZE_LIMIT
static const unsigned int DEFAULT_DESCENDANT_SIZE_LIMIT
Default for -limitdescendantsize, maximum kilobytes of in-mempool descendants.
Definition: mempool.h:27
Consensus
Definition: blockdb.h:10
Params
const CChainParams & Params()
Return the currently selected parameters.
Definition: chainparams.cpp:508
DEFAULT_ANCESTOR_LIMIT
static constexpr unsigned int DEFAULT_ANCESTOR_LIMIT
Default for -limitancestorcount, max number of in-mempool ancestors.
Definition: mempool.h:15
CBlockIndex
The block chain is a tree shaped structure starting with the genesis block at the root,...
Definition: blockindex.h:23