DNS seed timeout and fallback

This commit is contained in:
Thomas Winget 2014-12-15 17:23:42 -05:00
parent f4675dc05d
commit 4a53898764
No known key found for this signature in database
GPG key ID: 58131A160789E630
2 changed files with 61 additions and 11 deletions

View file

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