Refactor NetworkOPs:

* Reduce public API
* Use LedgerMaster interface from RPC
* Remove fetch pack management to LedgerMaster
This commit is contained in:
Nik Bougalis
2015-06-30 18:27:05 -07:00
parent 163e8eb8fc
commit 761f218c0a
46 changed files with 552 additions and 609 deletions

View File

@@ -93,7 +93,8 @@ void startServer ()
Resource::Charge loadType = Resource::feeReferenceRPC;
RPC::Context context {
jvCommand, loadType, getApp().getOPs (), Role::ADMIN};
jvCommand, loadType, getApp().getOPs (),
getApp().getLedgerMaster(), Role::ADMIN};
Json::Value jvResult;
RPC::doCommand (context, jvResult);