Cosmetic.

This commit is contained in:
Arthur Britto
2012-07-04 01:17:20 -07:00
parent a96bfa616e
commit 3a4e4e5d6d
2 changed files with 2 additions and 3 deletions

View File

@@ -55,8 +55,6 @@ public:
std::vector<std::string> VALIDATORS; // Validators from newcoind.cfg.
std::vector<std::string> IPS; // Peer IPs from newcoind.cfg.
// Network parameters
int NETWORK_START_TIME; // The Unix time we start ledger 0.
int TRANSACTION_FEE_BASE;
@@ -89,7 +87,6 @@ public:
std::string RPC_PASSWORD;
bool RPC_ALLOW_REMOTE;
// Validation
NewcoinAddress VALIDATION_SEED;

View File

@@ -506,6 +506,8 @@ public:
int getNodeType() const { return mType; }
bool isAccount() const { return mType == typeAccount; }
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; }
void setType(int type) { mType = type; }