Load the wallet, setup the root ledger.

This commit is contained in:
JoelKatz
2012-01-01 02:57:11 -08:00
parent 26bcde4d37
commit cc4db24956

View File

@@ -80,7 +80,6 @@ void Application::run()
mConnectionPool.connectToNetwork(mKnownNodes, mIOService);
mTimingService.start(mIOService);
std::cout << "Before Run." << std::endl;
mIOService.run(); // This blocks
// TEMPORARY CODE
uint160 rootFamily=mWallet.addFamily("This is my payphrase.", true);
@@ -96,9 +95,13 @@ void Application::run()
mMasterLedger.pushLedger(secondLedger);
mMasterLedger.setSynced();
// temporary
return;
mWallet.load();
// temporary
mIOService.run(); // This blocks
return;
//BOOST_LOG_TRIVIAL(info) << "Done.";
std::cout << "Done." << std::endl;
}