20 #include <ripple/app/main/Application.h>
21 #include <ripple/app/misc/LoadFeeTrack.h>
22 #include <ripple/core/TimeKeeper.h>
23 #include <ripple/overlay/Cluster.h>
24 #include <ripple/overlay/Overlay.h>
25 #include <ripple/protocol/jss.h>
26 #include <ripple/rpc/Context.h>
53 json[jss::tag] = node.
name();
56 json[jss::fee] =
static_cast<double>(node.
getLoadFee()) / ref;
virtual Cluster & cluster()=0
std::string const & name() const
std::string toBase58(AccountID const &v)
Convert AccountID to base58 checked string.
std::uint32_t getLoadBase() const
virtual TimeKeeper & timeKeeper()=0
Json::Value doPeers(RPC::JsonContext &)
virtual LoadFeeTrack & getFeeTrack()=0
@ objectValue
object value (collection of name/value pairs).
virtual std::pair< PublicKey, SecretKey > const & nodeIdentity()=0
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
virtual Json::Value json()=0
Return diagnostics on the status of all peers.
virtual time_point now() const override=0
Returns the estimate of wall time, in network time.
virtual Overlay & overlay()=0
void for_each(std::function< void(ClusterNode const &)> func) const
Invokes the callback once for every cluster node.
NetClock::time_point getReportTime() const
PublicKey const & identity() const
std::uint32_t getLoadFee() const