From 3a4e4e5d6d481e8b20fb1a87aea8c96f136185cb Mon Sep 17 00:00:00 2001 From: Arthur Britto Date: Wed, 4 Jul 2012 01:17:20 -0700 Subject: [PATCH] Cosmetic. --- src/Config.h | 3 --- src/SerializedTypes.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Config.h b/src/Config.h index 5985f79fab..d5fc3ad732 100644 --- a/src/Config.h +++ b/src/Config.h @@ -55,8 +55,6 @@ public: std::vector VALIDATORS; // Validators from newcoind.cfg. std::vector 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; diff --git a/src/SerializedTypes.h b/src/SerializedTypes.h index fb9a3b4e53..04462f2452 100644 --- a/src/SerializedTypes.h +++ b/src/SerializedTypes.h @@ -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; }