Begin work on fetch_info command.

This commit is contained in:
JoelKatz
2013-07-23 08:58:53 -07:00
parent 286158137e
commit 80db6e1228
9 changed files with 86 additions and 0 deletions

View File

@@ -1511,6 +1511,16 @@ Json::Value NetworkOPs::getServerInfo (bool human, bool admin)
return info;
}
void NetworkOPs::clearLedgerFetch ()
{
getApp().getInboundLedgers().clearFailures();
}
Json::Value NetworkOPs::getLedgerFetchInfo ()
{
return getApp().getInboundLedgers().getInfo();
}
//
// Monitoring: publisher side
//