aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_config.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-01-29 21:20:24 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-02-07 13:42:12 +0000
commitbc61ae69bfb20d2bdfa3d3716691e316bdbb6cb5 (patch)
tree99d8c5284cfbeda4f957c1c6381a8234cb0efcde /src/cryptonote_config.h
parenttxpool: increase unmined tx expiry to three days (diff)
downloadmonero-bc61ae69bfb20d2bdfa3d3716691e316bdbb6cb5.tar.xz
tx_pool: add a max pool size, settable with --max-txpool-size
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r--src/cryptonote_config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h
index 1e5dc6f4f..f9460e7db 100644
--- a/src/cryptonote_config.h
+++ b/src/cryptonote_config.h
@@ -138,6 +138,7 @@
#define HASH_OF_HASHES_STEP 256
+#define DEFAULT_TXPOOL_MAX_SIZE 648000000ull // 3 days at 300000, in bytes
// New constants are intended to go here
namespace config