1#ifndef XRPL_RPC_GRPCHANDLER_H_INCLUDED 
    2#define XRPL_RPC_GRPCHANDLER_H_INCLUDED 
    4#include <xrpld/rpc/Context.h> 
    6#include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.pb.h> 
    8#include <grpcpp/grpcpp.h> 
   21doLedgerGrpc(RPC::GRPCContext<org::xrpl::rpc::v1::GetLedgerRequest>& context);
 
   25    RPC::GRPCContext<org::xrpl::rpc::v1::GetLedgerEntryRequest>& context);
 
   29    RPC::GRPCContext<org::xrpl::rpc::v1::GetLedgerDataRequest>& context);
 
   33    RPC::GRPCContext<org::xrpl::rpc::v1::GetLedgerDiffRequest>& context);
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
std::pair< org::xrpl::rpc::v1::GetLedgerResponse, grpc::Status > doLedgerGrpc(RPC::GRPCContext< org::xrpl::rpc::v1::GetLedgerRequest > &context)
 
std::pair< org::xrpl::rpc::v1::GetLedgerEntryResponse, grpc::Status > doLedgerEntryGrpc(RPC::GRPCContext< org::xrpl::rpc::v1::GetLedgerEntryRequest > &context)
 
std::pair< org::xrpl::rpc::v1::GetLedgerDiffResponse, grpc::Status > doLedgerDiffGrpc(RPC::GRPCContext< org::xrpl::rpc::v1::GetLedgerDiffRequest > &context)
 
std::pair< org::xrpl::rpc::v1::GetLedgerDataResponse, grpc::Status > doLedgerDataGrpc(RPC::GRPCContext< org::xrpl::rpc::v1::GetLedgerDataRequest > &context)