@@ -60,35 +60,17 @@ static const unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT = 101;
60
60
static const unsigned int DEFAULT_DESCENDANT_LIMIT = 25 ;
61
61
/* * Default for -limitdescendantsize, maximum kilobytes of in-mempool descendants */
62
62
static const unsigned int DEFAULT_DESCENDANT_SIZE_LIMIT = 101 ;
63
- /* *
64
- * An extra transaction can be added to a package, as long as it only has one
65
- * ancestor and is no larger than this. Not really any reason to make this
66
- * configurable as it doesn't materially change DoS parameters.
67
- */
68
- static const unsigned int EXTRA_DESCENDANT_TX_SIZE_LIMIT = 10000 ;
69
63
/* * Default for -mempoolexpiry, expiration time for mempool transactions in hours */
70
64
static const unsigned int DEFAULT_MEMPOOL_EXPIRY = 336 ;
71
- /* * Maximum kilobytes for transactions to store for processing during reorg */
72
- static const unsigned int MAX_DISCONNECTED_TX_POOL_SIZE = 20000 ;
73
65
/* * The maximum size of a blk?????.dat file (since 0.8) */
74
66
static const unsigned int MAX_BLOCKFILE_SIZE = 0x8000000 ; // 128 MiB
75
- /* * The pre-allocation chunk size for blk?????.dat files (since 0.8) */
76
- static const unsigned int BLOCKFILE_CHUNK_SIZE = 0x1000000 ; // 16 MiB
77
- /* * The pre-allocation chunk size for rev?????.dat files (since 0.8) */
78
- static const unsigned int UNDOFILE_CHUNK_SIZE = 0x100000 ; // 1 MiB
79
67
80
68
/* * Maximum number of dedicated script-checking threads allowed */
81
69
static const int MAX_SCRIPTCHECK_THREADS = 15 ;
82
70
/* * -par default (number of script-checking threads, 0 = auto) */
83
71
static const int DEFAULT_SCRIPTCHECK_THREADS = 0 ;
84
- /* * Time to wait (in seconds) between writing blocks/block index to disk. */
85
- static const unsigned int DATABASE_WRITE_INTERVAL = 60 * 60 ;
86
- /* * Time to wait (in seconds) between flushing chainstate to disk. */
87
- static const unsigned int DATABASE_FLUSH_INTERVAL = 24 * 60 * 60 ;
88
72
89
73
static const int64_t DEFAULT_MAX_TIP_AGE = 24 * 60 * 60 ;
90
- /* * Maximum age of our tip in seconds for us to be considered current for fee estimation */
91
- static const int64_t MAX_FEE_ESTIMATION_TIP_AGE = 3 * 60 * 60 ;
92
74
93
75
static const bool DEFAULT_CHECKPOINTS_ENABLED = true ;
94
76
static const bool DEFAULT_TXINDEX = false ;
0 commit comments