rippled
Loading...
Searching...
No Matches
Validators.cpp
1#include <xrpld/app/main/Application.h>
2#include <xrpld/app/misc/ValidatorList.h>
3#include <xrpld/rpc/Context.h>
4
5#include <xrpl/protocol/ErrorCodes.h>
6
7namespace ripple {
8
11{
12 return context.app.validators().getJson();
13}
14
15} // namespace ripple
Represents a JSON value.
Definition json_value.h:131
virtual ValidatorList & validators()=0
Json::Value getJson() const
Return a JSON representation of the state of the validator list.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Definition algorithm.h:6
Json::Value doValidators(RPC::JsonContext &)
Application & app
Definition Context.h:22