Charge pathfinding consumers per source currency (RIPD-1019):

The IP address used to perform pathfinding operations is now charged an
additional resource increment for each source currency in the path set.

* NOTE: This charge is a local resource charge, not a transaction fee
  charge.
This commit is contained in:
Miguel Portilla
2016-03-08 13:44:39 -05:00
committed by seelabs
parent 48d28826d0
commit b3f5986c83
11 changed files with 58 additions and 24 deletions

View File

@@ -366,7 +366,7 @@ ServerHandlerImp::processRequest (Port const& port,
auto const start (std::chrono::high_resolution_clock::now ());
RPC::Context context {m_journal, params, app_, loadType, m_networkOPs,
app_.getLedgerMaster(), role, jobCoro, InfoSub::pointer(),
app_.getLedgerMaster(), usage, role, jobCoro, InfoSub::pointer(),
{user, forwardedFor}};
Json::Value result;
RPC::doCommand (context, result);