mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Cosmetic.
This commit is contained in:
@@ -55,8 +55,6 @@ public:
|
|||||||
std::vector<std::string> VALIDATORS; // Validators from newcoind.cfg.
|
std::vector<std::string> VALIDATORS; // Validators from newcoind.cfg.
|
||||||
std::vector<std::string> IPS; // Peer IPs from newcoind.cfg.
|
std::vector<std::string> IPS; // Peer IPs from newcoind.cfg.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Network parameters
|
// Network parameters
|
||||||
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 TRANSACTION_FEE_BASE;
|
||||||
@@ -89,7 +87,6 @@ public:
|
|||||||
std::string RPC_PASSWORD;
|
std::string RPC_PASSWORD;
|
||||||
bool RPC_ALLOW_REMOTE;
|
bool RPC_ALLOW_REMOTE;
|
||||||
|
|
||||||
|
|
||||||
// Validation
|
// Validation
|
||||||
NewcoinAddress VALIDATION_SEED;
|
NewcoinAddress VALIDATION_SEED;
|
||||||
|
|
||||||
|
|||||||
@@ -506,6 +506,8 @@ public:
|
|||||||
int getNodeType() const { return mType; }
|
int getNodeType() const { return mType; }
|
||||||
bool isAccount() const { return mType == typeAccount; }
|
bool isAccount() const { return mType == typeAccount; }
|
||||||
bool isOffer() const { return mType == typeOffer; }
|
bool isOffer() const { return mType == typeOffer; }
|
||||||
|
|
||||||
|
// Nodes are either an account ID or a offer prefix. Offer prefixs denote a class of offers.
|
||||||
const uint160& getNode() const { return mNode; }
|
const uint160& getNode() const { return mNode; }
|
||||||
|
|
||||||
void setType(int type) { mType = type; }
|
void setType(int type) { mType = type; }
|
||||||
|
|||||||
Reference in New Issue
Block a user