Add a framework for detecting databases that need updating.

Put transaction from account_tx command in transaction application sequence.
CAUTION: This modifies your databases and will cause a delay on your next startup.
This commit is contained in:
JoelKatz
2013-04-01 19:03:28 -07:00
parent 1725b5df48
commit 5cc9314d03
12 changed files with 130 additions and 4 deletions

View File

@@ -143,6 +143,9 @@ void Application::setup()
mLedgerDB->getDB()->setupCheckpointing(&mJobQueue);
mHashNodeDB->getDB()->setupCheckpointing(&mJobQueue);
if (!theConfig.RUN_STANDALONE)
updateTables();
if (theConfig.START_UP == Config::FRESH)
{
cLog(lsINFO) << "Starting new Ledger";