aboutsummaryrefslogtreecommitdiff
path: root/src/policy
diff options
context:
space:
mode:
authorfanquake <fanquake@gmail.com>2022-06-16 09:18:36 +0100
committerfanquake <fanquake@gmail.com>2022-06-20 10:02:58 +0100
commit62d56bb714e98c54051f8564991b2748efa1737c (patch)
tree06dc6adfa17b30e5fa6448dc419ef65ffef4185e /src/policy
parenta34aa4c187d854b410f04df639b19f4ef8e92078 (diff)
downloadbitcoin-62d56bb714e98c54051f8564991b2748efa1737c.tar.xz
refactor: Move DEFAULT_DESCENDANT_SIZE_LIMIT to policy/policy.h
Diffstat (limited to 'src/policy')
-rw-r--r--src/policy/policy.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/policy/policy.h b/src/policy/policy.h
index 3ed2949305..fda80aa239 100644
--- a/src/policy/policy.h
+++ b/src/policy/policy.h
@@ -63,6 +63,8 @@ static constexpr unsigned int DEFAULT_ANCESTOR_LIMIT{25};
static constexpr unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT{101};
/** Default for -limitdescendantcount, max number of in-mempool descendants */
static constexpr unsigned int DEFAULT_DESCENDANT_LIMIT{25};
+/** Default for -limitdescendantsize, maximum kilobytes of in-mempool descendants */
+static constexpr unsigned int DEFAULT_DESCENDANT_SIZE_LIMIT{101};
/**
* Standard script verification flags that standard transactions will comply
* with. However scripts violating these flags may still be present in valid