Begin merging this code.

This commit is contained in:
JoelKatz
2011-12-13 12:17:51 -08:00
parent 5db7ba9d62
commit 263fe6f515
4 changed files with 55 additions and 109 deletions

View File

@@ -2,19 +2,8 @@
#include "Config.h"
#include "Application.h"
#include <string>
/*
Soon we should support saving the ledger in a real DB
For now save them all in
For all the various ledgers we can save just the delta from the combined ledger for that index.
*/
void LedgerHistory::load()
{
}
#if 0
bool LedgerHistory::loadLedger(const uint256& hash)
{
Ledger::pointer ledger=Ledger::pointer(new Ledger());
@@ -68,3 +57,4 @@ Ledger::pointer LedgerHistory::getLedger(const uint256& hash)
if(loadLedger(hash)) return(mAllLedgers[hash]);
return(Ledger::pointer());
}
#endif