Common argument defaults for NODE_BLOOM stuff and -wallet

This commit is contained in:
Luke Dashjr
2016-02-11 06:35:25 +00:00
parent 3cd836c1d8
commit 1fb91b3496
3 changed files with 11 additions and 6 deletions

View File

@@ -101,6 +101,9 @@ static const bool DEFAULT_TESTSAFEMODE = false;
/** Maximum number of headers to announce when relaying blocks with headers message.*/
static const unsigned int MAX_BLOCKS_TO_ANNOUNCE = 8;
static const bool DEFAULT_PEERBLOOMFILTERS = true;
static const bool DEFAULT_ENFORCENODEBLOOM = false;
struct BlockHasher
{
size_t operator()(const uint256& hash) const { return hash.GetCheapHash(); }