aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.h
diff options
context:
space:
mode:
authorJim Posen <[email protected]>2020-05-04 13:45:41 -0400
committerJohn Newbery <[email protected]>2020-05-08 16:36:18 -0400
commit9ccaaba11e94571fe984857494042ac292c17156 (patch)
treef21a5d9dacdcd034f3540910a37f791097dffbe9 /src/net_processing.h
parentMerge #16224: gui: Bilingual GUI error messages (diff)
downloaddiscoin-9ccaaba11e94571fe984857494042ac292c17156.tar.xz
discoin-9ccaaba11e94571fe984857494042ac292c17156.zip
[init] Add -peerblockfilters option
When a node is configured with --blockfilterindex=basic and -peerblockfilters it can serve compact block filters to its peers. This commit adds the configuration option handling. Future commits add compact block serving and service bits signaling.
Diffstat (limited to 'src/net_processing.h')
-rw-r--r--src/net_processing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net_processing.h b/src/net_processing.h
index a85d5e7c7..4033c85d0 100644
--- a/src/net_processing.h
+++ b/src/net_processing.h
@@ -21,6 +21,7 @@ static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100;
/** Default number of orphan+recently-replaced txn to keep around for block reconstruction */
static const unsigned int DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN = 100;
static const bool DEFAULT_PEERBLOOMFILTERS = false;
+static const bool DEFAULT_PEERBLOCKFILTERS = false;
class PeerLogicValidation final : public CValidationInterface, public NetEventsInterface {
private: