mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-28 16:36:04 +01:00
refactor: move EXTRA_DESCENDANT_TX_SIZE_LIMIT to policy/policy.h
This commit is contained in:
@@ -81,12 +81,6 @@ using node::UnlinkPrunedFiles;
|
||||
#define MICRO 0.000001
|
||||
#define MILLI 0.001
|
||||
|
||||
/**
|
||||
* An extra transaction can be added to a package, as long as it only has one
|
||||
* ancestor and is no larger than this. Not really any reason to make this
|
||||
* configurable as it doesn't materially change DoS parameters.
|
||||
*/
|
||||
static const unsigned int EXTRA_DESCENDANT_TX_SIZE_LIMIT = 10000;
|
||||
/** Maximum kilobytes for transactions to store for processing during reorg */
|
||||
static const unsigned int MAX_DISCONNECTED_TX_POOL_SIZE = 20000;
|
||||
/** Time to wait between writing blocks/block index to disk. */
|
||||
|
||||
Reference in New Issue
Block a user