This commit is contained in:
jed
2011-10-14 11:39:06 -07:00
commit a8e8613475
112 changed files with 25368 additions and 0 deletions

21
LedgerHistory.h Normal file
View File

@@ -0,0 +1,21 @@
#ifndef __LEDGERHISTORY__
#define __LEDGERHISTORY__
#include "Ledger.h"
/*
This is all the history that you know of.
*/
class LedgerHistory
{
std::map<uint64, Ledger::pointer> mLedgers;
bool loadLedger(uint64 index);
public:
void load();
void addLedger(Ledger::pointer ledger);
Ledger::pointer getLedger(uint64 index);
};
#endif