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/cryptonote_config.h | |
parent | Merge pull request #6057 (diff) | |
download | monero-70c9cd3c9cd052716c309a0bd9b77009318f4131.tar.xz |
Change to Tx diffusion (Dandelion++ fluff) instead of flooding
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r-- | src/cryptonote_config.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h index ca127c3ee..134b630f7 100644 --- a/src/cryptonote_config.h +++ b/src/cryptonote_config.h @@ -101,6 +101,9 @@ #define CRYPTONOTE_MEMPOOL_TX_LIVETIME (86400*3) //seconds, three days #define CRYPTONOTE_MEMPOOL_TX_FROM_ALT_BLOCK_LIVETIME 604800 //seconds, one week + +#define CRYPTONOTE_DANDELIONPP_FLUSH_AVERAGE 5 // seconds + // see src/cryptonote_protocol/levin_notify.cpp #define CRYPTONOTE_NOISE_MIN_EPOCH 5 // minutes #define CRYPTONOTE_NOISE_EPOCH_RANGE 30 // seconds |