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.
gArgs.AddArg("-onion=<ip:port>","Use separate SOCKS5 proxy to reach peers via Tor hidden services, set -noonion to disable (default: -proxy)",ArgsManager::ALLOW_ANY,OptionsCategory::CONNECTION);
gArgs.AddArg("-onlynet=<net>","Make outgoing connections only through network <net> (ipv4, ipv6 or onion). Incoming connections are not affected by this option. This option can be specified multiple times to allow multiple networks.",ArgsManager::ALLOW_ANY,OptionsCategory::CONNECTION);
gArgs.AddArg("-peerbloomfilters",strprintf("Support filtering of blocks and transaction with bloom filters (default: %u)",DEFAULT_PEERBLOOMFILTERS),ArgsManager::ALLOW_ANY,OptionsCategory::CONNECTION);
gArgs.AddArg("-peerblockfilters",strprintf("Serve compact block filters to peers per BIP 157 (default: %u)",DEFAULT_PEERBLOCKFILTERS),ArgsManager::ALLOW_ANY,OptionsCategory::CONNECTION);
gArgs.AddArg("-port=<port>",strprintf("Listen for connections on <port> (default: %u, testnet: %u, regtest: %u)",defaultChainParams->GetDefaultPort(),testnetChainParams->GetDefaultPort(),regtestChainParams->GetDefaultPort()),ArgsManager::ALLOW_ANY|ArgsManager::NETWORK_ONLY,OptionsCategory::CONNECTION);
gArgs.AddArg("-proxy=<ip:port>","Connect through SOCKS5 proxy, set -noproxy to disable (default: disabled)",ArgsManager::ALLOW_ANY,OptionsCategory::CONNECTION);