File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 99#include " net.h"
1010#include " validationinterface.h"
1111
12+ /* * Default for -maxorphantx, maximum number of orphan transactions kept in memory */
13+ static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100 ;
14+ /* * Expiration time for orphan transactions in seconds */
15+ static const int64_t ORPHAN_TX_EXPIRE_TIME = 20 * 60 ;
16+ /* * Minimum time between orphan transactions expire time checks in seconds */
17+ static const int64_t ORPHAN_TX_EXPIRE_INTERVAL = 5 * 60 ;
18+
1219/* * Register with a network node to receive its signals */
1320void RegisterNodeSignals (CNodeSignals& nodeSignals);
1421/* * Unregister a network node */
Original file line number Diff line number Diff line change @@ -58,12 +58,6 @@ static const CAmount DEFAULT_TRANSACTION_MAXFEE = 0.1 * COIN;
5858static const CAmount HIGH_TX_FEE_PER_KB = 0.01 * COIN;
5959// ! -maxtxfee will warn if called with a higher fee than this amount (in satoshis)
6060static const CAmount HIGH_MAX_TX_FEE = 100 * HIGH_TX_FEE_PER_KB;
61- /* * Default for -maxorphantx, maximum number of orphan transactions kept in memory */
62- static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100 ;
63- /* * Expiration time for orphan transactions in seconds */
64- static const int64_t ORPHAN_TX_EXPIRE_TIME = 20 * 60 ;
65- /* * Minimum time between orphan transactions expire time checks in seconds */
66- static const int64_t ORPHAN_TX_EXPIRE_INTERVAL = 5 * 60 ;
6761/* * Default for -limitancestorcount, max number of in-mempool ancestors */
6862static const unsigned int DEFAULT_ANCESTOR_LIMIT = 25 ;
6963/* * Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool ancestors */
You can’t perform that action at this time.
0 commit comments