diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2015-06-27 19:21:41 +0000 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2015-11-28 18:47:29 +0100 |
commit | b966aa836a3bc5bfa1314248258308f0026d41bb (patch) | |
tree | 479a641f12deef9df483b368876cbd8ede3da5e5 /src/main.h | |
parent | 92aa7311d64cb1a0109d63d6bf7406c119bf94cd (diff) |
Constrain constant values to a single location in code
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h index f738e3eb57..5264e9219b 100644 --- a/src/main.h +++ b/src/main.h @@ -86,6 +86,13 @@ static const unsigned int DATABASE_WRITE_INTERVAL = 60 * 60; static const unsigned int DATABASE_FLUSH_INTERVAL = 24 * 60 * 60; /** Maximum length of reject messages. */ static const unsigned int MAX_REJECT_MESSAGE_LENGTH = 111; +static const unsigned int DEFAULT_LIMITFREERELAY = 15; +static const bool DEFAULT_RELAYPRIORITY = true; + +static const bool DEFAULT_TXINDEX = false; +static const unsigned int DEFAULT_BANSCORE_THRESHOLD = 100; + +static const bool DEFAULT_TESTSAFEMODE = false; struct BlockHasher { |