Add RPC "accept_ledger" function which processes all pending transactions (in standalone mode only)

and closes the ledger, opening a new one. The sequence number of the new open ledger is returned.
This commit is contained in:
JoelKatz
2012-10-08 20:02:52 -07:00
parent 49e440c6e4
commit 6f2e4b8172
8 changed files with 54 additions and 17 deletions

View File

@@ -162,7 +162,6 @@ void Application::run()
{
Log(lsWARNING) << "Running in standalone mode";
mNetOps.setStandAlone();
mMasterLedger.runStandAlone();
}
else
mNetOps.setStateTimer();