aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_config.h
diff options
context:
space:
mode:
authorThomas Winget <tewinget@gmail.com>2014-12-15 17:23:42 -0500
committerThomas Winget <tewinget@gmail.com>2014-12-15 17:23:42 -0500
commit4a53898764d961374f0874ab9029e9b7c2897b75 (patch)
treef3a25915c10b024df28adf30b27310503618d4a6 /src/cryptonote_config.h
parentMerge pull request #203 (diff)
downloadmonero-4a53898764d961374f0874ab9029e9b7c2897b75.tar.xz
DNS seed timeout and fallback
Diffstat (limited to 'src/cryptonote_config.h')
-rw-r--r--src/cryptonote_config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cryptonote_config.h b/src/cryptonote_config.h
index 7864b974e..1d4efe8b4 100644
--- a/src/cryptonote_config.h
+++ b/src/cryptonote_config.h
@@ -33,6 +33,8 @@
#include <string>
#include <boost/uuid/uuid.hpp>
+#define CRYPTONOTE_DNS_TIMEOUT_MS 20000
+
#define CRYPTONOTE_MAX_BLOCK_NUMBER 500000000
#define CRYPTONOTE_MAX_BLOCK_SIZE 500000000 // block header blob limit, never used!
#define CRYPTONOTE_GETBLOCKTEMPLATE_MAX_BLOCK_SIZE 196608 //size of block (bytes) that is the maximum that miners will produce