aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/blockchain_db.cpp
diff options
context:
space:
mode:
authorLee Clagett <code@leeclagett.com>2019-10-27 22:32:04 +0000
committerLee Clagett <code@leeclagett.com>2019-11-04 09:23:20 +0000
commit70c9cd3c9cd052716c309a0bd9b77009318f4131 (patch)
tree9d7bc9f3b20cd15c93cda4b6607d0ae6435608b2 /src/blockchain_db/blockchain_db.cpp
parentMerge pull request #6057 (diff)
downloadmonero-70c9cd3c9cd052716c309a0bd9b77009318f4131.tar.xz
Change to Tx diffusion (Dandelion++ fluff) instead of flooding
Diffstat (limited to 'src/blockchain_db/blockchain_db.cpp')
-rw-r--r--src/blockchain_db/blockchain_db.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/blockchain_db/blockchain_db.cpp b/src/blockchain_db/blockchain_db.cpp
index 5fec22d8d..1a6a19da5 100644
--- a/src/blockchain_db/blockchain_db.cpp
+++ b/src/blockchain_db/blockchain_db.cpp
@@ -67,7 +67,7 @@ bool matches_category(relay_method method, relay_category category) noexcept
case relay_method::local:
return false;
case relay_method::block:
- case relay_method::flood:
+ case relay_method::fluff:
return true;
case relay_method::none:
break;
@@ -90,7 +90,7 @@ void txpool_tx_meta_t::set_relay_method(relay_method method) noexcept
is_local = 1;
break;
default:
- case relay_method::flood:
+ case relay_method::fluff:
break;
case relay_method::block:
kept_by_block = 1;
@@ -106,7 +106,7 @@ relay_method txpool_tx_meta_t::get_relay_method() const noexcept
return relay_method::none;
if (is_local)
return relay_method::local;
- return relay_method::flood;
+ return relay_method::fluff;
}
const command_line::arg_descriptor<std::string> arg_db_sync_mode = {