Make sure all fee schedule changes are reported to clients.

This commit is contained in:
JoelKatz
2013-02-11 14:50:15 -08:00
parent 4261b1c2d0
commit d0e85ff4b4
4 changed files with 34 additions and 13 deletions

View File

@@ -116,6 +116,9 @@ protected:
boost::recursive_mutex mWantedHashLock;
boost::unordered_set<uint256> mWantedHashes;
uint32 mLastLoadBase;
uint32 mLastLoadFactor;
void setMode(OperatingMode);
Json::Value transJson(const SerializedTransaction& stTxn, TER terResult, bool bAccepted, Ledger::ref lpCurrent, const std::string& strType);
@@ -257,6 +260,7 @@ public:
std::list<LedgerProposal::pointer> >& peekStoredProposals() { return mStoredProposals; }
void storeProposal(LedgerProposal::ref proposal, const RippleAddress& peerPublic);
uint256 getConsensusLCL();
void reportFeeChange();
bool addWantedHash(const uint256& h);
bool isWantedHash(const uint256& h, bool remove);