Let's use one simple general-purpose function rathern than five complex special-purpose ones.

This commit is contained in:
JoelKatz
2012-11-15 09:05:01 -08:00
parent 601db4491a
commit 5217c92053
2 changed files with 31 additions and 0 deletions

View File

@@ -46,6 +46,7 @@ public:
int getLoadRatio(bool overLoaded);
boost::unordered_map<uint256, currentValidationCount> getCurrentValidations(uint256 currentLedger);
std::list<SerializedValidation::pointer> getCurrentTrustedValidations();
void flush();
void sweep() { mValidations.sweep(); }