aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_config.h
diff options
context:
space:
mode:
authorAlexander Blair <snipa@jagtech.io>2020-01-24 20:06:34 -0800
committerAlexander Blair <snipa@jagtech.io>2020-01-24 20:06:34 -0800
commitd1b08c00cfa3e0a34baf329290ec5ada683ca845 (patch)
tree225f8037c9e89e8f2d71efa1ea4b2bb16b268221 /src/cryptonote_config.h
parentMerge pull request #6128 (diff)
parentChange to Tx diffusion (Dandelion++ fluff) instead of flooding (diff)
downloadmonero-d1b08c00cfa3e0a34baf329290ec5ada683ca845.tar.xz
Merge pull request #6146
70c9cd3c Change to Tx diffusion (Dandelion++ fluff) instead of flooding (Lee Clagett)
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r--src/cryptonote_config.h3
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