mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-24 13:05:53 +00:00
New RPC method "version".
This commit is contained in:
committed by
Vinnie Falco
parent
bfc436dccd
commit
c3809ece67
@@ -20,6 +20,8 @@
|
||||
#include <BeastConfig.h>
|
||||
#include <ripple/rpc/impl/Handler.h>
|
||||
#include <ripple/rpc/handlers/Handlers.h>
|
||||
#include <ripple/rpc/handlers/Ledger.h>
|
||||
#include <ripple/rpc/handlers/Version.h>
|
||||
|
||||
namespace ripple {
|
||||
namespace RPC {
|
||||
@@ -66,6 +68,7 @@ class HandlerTable {
|
||||
|
||||
// This is where the new-style handlers are added.
|
||||
addHandler<LedgerHandler>();
|
||||
addHandler<VersionHandler>();
|
||||
}
|
||||
|
||||
const Handler* getHandler(std::string name) {
|
||||
|
||||
Reference in New Issue
Block a user