Move WITNESS_CACHE_SIZE

This commit is contained in:
jl777
2019-01-09 02:32:11 -11:00
parent 9040d03af6
commit 93b616becd
3 changed files with 2 additions and 3 deletions

View File

@@ -60,8 +60,7 @@ static const unsigned int MAX_FREE_TRANSACTION_CREATE_SIZE = 1000;
//! Size of witness cache
// Should be large enough that we can expect not to reorg beyond our cache
// unless there is some exceptional network disruption.
#define _COINBASE_MATURITY 100
unsigned int WITNESS_CACHE_SIZE = _COINBASE_MATURITY+10;
extern unsigned int WITNESS_CACHE_SIZE;
//! Size of HD seed in bytes
static const size_t HD_WALLET_SEED_LENGTH = 32;