1#include <xrpld/app/misc/NetworkOPs.h>
2#include <xrpld/rpc/Context.h>
4#include <xrpl/json/json_value.h>
5#include <xrpl/protocol/ErrorCodes.h>
6#include <xrpl/protocol/jss.h>
virtual Json::Value getConsensusInfo()=0
@ objectValue
object value (collection of name/value pairs).
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Json::Value doConsensusInfo(RPC::JsonContext &context)