Introduce enum ServiceFlags for service flags

This commit is contained in:
Pieter Wuille
2016-06-08 19:12:22 +02:00
committed by lateminer
parent 645f26f52b
commit c043d2fedc
12 changed files with 92 additions and 84 deletions

View File

@@ -138,6 +138,8 @@ static const unsigned int MAX_BLOCKS_TO_ANNOUNCE = 8;
/** Maximum number of unconnecting headers announcements before DoS score */
static const int MAX_UNCONNECTING_HEADERS = 10;
static const bool DEFAULT_PEERBLOOMFILTERS = true;
struct BlockHasher
{
size_t operator()(const uint256& hash) const { return hash.GetCheapHash(); }