diff options
author | fanquake <fanquake@gmail.com> | 2022-06-16 14:35:02 +0100 |
---|---|---|
committer | fanquake <fanquake@gmail.com> | 2022-06-20 10:02:59 +0100 |
commit | 9c94f3b3a71b6d1c30471cf6a2a4fbadcc351a3f (patch) | |
tree | 37af33f96f9d0679ec432e3315193a13547b0b63 /src/validation.cpp | |
parent | 39c60362536a868712f5b4c3ba8d04ef811e9e40 (diff) | |
download | bitcoin-9c94f3b3a71b6d1c30471cf6a2a4fbadcc351a3f.tar.xz |
refactor: move EXTRA_DESCENDANT_TX_SIZE_LIMIT to policy/policy.h
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 26ce286c63..b775c85912 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -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. */ |