diff options
author | Lee Clagett <code@leeclagett.com> | 2019-10-27 22:32:04 +0000 |
---|---|---|
committer | Lee Clagett <code@leeclagett.com> | 2019-11-04 09:23:20 +0000 |
commit | 70c9cd3c9cd052716c309a0bd9b77009318f4131 (patch) | |
tree | 9d7bc9f3b20cd15c93cda4b6607d0ae6435608b2 /src/p2p/net_node.cpp | |
parent | Merge pull request #6057 (diff) | |
download | monero-70c9cd3c9cd052716c309a0bd9b77009318f4131.tar.xz |
Change to Tx diffusion (Dandelion++ fluff) instead of flooding
Diffstat (limited to 'src/p2p/net_node.cpp')
-rw-r--r-- | src/p2p/net_node.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/p2p/net_node.cpp b/src/p2p/net_node.cpp index 58c1717e0..58c5706de 100644 --- a/src/p2p/net_node.cpp +++ b/src/p2p/net_node.cpp @@ -161,6 +161,10 @@ namespace nodetool const command_line::arg_descriptor<int64_t> arg_limit_rate_down = {"limit-rate-down", "set limit-rate-down [kB/s]", P2P_DEFAULT_LIMIT_RATE_DOWN}; const command_line::arg_descriptor<int64_t> arg_limit_rate = {"limit-rate", "set limit-rate [kB/s]", -1}; + const command_line::arg_descriptor<bool> arg_pad_transactions = { + "pad-transactions", "Pad relayed transactions to help defend against traffic volume analysis", false + }; + boost::optional<std::vector<proxy>> get_proxies(boost::program_options::variables_map const& vm) { namespace ip = boost::asio::ip; |