mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 11:05:54 +00:00
Begin merging this code.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user