rippled
Loading...
Searching...
No Matches
TxReduceRelay.cpp
1#include <xrpld/app/main/Application.h>
2#include <xrpld/overlay/Overlay.h>
3#include <xrpld/rpc/Context.h>
4
5#include <xrpl/json/json_value.h>
6
7namespace ripple {
8
11{
12 return context.app.overlay().txMetrics();
13}
14
15} // namespace ripple
Represents a JSON value.
Definition json_value.h:131
virtual Overlay & overlay()=0
virtual Json::Value txMetrics() const =0
Returns tx reduce-relay metrics.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
Json::Value doTxReduceRelay(RPC::JsonContext &)
Application & app
Definition Context.h:22