20#ifndef RIPPLED_GRPCTESTCLIENTBASE_H
21#define RIPPLED_GRPCTESTCLIENTBASE_H
23#include <test/jtx/envconfig.h>
25#include <xrpl/proto/org/xrpl/rpc/v1/xrp_ledger.grpc.pb.h>
27#include <grpcpp/grpcpp.h>
35 :
stub_(org::xrpl::
rpc::v1::XRPLedgerAPIService::NewStub(
41 grpc::InsecureChannelCredentials())))
Set the expected result code for a JTx The test will fail if the code doesn't match.
char const * getEnvLocalhostAddr()
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::string to_string(base_uint< Bits, Tag > const &a)
std::unique_ptr< org::xrpl::rpc::v1::XRPLedgerAPIService::Stub > stub_
grpc::ClientContext context
GRPCTestClientBase(std::string const &port)