Add configuration option peer_scan_interval_min.

This commit is contained in:
Arthur Britto
2012-04-30 13:20:54 -07:00
parent 8b40b7ad00
commit 76930ab175
2 changed files with 9 additions and 0 deletions

View File

@@ -10,6 +10,9 @@ const int SYSTEM_PEER_PORT=6561;
// Allow anonymous DH.
#define DEFAULT_PEER_SSL_CIPHER_LIST "ALL:!LOW:!EXP:!MD5:@STRENGTH"
// 1 hour.
#define DEFAULT_PEER_SCAN_INTERVAL_MIN (60*60)
class Config
{
public:
@@ -46,6 +49,7 @@ public:
std::string VALIDATION_KEY;
std::string PEER_SSL_CIPHER_LIST;
int PEER_SCAN_INTERVAL_MIN;
// configuration parameters
std::string DATA_DIR;