tx_pool: add a max pool size, settable with --max-txpool-size

This commit is contained in:
moneromooo-monero 2018-01-29 21:20:24 +00:00
parent 3b4e6b35b3
commit bc61ae69bf
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
4 changed files with 114 additions and 5 deletions

View file

@ -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