From f81b533bb539c5815227872d51214bad4f93d8c1 Mon Sep 17 00:00:00 2001 From: Sjors Provoost Date: Thu, 22 Aug 2019 17:34:58 +0200 Subject: [PATCH] [doc] add hex equivalent for flags --- main.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/main.cpp b/main.cpp index 6c246aa..9194aaf 100644 --- a/main.cpp +++ b/main.cpp @@ -147,16 +147,16 @@ public: } } if (filter_whitelist.empty()) { - filter_whitelist.insert(NODE_NETWORK); - filter_whitelist.insert(NODE_NETWORK | NODE_BLOOM); - filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS); - filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS | NODE_COMPACT_FILTERS); - filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS | NODE_BLOOM); - filter_whitelist.insert(NODE_NETWORK_LIMITED); - filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_BLOOM); - filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS); - filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS | NODE_COMPACT_FILTERS); - filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS | NODE_BLOOM); + filter_whitelist.insert(NODE_NETWORK); // x1 + filter_whitelist.insert(NODE_NETWORK | NODE_BLOOM); // x5 + filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS); // x9 + filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS | NODE_COMPACT_FILTERS); // x49 + filter_whitelist.insert(NODE_NETWORK | NODE_WITNESS | NODE_BLOOM); // xd + filter_whitelist.insert(NODE_NETWORK_LIMITED); // x400 + filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_BLOOM); // x404 + filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS); // x408 + filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS | NODE_COMPACT_FILTERS); // x448 + filter_whitelist.insert(NODE_NETWORK_LIMITED | NODE_WITNESS | NODE_BLOOM); // x40c } if (host != NULL && ns == NULL) showHelp = true; if (showHelp) fprintf(stderr, help, argv[0]);