mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 04:12:36 -03:00
refactor: Move DEFAULT_ANCESTOR_SIZE_LIMIT to policy/policy.h
This commit is contained in:
parent
da8d304960
commit
05fc5fdc13
2 changed files with 2 additions and 2 deletions
|
@ -59,6 +59,8 @@ static const unsigned int DUST_RELAY_TX_FEE = 3000;
|
|||
static const unsigned int DEFAULT_MIN_RELAY_TX_FEE = 1000;
|
||||
/** Default for -limitancestorcount, max number of in-mempool ancestors */
|
||||
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};
|
||||
/**
|
||||
* Standard script verification flags that standard transactions will comply
|
||||
* with. However scripts violating these flags may still be present in valid
|
||||
|
|
|
@ -59,8 +59,6 @@ namespace Consensus {
|
|||
struct Params;
|
||||
} // namespace Consensus
|
||||
|
||||
/** Default for -limitancestorsize, maximum kilobytes of tx + all in-mempool ancestors */
|
||||
static const unsigned int DEFAULT_ANCESTOR_SIZE_LIMIT = 101;
|
||||
/** Default for -limitdescendantcount, max number of in-mempool descendants */
|
||||
static const unsigned int DEFAULT_DESCENDANT_LIMIT = 25;
|
||||
/** Default for -limitdescendantsize, maximum kilobytes of in-mempool descendants */
|
||||
|
|
Loading…
Reference in a new issue