20#include <xrpld/app/misc/NetworkOPs.h> 
   21#include <xrpld/rpc/Context.h> 
   23#include <xrpl/json/json_value.h> 
   24#include <xrpl/protocol/ErrorCodes.h> 
   25#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)