mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Add configuration option peer_scan_interval_min.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user