From a34aa4c187d854b410f04df639b19f4ef8e92078 Mon Sep 17 00:00:00 2001 From: fanquake Date: Thu, 16 Jun 2022 09:14:02 +0100 Subject: refactor: Move DEFAULT_DESCENDANT_LIMIT to policy/policy.h --- src/policy/policy.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/policy') diff --git a/src/policy/policy.h b/src/policy/policy.h index 213fd55745..3ed2949305 100644 --- a/src/policy/policy.h +++ b/src/policy/policy.h @@ -61,6 +61,8 @@ static const unsigned int DEFAULT_MIN_RELAY_TX_FEE = 1000; static constexpr unsigned int DEFAULT_ANCESTOR_LIMIT{25}; /** Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool ancestors */ 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}; /** * Standard script verification flags that standard transactions will comply * with. However scripts violating these flags may still be present in valid -- cgit v1.2.3