3#include <xrpld/rpc/Context.h>
5#include <grpcpp/support/status.h>
6#include <org/xrpl/rpc/v1/get_ledger.pb.h>
7#include <org/xrpl/rpc/v1/get_ledger_data.pb.h>
8#include <org/xrpl/rpc/v1/get_ledger_diff.pb.h>
9#include <org/xrpl/rpc/v1/get_ledger_entry.pb.h>
23std::pair<org::xrpl::rpc::v1::GetLedgerResponse, grpc::Status>
26std::pair<org::xrpl::rpc::v1::GetLedgerEntryResponse, grpc::Status>
29std::pair<org::xrpl::rpc::v1::GetLedgerDataResponse, grpc::Status>
32std::pair<org::xrpl::rpc::v1::GetLedgerDiffResponse, grpc::Status>
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::pair< org::xrpl::rpc::v1::GetLedgerDataResponse, grpc::Status > doLedgerDataGrpc(rpc::GRPCContext< org::xrpl::rpc::v1::GetLedgerDataRequest > &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::GetLedgerEntryResponse, grpc::Status > doLedgerEntryGrpc(rpc::GRPCContext< org::xrpl::rpc::v1::GetLedgerEntryRequest > &context)
std::pair< org::xrpl::rpc::v1::GetLedgerResponse, grpc::Status > doLedgerGrpc(rpc::GRPCContext< org::xrpl::rpc::v1::GetLedgerRequest > &context)