mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Work toward policy based network connectivity.
This commit is contained in:
16
src/Config.h
16
src/Config.h
@@ -1,4 +1,11 @@
|
||||
#include "string"
|
||||
#ifndef __CONFIG__
|
||||
#define __CONFIG__
|
||||
|
||||
#include <string>
|
||||
|
||||
#define SYSTEM_NAME "newcoin"
|
||||
|
||||
const int SYSTEM_PEER_PORT=6561;
|
||||
|
||||
class Config
|
||||
{
|
||||
@@ -8,9 +15,7 @@ public:
|
||||
std::string VERSION_STR;
|
||||
|
||||
// network parameters
|
||||
// std::string NETWORK_ID;
|
||||
// std::string NETWORK_DNS_SEEDS;
|
||||
int NETWORK_START_TIME; // The Unix time we start ledger 0
|
||||
int NETWORK_START_TIME; // The Unix time we start ledger 0
|
||||
int TRANSACTION_FEE_BASE;
|
||||
int LEDGER_SECONDS;
|
||||
int LEDGER_PROPOSAL_DELAY_SECONDS;
|
||||
@@ -28,8 +33,6 @@ public:
|
||||
// bool NODE_DUMB; // we are a 'dumb' client
|
||||
// bool NODE_SMART; // we offer services to 'dumb' clients
|
||||
|
||||
// std::string HANKO_PRIVATE;
|
||||
|
||||
// RPC parameters
|
||||
std::string RPC_IP;
|
||||
int RPC_PORT;
|
||||
@@ -48,3 +51,4 @@ public:
|
||||
};
|
||||
|
||||
extern Config theConfig;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user