mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Load the wallet, setup the root ledger.
This commit is contained in:
@@ -80,7 +80,6 @@ void Application::run()
|
|||||||
mConnectionPool.connectToNetwork(mKnownNodes, mIOService);
|
mConnectionPool.connectToNetwork(mKnownNodes, mIOService);
|
||||||
mTimingService.start(mIOService);
|
mTimingService.start(mIOService);
|
||||||
std::cout << "Before Run." << std::endl;
|
std::cout << "Before Run." << std::endl;
|
||||||
mIOService.run(); // This blocks
|
|
||||||
|
|
||||||
// TEMPORARY CODE
|
// TEMPORARY CODE
|
||||||
uint160 rootFamily=mWallet.addFamily("This is my payphrase.", true);
|
uint160 rootFamily=mWallet.addFamily("This is my payphrase.", true);
|
||||||
@@ -96,9 +95,13 @@ void Application::run()
|
|||||||
mMasterLedger.pushLedger(secondLedger);
|
mMasterLedger.pushLedger(secondLedger);
|
||||||
mMasterLedger.setSynced();
|
mMasterLedger.setSynced();
|
||||||
// temporary
|
// temporary
|
||||||
return;
|
|
||||||
mWallet.load();
|
mWallet.load();
|
||||||
|
|
||||||
|
// temporary
|
||||||
|
mIOService.run(); // This blocks
|
||||||
|
return;
|
||||||
|
|
||||||
//BOOST_LOG_TRIVIAL(info) << "Done.";
|
//BOOST_LOG_TRIVIAL(info) << "Done.";
|
||||||
std::cout << "Done." << std::endl;
|
std::cout << "Done." << std::endl;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user