diff options
author | selsta <selsta@sent.at> | 2020-10-19 21:02:59 +0200 |
---|---|---|
committer | selsta <selsta@sent.at> | 2020-11-02 17:26:02 +0100 |
commit | f55f3fe81c026fdb36a12c97584b3b1f660eacd7 (patch) | |
tree | 7bbdbd91ff915bd625103a7bf1c47021141d928e /src/p2p/net_node.cpp | |
parent | Merge pull request #6916 (diff) | |
download | monero-f55f3fe81c026fdb36a12c97584b3b1f660eacd7.tar.xz |
net_node: add --ban-list option
Diffstat (limited to '')
-rw-r--r-- | src/p2p/net_node.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/p2p/net_node.cpp b/src/p2p/net_node.cpp index 1c5dca0d7..aee1fa593 100644 --- a/src/p2p/net_node.cpp +++ b/src/p2p/net_node.cpp @@ -146,6 +146,7 @@ namespace nodetool const command_line::arg_descriptor<std::vector<std::string> > arg_p2p_seed_node = {"seed-node", "Connect to a node to retrieve peer addresses, and disconnect"}; const command_line::arg_descriptor<std::vector<std::string> > arg_tx_proxy = {"tx-proxy", "Send local txes through proxy: <network-type>,<socks-ip:port>[,max_connections][,disable_noise] i.e. \"tor,127.0.0.1:9050,100,disable_noise\""}; const command_line::arg_descriptor<std::vector<std::string> > arg_anonymous_inbound = {"anonymous-inbound", "<hidden-service-address>,<[bind-ip:]port>[,max_connections] i.e. \"x.onion,127.0.0.1:18083,100\""}; + const command_line::arg_descriptor<std::string> arg_ban_list = {"ban-list", "Specify ban list file, one IP address per line"}; const command_line::arg_descriptor<bool> arg_p2p_hide_my_port = {"hide-my-port", "Do not announce yourself as peerlist candidate", false, true}; const command_line::arg_descriptor<bool> arg_no_sync = {"no-sync", "Don't synchronize the blockchain with other peers", false}; |