Documentation ¶
Index ¶
- Variables
- func RegisterTendermintProxyServiceServer(s grpc1.Server, srv TendermintProxyServiceServer)
- type ABCIQueryRequest
- func (*ABCIQueryRequest) Descriptor() ([]byte, []int)
- func (m *ABCIQueryRequest) GetData() []byte
- func (m *ABCIQueryRequest) GetHeight() int64
- func (m *ABCIQueryRequest) GetPath() string
- func (m *ABCIQueryRequest) GetProve() bool
- func (m *ABCIQueryRequest) Marshal() (dAtA []byte, err error)
- func (m *ABCIQueryRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ABCIQueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ABCIQueryRequest) ProtoMessage()
- func (m *ABCIQueryRequest) Reset()
- func (m *ABCIQueryRequest) Size() (n int)
- func (m *ABCIQueryRequest) String() string
- func (m *ABCIQueryRequest) Unmarshal(dAtA []byte) error
- func (m *ABCIQueryRequest) XXX_DiscardUnknown()
- func (m *ABCIQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ABCIQueryRequest) XXX_Merge(src proto.Message)
- func (m *ABCIQueryRequest) XXX_Size() int
- func (m *ABCIQueryRequest) XXX_Unmarshal(b []byte) error
- type ABCIQueryResponse
- func (*ABCIQueryResponse) Descriptor() ([]byte, []int)
- func (m *ABCIQueryResponse) GetCode() uint32
- func (m *ABCIQueryResponse) GetCodespace() string
- func (m *ABCIQueryResponse) GetHeight() int64
- func (m *ABCIQueryResponse) GetIndex() int64
- func (m *ABCIQueryResponse) GetInfo() string
- func (m *ABCIQueryResponse) GetKey() []byte
- func (m *ABCIQueryResponse) GetLog() string
- func (m *ABCIQueryResponse) GetProofOps() *crypto.ProofOps
- func (m *ABCIQueryResponse) GetValue() []byte
- func (m *ABCIQueryResponse) Marshal() (dAtA []byte, err error)
- func (m *ABCIQueryResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ABCIQueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ABCIQueryResponse) ProtoMessage()
- func (m *ABCIQueryResponse) Reset()
- func (m *ABCIQueryResponse) Size() (n int)
- func (m *ABCIQueryResponse) String() string
- func (m *ABCIQueryResponse) Unmarshal(dAtA []byte) error
- func (m *ABCIQueryResponse) XXX_DiscardUnknown()
- func (m *ABCIQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ABCIQueryResponse) XXX_Merge(src proto.Message)
- func (m *ABCIQueryResponse) XXX_Size() int
- func (m *ABCIQueryResponse) XXX_Unmarshal(b []byte) error
- type BroadcastTxAsyncRequest
- func (*BroadcastTxAsyncRequest) Descriptor() ([]byte, []int)
- func (m *BroadcastTxAsyncRequest) GetParams() []byte
- func (m *BroadcastTxAsyncRequest) GetReqId() uint64
- func (m *BroadcastTxAsyncRequest) Marshal() (dAtA []byte, err error)
- func (m *BroadcastTxAsyncRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BroadcastTxAsyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BroadcastTxAsyncRequest) ProtoMessage()
- func (m *BroadcastTxAsyncRequest) Reset()
- func (m *BroadcastTxAsyncRequest) Size() (n int)
- func (m *BroadcastTxAsyncRequest) String() string
- func (m *BroadcastTxAsyncRequest) Unmarshal(dAtA []byte) error
- func (m *BroadcastTxAsyncRequest) XXX_DiscardUnknown()
- func (m *BroadcastTxAsyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadcastTxAsyncRequest) XXX_Merge(src proto.Message)
- func (m *BroadcastTxAsyncRequest) XXX_Size() int
- func (m *BroadcastTxAsyncRequest) XXX_Unmarshal(b []byte) error
- type BroadcastTxAsyncResponse
- func (*BroadcastTxAsyncResponse) Descriptor() ([]byte, []int)
- func (m *BroadcastTxAsyncResponse) GetCode() uint64
- func (m *BroadcastTxAsyncResponse) GetData() []byte
- func (m *BroadcastTxAsyncResponse) GetHash() []byte
- func (m *BroadcastTxAsyncResponse) GetLog() string
- func (m *BroadcastTxAsyncResponse) Marshal() (dAtA []byte, err error)
- func (m *BroadcastTxAsyncResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BroadcastTxAsyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BroadcastTxAsyncResponse) ProtoMessage()
- func (m *BroadcastTxAsyncResponse) Reset()
- func (m *BroadcastTxAsyncResponse) Size() (n int)
- func (m *BroadcastTxAsyncResponse) String() string
- func (m *BroadcastTxAsyncResponse) Unmarshal(dAtA []byte) error
- func (m *BroadcastTxAsyncResponse) XXX_DiscardUnknown()
- func (m *BroadcastTxAsyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadcastTxAsyncResponse) XXX_Merge(src proto.Message)
- func (m *BroadcastTxAsyncResponse) XXX_Size() int
- func (m *BroadcastTxAsyncResponse) XXX_Unmarshal(b []byte) error
- type BroadcastTxSyncRequest
- func (*BroadcastTxSyncRequest) Descriptor() ([]byte, []int)
- func (m *BroadcastTxSyncRequest) GetParams() []byte
- func (m *BroadcastTxSyncRequest) GetReqId() uint64
- func (m *BroadcastTxSyncRequest) Marshal() (dAtA []byte, err error)
- func (m *BroadcastTxSyncRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *BroadcastTxSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BroadcastTxSyncRequest) ProtoMessage()
- func (m *BroadcastTxSyncRequest) Reset()
- func (m *BroadcastTxSyncRequest) Size() (n int)
- func (m *BroadcastTxSyncRequest) String() string
- func (m *BroadcastTxSyncRequest) Unmarshal(dAtA []byte) error
- func (m *BroadcastTxSyncRequest) XXX_DiscardUnknown()
- func (m *BroadcastTxSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadcastTxSyncRequest) XXX_Merge(src proto.Message)
- func (m *BroadcastTxSyncRequest) XXX_Size() int
- func (m *BroadcastTxSyncRequest) XXX_Unmarshal(b []byte) error
- type BroadcastTxSyncResponse
- func (*BroadcastTxSyncResponse) Descriptor() ([]byte, []int)
- func (m *BroadcastTxSyncResponse) GetCode() uint64
- func (m *BroadcastTxSyncResponse) GetData() []byte
- func (m *BroadcastTxSyncResponse) GetHash() []byte
- func (m *BroadcastTxSyncResponse) GetLog() string
- func (m *BroadcastTxSyncResponse) Marshal() (dAtA []byte, err error)
- func (m *BroadcastTxSyncResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *BroadcastTxSyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BroadcastTxSyncResponse) ProtoMessage()
- func (m *BroadcastTxSyncResponse) Reset()
- func (m *BroadcastTxSyncResponse) Size() (n int)
- func (m *BroadcastTxSyncResponse) String() string
- func (m *BroadcastTxSyncResponse) Unmarshal(dAtA []byte) error
- func (m *BroadcastTxSyncResponse) XXX_DiscardUnknown()
- func (m *BroadcastTxSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BroadcastTxSyncResponse) XXX_Merge(src proto.Message)
- func (m *BroadcastTxSyncResponse) XXX_Size() int
- func (m *BroadcastTxSyncResponse) XXX_Unmarshal(b []byte) error
- type GetBlockByHeightRequest
- func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockByHeightRequest) GetHeight() int64
- func (m *GetBlockByHeightRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlockByHeightRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockByHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockByHeightRequest) ProtoMessage()
- func (m *GetBlockByHeightRequest) Reset()
- func (m *GetBlockByHeightRequest) Size() (n int)
- func (m *GetBlockByHeightRequest) String() string
- func (m *GetBlockByHeightRequest) Unmarshal(dAtA []byte) error
- func (m *GetBlockByHeightRequest) XXX_DiscardUnknown()
- func (m *GetBlockByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockByHeightRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockByHeightRequest) XXX_Size() int
- func (m *GetBlockByHeightRequest) XXX_Unmarshal(b []byte) error
- type GetBlockByHeightResponse
- func (*GetBlockByHeightResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockByHeightResponse) GetBlock() *types.Block
- func (m *GetBlockByHeightResponse) GetBlockId() *types.BlockID
- func (m *GetBlockByHeightResponse) Marshal() (dAtA []byte, err error)
- func (m *GetBlockByHeightResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockByHeightResponse) ProtoMessage()
- func (m *GetBlockByHeightResponse) Reset()
- func (m *GetBlockByHeightResponse) Size() (n int)
- func (m *GetBlockByHeightResponse) String() string
- func (m *GetBlockByHeightResponse) Unmarshal(dAtA []byte) error
- func (m *GetBlockByHeightResponse) XXX_DiscardUnknown()
- func (m *GetBlockByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockByHeightResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockByHeightResponse) XXX_Size() int
- func (m *GetBlockByHeightResponse) XXX_Unmarshal(b []byte) error
- type GetStatusRequest
- func (*GetStatusRequest) Descriptor() ([]byte, []int)
- func (m *GetStatusRequest) Marshal() (dAtA []byte, err error)
- func (m *GetStatusRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetStatusRequest) ProtoMessage()
- func (m *GetStatusRequest) Reset()
- func (m *GetStatusRequest) Size() (n int)
- func (m *GetStatusRequest) String() string
- func (m *GetStatusRequest) Unmarshal(dAtA []byte) error
- func (m *GetStatusRequest) XXX_DiscardUnknown()
- func (m *GetStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStatusRequest) XXX_Merge(src proto.Message)
- func (m *GetStatusRequest) XXX_Size() int
- func (m *GetStatusRequest) XXX_Unmarshal(b []byte) error
- type GetStatusResponse
- func (*GetStatusResponse) Descriptor() ([]byte, []int)
- func (m *GetStatusResponse) GetNodeInfo() *p2p.DefaultNodeInfo
- func (m *GetStatusResponse) GetSyncInfo() *SyncInfo
- func (m *GetStatusResponse) GetValidatorInfo() *types.Validator
- func (m *GetStatusResponse) Marshal() (dAtA []byte, err error)
- func (m *GetStatusResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetStatusResponse) ProtoMessage()
- func (m *GetStatusResponse) Reset()
- func (m *GetStatusResponse) Size() (n int)
- func (m *GetStatusResponse) String() string
- func (m *GetStatusResponse) Unmarshal(dAtA []byte) error
- func (m *GetStatusResponse) XXX_DiscardUnknown()
- func (m *GetStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetStatusResponse) XXX_Merge(src proto.Message)
- func (m *GetStatusResponse) XXX_Size() int
- func (m *GetStatusResponse) XXX_Unmarshal(b []byte) error
- type GetTxRequest
- func (*GetTxRequest) Descriptor() ([]byte, []int)
- func (m *GetTxRequest) GetHash() []byte
- func (m *GetTxRequest) GetProve() bool
- func (m *GetTxRequest) Marshal() (dAtA []byte, err error)
- func (m *GetTxRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTxRequest) ProtoMessage()
- func (m *GetTxRequest) Reset()
- func (m *GetTxRequest) Size() (n int)
- func (m *GetTxRequest) String() string
- func (m *GetTxRequest) Unmarshal(dAtA []byte) error
- func (m *GetTxRequest) XXX_DiscardUnknown()
- func (m *GetTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTxRequest) XXX_Merge(src proto.Message)
- func (m *GetTxRequest) XXX_Size() int
- func (m *GetTxRequest) XXX_Unmarshal(b []byte) error
- type GetTxResponse
- func (*GetTxResponse) Descriptor() ([]byte, []int)
- func (m *GetTxResponse) GetHash() []byte
- func (m *GetTxResponse) GetHeight() uint64
- func (m *GetTxResponse) GetIndex() uint64
- func (m *GetTxResponse) GetTx() []byte
- func (m *GetTxResponse) GetTxResult() *TxResult
- func (m *GetTxResponse) Marshal() (dAtA []byte, err error)
- func (m *GetTxResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetTxResponse) ProtoMessage()
- func (m *GetTxResponse) Reset()
- func (m *GetTxResponse) Size() (n int)
- func (m *GetTxResponse) String() string
- func (m *GetTxResponse) Unmarshal(dAtA []byte) error
- func (m *GetTxResponse) XXX_DiscardUnknown()
- func (m *GetTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTxResponse) XXX_Merge(src proto.Message)
- func (m *GetTxResponse) XXX_Size() int
- func (m *GetTxResponse) XXX_Unmarshal(b []byte) error
- type SyncInfo
- func (*SyncInfo) Descriptor() ([]byte, []int)
- func (m *SyncInfo) GetCatchingUp() bool
- func (m *SyncInfo) GetLatestAppHash() []byte
- func (m *SyncInfo) GetLatestBlockHash() []byte
- func (m *SyncInfo) GetLatestBlockHeight() uint64
- func (m *SyncInfo) GetLatestBlockTime() *types1.Timestamp
- func (m *SyncInfo) Marshal() (dAtA []byte, err error)
- func (m *SyncInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *SyncInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SyncInfo) ProtoMessage()
- func (m *SyncInfo) Reset()
- func (m *SyncInfo) Size() (n int)
- func (m *SyncInfo) String() string
- func (m *SyncInfo) Unmarshal(dAtA []byte) error
- func (m *SyncInfo) XXX_DiscardUnknown()
- func (m *SyncInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SyncInfo) XXX_Merge(src proto.Message)
- func (m *SyncInfo) XXX_Size() int
- func (m *SyncInfo) XXX_Unmarshal(b []byte) error
- type Tag
- func (*Tag) Descriptor() ([]byte, []int)
- func (m *Tag) GetIndex() bool
- func (m *Tag) GetKey() []byte
- func (m *Tag) GetValue() []byte
- func (m *Tag) Marshal() (dAtA []byte, err error)
- func (m *Tag) MarshalTo(dAtA []byte) (int, error)
- func (m *Tag) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Tag) ProtoMessage()
- func (m *Tag) Reset()
- func (m *Tag) Size() (n int)
- func (m *Tag) String() string
- func (m *Tag) Unmarshal(dAtA []byte) error
- func (m *Tag) XXX_DiscardUnknown()
- func (m *Tag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Tag) XXX_Merge(src proto.Message)
- func (m *Tag) XXX_Size() int
- func (m *Tag) XXX_Unmarshal(b []byte) error
- type TendermintProxyServiceClient
- type TendermintProxyServiceServer
- type TxResult
- func (*TxResult) Descriptor() ([]byte, []int)
- func (m *TxResult) GetGasUsed() uint64
- func (m *TxResult) GetGasWanted() uint64
- func (m *TxResult) GetLog() string
- func (m *TxResult) GetTags() []*Tag
- func (m *TxResult) Marshal() (dAtA []byte, err error)
- func (m *TxResult) MarshalTo(dAtA []byte) (int, error)
- func (m *TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*TxResult) ProtoMessage()
- func (m *TxResult) Reset()
- func (m *TxResult) Size() (n int)
- func (m *TxResult) String() string
- func (m *TxResult) Unmarshal(dAtA []byte) error
- func (m *TxResult) XXX_DiscardUnknown()
- func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *TxResult) XXX_Merge(src proto.Message)
- func (m *TxResult) XXX_Size() int
- func (m *TxResult) XXX_Unmarshal(b []byte) error
- type UnimplementedTendermintProxyServiceServer
- func (*UnimplementedTendermintProxyServiceServer) ABCIQuery(ctx context.Context, req *ABCIQueryRequest) (*ABCIQueryResponse, error)
- func (*UnimplementedTendermintProxyServiceServer) BroadcastTxAsync(ctx context.Context, req *BroadcastTxAsyncRequest) (*BroadcastTxAsyncResponse, error)
- func (*UnimplementedTendermintProxyServiceServer) BroadcastTxSync(ctx context.Context, req *BroadcastTxSyncRequest) (*BroadcastTxSyncResponse, error)
- func (*UnimplementedTendermintProxyServiceServer) GetBlockByHeight(ctx context.Context, req *GetBlockByHeightRequest) (*GetBlockByHeightResponse, error)
- func (*UnimplementedTendermintProxyServiceServer) GetStatus(ctx context.Context, req *GetStatusRequest) (*GetStatusResponse, error)
- func (*UnimplementedTendermintProxyServiceServer) GetTx(ctx context.Context, req *GetTxRequest) (*GetTxResponse, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterTendermintProxyServiceServer ¶
func RegisterTendermintProxyServiceServer(s grpc1.Server, srv TendermintProxyServiceServer)
Types ¶
type ABCIQueryRequest ¶
type ABCIQueryRequest struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"` Height int64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` Prove bool `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"` }
ABCIQueryRequest defines the request structure for the ABCIQuery gRPC query.
func (*ABCIQueryRequest) Descriptor ¶
func (*ABCIQueryRequest) Descriptor() ([]byte, []int)
func (*ABCIQueryRequest) GetData ¶
func (m *ABCIQueryRequest) GetData() []byte
func (*ABCIQueryRequest) GetHeight ¶
func (m *ABCIQueryRequest) GetHeight() int64
func (*ABCIQueryRequest) GetPath ¶
func (m *ABCIQueryRequest) GetPath() string
func (*ABCIQueryRequest) GetProve ¶
func (m *ABCIQueryRequest) GetProve() bool
func (*ABCIQueryRequest) Marshal ¶
func (m *ABCIQueryRequest) Marshal() (dAtA []byte, err error)
func (*ABCIQueryRequest) MarshalToSizedBuffer ¶
func (m *ABCIQueryRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ABCIQueryRequest) ProtoMessage ¶
func (*ABCIQueryRequest) ProtoMessage()
func (*ABCIQueryRequest) Reset ¶
func (m *ABCIQueryRequest) Reset()
func (*ABCIQueryRequest) Size ¶
func (m *ABCIQueryRequest) Size() (n int)
func (*ABCIQueryRequest) String ¶
func (m *ABCIQueryRequest) String() string
func (*ABCIQueryRequest) Unmarshal ¶
func (m *ABCIQueryRequest) Unmarshal(dAtA []byte) error
func (*ABCIQueryRequest) XXX_DiscardUnknown ¶
func (m *ABCIQueryRequest) XXX_DiscardUnknown()
func (*ABCIQueryRequest) XXX_Marshal ¶
func (m *ABCIQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ABCIQueryRequest) XXX_Merge ¶
func (m *ABCIQueryRequest) XXX_Merge(src proto.Message)
func (*ABCIQueryRequest) XXX_Size ¶
func (m *ABCIQueryRequest) XXX_Size() int
func (*ABCIQueryRequest) XXX_Unmarshal ¶
func (m *ABCIQueryRequest) XXX_Unmarshal(b []byte) error
type ABCIQueryResponse ¶
type ABCIQueryResponse struct { Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` Index int64 `protobuf:"varint,5,opt,name=index,proto3" json:"index,omitempty"` Key []byte `protobuf:"bytes,6,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,7,opt,name=value,proto3" json:"value,omitempty"` ProofOps *crypto.ProofOps `protobuf:"bytes,8,opt,name=proof_ops,json=proofOps,proto3" json:"proof_ops,omitempty"` Height int64 `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"` Codespace string `protobuf:"bytes,10,opt,name=codespace,proto3" json:"codespace,omitempty"` }
ABCIQueryResponse defines the response structure for the ABCIQuery gRPC query.
Note: This type is a duplicate of the ResponseQuery proto type defined in Tendermint.
func (*ABCIQueryResponse) Descriptor ¶
func (*ABCIQueryResponse) Descriptor() ([]byte, []int)
func (*ABCIQueryResponse) GetCode ¶
func (m *ABCIQueryResponse) GetCode() uint32
func (*ABCIQueryResponse) GetCodespace ¶
func (m *ABCIQueryResponse) GetCodespace() string
func (*ABCIQueryResponse) GetHeight ¶
func (m *ABCIQueryResponse) GetHeight() int64
func (*ABCIQueryResponse) GetIndex ¶
func (m *ABCIQueryResponse) GetIndex() int64
func (*ABCIQueryResponse) GetInfo ¶
func (m *ABCIQueryResponse) GetInfo() string
func (*ABCIQueryResponse) GetKey ¶
func (m *ABCIQueryResponse) GetKey() []byte
func (*ABCIQueryResponse) GetLog ¶
func (m *ABCIQueryResponse) GetLog() string
func (*ABCIQueryResponse) GetProofOps ¶
func (m *ABCIQueryResponse) GetProofOps() *crypto.ProofOps
func (*ABCIQueryResponse) GetValue ¶
func (m *ABCIQueryResponse) GetValue() []byte
func (*ABCIQueryResponse) Marshal ¶
func (m *ABCIQueryResponse) Marshal() (dAtA []byte, err error)
func (*ABCIQueryResponse) MarshalTo ¶
func (m *ABCIQueryResponse) MarshalTo(dAtA []byte) (int, error)
func (*ABCIQueryResponse) MarshalToSizedBuffer ¶
func (m *ABCIQueryResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ABCIQueryResponse) ProtoMessage ¶
func (*ABCIQueryResponse) ProtoMessage()
func (*ABCIQueryResponse) Reset ¶
func (m *ABCIQueryResponse) Reset()
func (*ABCIQueryResponse) Size ¶
func (m *ABCIQueryResponse) Size() (n int)
func (*ABCIQueryResponse) String ¶
func (m *ABCIQueryResponse) String() string
func (*ABCIQueryResponse) Unmarshal ¶
func (m *ABCIQueryResponse) Unmarshal(dAtA []byte) error
func (*ABCIQueryResponse) XXX_DiscardUnknown ¶
func (m *ABCIQueryResponse) XXX_DiscardUnknown()
func (*ABCIQueryResponse) XXX_Marshal ¶
func (m *ABCIQueryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ABCIQueryResponse) XXX_Merge ¶
func (m *ABCIQueryResponse) XXX_Merge(src proto.Message)
func (*ABCIQueryResponse) XXX_Size ¶
func (m *ABCIQueryResponse) XXX_Size() int
func (*ABCIQueryResponse) XXX_Unmarshal ¶
func (m *ABCIQueryResponse) XXX_Unmarshal(b []byte) error
type BroadcastTxAsyncRequest ¶
type BroadcastTxAsyncRequest struct { Params []byte `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` ReqId uint64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` }
BroadcastTxAsyncRequest is the request type for the BroadcastTxAsync RPC method.
func (*BroadcastTxAsyncRequest) Descriptor ¶
func (*BroadcastTxAsyncRequest) Descriptor() ([]byte, []int)
func (*BroadcastTxAsyncRequest) GetParams ¶
func (m *BroadcastTxAsyncRequest) GetParams() []byte
func (*BroadcastTxAsyncRequest) GetReqId ¶
func (m *BroadcastTxAsyncRequest) GetReqId() uint64
func (*BroadcastTxAsyncRequest) Marshal ¶
func (m *BroadcastTxAsyncRequest) Marshal() (dAtA []byte, err error)
func (*BroadcastTxAsyncRequest) MarshalTo ¶
func (m *BroadcastTxAsyncRequest) MarshalTo(dAtA []byte) (int, error)
func (*BroadcastTxAsyncRequest) MarshalToSizedBuffer ¶
func (m *BroadcastTxAsyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BroadcastTxAsyncRequest) ProtoMessage ¶
func (*BroadcastTxAsyncRequest) ProtoMessage()
func (*BroadcastTxAsyncRequest) Reset ¶
func (m *BroadcastTxAsyncRequest) Reset()
func (*BroadcastTxAsyncRequest) Size ¶
func (m *BroadcastTxAsyncRequest) Size() (n int)
func (*BroadcastTxAsyncRequest) String ¶
func (m *BroadcastTxAsyncRequest) String() string
func (*BroadcastTxAsyncRequest) Unmarshal ¶
func (m *BroadcastTxAsyncRequest) Unmarshal(dAtA []byte) error
func (*BroadcastTxAsyncRequest) XXX_DiscardUnknown ¶
func (m *BroadcastTxAsyncRequest) XXX_DiscardUnknown()
func (*BroadcastTxAsyncRequest) XXX_Marshal ¶
func (m *BroadcastTxAsyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastTxAsyncRequest) XXX_Merge ¶
func (m *BroadcastTxAsyncRequest) XXX_Merge(src proto.Message)
func (*BroadcastTxAsyncRequest) XXX_Size ¶
func (m *BroadcastTxAsyncRequest) XXX_Size() int
func (*BroadcastTxAsyncRequest) XXX_Unmarshal ¶
func (m *BroadcastTxAsyncRequest) XXX_Unmarshal(b []byte) error
type BroadcastTxAsyncResponse ¶
type BroadcastTxAsyncResponse struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` }
BroadcastTxAsyncResponse is the response type for the BroadcastTxAsync RPC method.
func (*BroadcastTxAsyncResponse) Descriptor ¶
func (*BroadcastTxAsyncResponse) Descriptor() ([]byte, []int)
func (*BroadcastTxAsyncResponse) GetCode ¶
func (m *BroadcastTxAsyncResponse) GetCode() uint64
func (*BroadcastTxAsyncResponse) GetData ¶
func (m *BroadcastTxAsyncResponse) GetData() []byte
func (*BroadcastTxAsyncResponse) GetHash ¶
func (m *BroadcastTxAsyncResponse) GetHash() []byte
func (*BroadcastTxAsyncResponse) GetLog ¶
func (m *BroadcastTxAsyncResponse) GetLog() string
func (*BroadcastTxAsyncResponse) Marshal ¶
func (m *BroadcastTxAsyncResponse) Marshal() (dAtA []byte, err error)
func (*BroadcastTxAsyncResponse) MarshalTo ¶
func (m *BroadcastTxAsyncResponse) MarshalTo(dAtA []byte) (int, error)
func (*BroadcastTxAsyncResponse) MarshalToSizedBuffer ¶
func (m *BroadcastTxAsyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BroadcastTxAsyncResponse) ProtoMessage ¶
func (*BroadcastTxAsyncResponse) ProtoMessage()
func (*BroadcastTxAsyncResponse) Reset ¶
func (m *BroadcastTxAsyncResponse) Reset()
func (*BroadcastTxAsyncResponse) Size ¶
func (m *BroadcastTxAsyncResponse) Size() (n int)
func (*BroadcastTxAsyncResponse) String ¶
func (m *BroadcastTxAsyncResponse) String() string
func (*BroadcastTxAsyncResponse) Unmarshal ¶
func (m *BroadcastTxAsyncResponse) Unmarshal(dAtA []byte) error
func (*BroadcastTxAsyncResponse) XXX_DiscardUnknown ¶
func (m *BroadcastTxAsyncResponse) XXX_DiscardUnknown()
func (*BroadcastTxAsyncResponse) XXX_Marshal ¶
func (m *BroadcastTxAsyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastTxAsyncResponse) XXX_Merge ¶
func (m *BroadcastTxAsyncResponse) XXX_Merge(src proto.Message)
func (*BroadcastTxAsyncResponse) XXX_Size ¶
func (m *BroadcastTxAsyncResponse) XXX_Size() int
func (*BroadcastTxAsyncResponse) XXX_Unmarshal ¶
func (m *BroadcastTxAsyncResponse) XXX_Unmarshal(b []byte) error
type BroadcastTxSyncRequest ¶
type BroadcastTxSyncRequest struct { Params []byte `protobuf:"bytes,1,opt,name=params,proto3" json:"params,omitempty"` ReqId uint64 `protobuf:"varint,2,opt,name=req_id,json=reqId,proto3" json:"req_id,omitempty"` }
BroadcastTxSyncRequest is the request type for the BroadcastTxSync RPC method.
func (*BroadcastTxSyncRequest) Descriptor ¶
func (*BroadcastTxSyncRequest) Descriptor() ([]byte, []int)
func (*BroadcastTxSyncRequest) GetParams ¶
func (m *BroadcastTxSyncRequest) GetParams() []byte
func (*BroadcastTxSyncRequest) GetReqId ¶
func (m *BroadcastTxSyncRequest) GetReqId() uint64
func (*BroadcastTxSyncRequest) Marshal ¶
func (m *BroadcastTxSyncRequest) Marshal() (dAtA []byte, err error)
func (*BroadcastTxSyncRequest) MarshalTo ¶
func (m *BroadcastTxSyncRequest) MarshalTo(dAtA []byte) (int, error)
func (*BroadcastTxSyncRequest) MarshalToSizedBuffer ¶
func (m *BroadcastTxSyncRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BroadcastTxSyncRequest) ProtoMessage ¶
func (*BroadcastTxSyncRequest) ProtoMessage()
func (*BroadcastTxSyncRequest) Reset ¶
func (m *BroadcastTxSyncRequest) Reset()
func (*BroadcastTxSyncRequest) Size ¶
func (m *BroadcastTxSyncRequest) Size() (n int)
func (*BroadcastTxSyncRequest) String ¶
func (m *BroadcastTxSyncRequest) String() string
func (*BroadcastTxSyncRequest) Unmarshal ¶
func (m *BroadcastTxSyncRequest) Unmarshal(dAtA []byte) error
func (*BroadcastTxSyncRequest) XXX_DiscardUnknown ¶
func (m *BroadcastTxSyncRequest) XXX_DiscardUnknown()
func (*BroadcastTxSyncRequest) XXX_Marshal ¶
func (m *BroadcastTxSyncRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastTxSyncRequest) XXX_Merge ¶
func (m *BroadcastTxSyncRequest) XXX_Merge(src proto.Message)
func (*BroadcastTxSyncRequest) XXX_Size ¶
func (m *BroadcastTxSyncRequest) XXX_Size() int
func (*BroadcastTxSyncRequest) XXX_Unmarshal ¶
func (m *BroadcastTxSyncRequest) XXX_Unmarshal(b []byte) error
type BroadcastTxSyncResponse ¶
type BroadcastTxSyncResponse struct { Code uint64 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` Log string `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"` Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` }
BroadcastTxSyncResponse is the response type for the BroadcastTxSync RPC method.
func (*BroadcastTxSyncResponse) Descriptor ¶
func (*BroadcastTxSyncResponse) Descriptor() ([]byte, []int)
func (*BroadcastTxSyncResponse) GetCode ¶
func (m *BroadcastTxSyncResponse) GetCode() uint64
func (*BroadcastTxSyncResponse) GetData ¶
func (m *BroadcastTxSyncResponse) GetData() []byte
func (*BroadcastTxSyncResponse) GetHash ¶
func (m *BroadcastTxSyncResponse) GetHash() []byte
func (*BroadcastTxSyncResponse) GetLog ¶
func (m *BroadcastTxSyncResponse) GetLog() string
func (*BroadcastTxSyncResponse) Marshal ¶
func (m *BroadcastTxSyncResponse) Marshal() (dAtA []byte, err error)
func (*BroadcastTxSyncResponse) MarshalTo ¶
func (m *BroadcastTxSyncResponse) MarshalTo(dAtA []byte) (int, error)
func (*BroadcastTxSyncResponse) MarshalToSizedBuffer ¶
func (m *BroadcastTxSyncResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*BroadcastTxSyncResponse) ProtoMessage ¶
func (*BroadcastTxSyncResponse) ProtoMessage()
func (*BroadcastTxSyncResponse) Reset ¶
func (m *BroadcastTxSyncResponse) Reset()
func (*BroadcastTxSyncResponse) Size ¶
func (m *BroadcastTxSyncResponse) Size() (n int)
func (*BroadcastTxSyncResponse) String ¶
func (m *BroadcastTxSyncResponse) String() string
func (*BroadcastTxSyncResponse) Unmarshal ¶
func (m *BroadcastTxSyncResponse) Unmarshal(dAtA []byte) error
func (*BroadcastTxSyncResponse) XXX_DiscardUnknown ¶
func (m *BroadcastTxSyncResponse) XXX_DiscardUnknown()
func (*BroadcastTxSyncResponse) XXX_Marshal ¶
func (m *BroadcastTxSyncResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*BroadcastTxSyncResponse) XXX_Merge ¶
func (m *BroadcastTxSyncResponse) XXX_Merge(src proto.Message)
func (*BroadcastTxSyncResponse) XXX_Size ¶
func (m *BroadcastTxSyncResponse) XXX_Size() int
func (*BroadcastTxSyncResponse) XXX_Unmarshal ¶
func (m *BroadcastTxSyncResponse) XXX_Unmarshal(b []byte) error
type GetBlockByHeightRequest ¶
type GetBlockByHeightRequest struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
GetBlockByHeightRequest is the request type for the Query/GetBlockByHeight RPC method.
func (*GetBlockByHeightRequest) Descriptor ¶
func (*GetBlockByHeightRequest) Descriptor() ([]byte, []int)
func (*GetBlockByHeightRequest) GetHeight ¶
func (m *GetBlockByHeightRequest) GetHeight() int64
func (*GetBlockByHeightRequest) Marshal ¶
func (m *GetBlockByHeightRequest) Marshal() (dAtA []byte, err error)
func (*GetBlockByHeightRequest) MarshalTo ¶
func (m *GetBlockByHeightRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockByHeightRequest) MarshalToSizedBuffer ¶
func (m *GetBlockByHeightRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockByHeightRequest) ProtoMessage ¶
func (*GetBlockByHeightRequest) ProtoMessage()
func (*GetBlockByHeightRequest) Reset ¶
func (m *GetBlockByHeightRequest) Reset()
func (*GetBlockByHeightRequest) Size ¶
func (m *GetBlockByHeightRequest) Size() (n int)
func (*GetBlockByHeightRequest) String ¶
func (m *GetBlockByHeightRequest) String() string
func (*GetBlockByHeightRequest) Unmarshal ¶
func (m *GetBlockByHeightRequest) Unmarshal(dAtA []byte) error
func (*GetBlockByHeightRequest) XXX_DiscardUnknown ¶
func (m *GetBlockByHeightRequest) XXX_DiscardUnknown()
func (*GetBlockByHeightRequest) XXX_Marshal ¶
func (m *GetBlockByHeightRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockByHeightRequest) XXX_Merge ¶
func (m *GetBlockByHeightRequest) XXX_Merge(src proto.Message)
func (*GetBlockByHeightRequest) XXX_Size ¶
func (m *GetBlockByHeightRequest) XXX_Size() int
func (*GetBlockByHeightRequest) XXX_Unmarshal ¶
func (m *GetBlockByHeightRequest) XXX_Unmarshal(b []byte) error
type GetBlockByHeightResponse ¶
type GetBlockByHeightResponse struct { BlockId *types.BlockID `protobuf:"bytes,1,opt,name=block_id,json=blockId,proto3" json:"block_id,omitempty"` Block *types.Block `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"` }
GetBlockByHeightResponse is the response type for the Query/GetBlockByHeight RPC method.
func (*GetBlockByHeightResponse) Descriptor ¶
func (*GetBlockByHeightResponse) Descriptor() ([]byte, []int)
func (*GetBlockByHeightResponse) GetBlock ¶
func (m *GetBlockByHeightResponse) GetBlock() *types.Block
func (*GetBlockByHeightResponse) GetBlockId ¶
func (m *GetBlockByHeightResponse) GetBlockId() *types.BlockID
func (*GetBlockByHeightResponse) Marshal ¶
func (m *GetBlockByHeightResponse) Marshal() (dAtA []byte, err error)
func (*GetBlockByHeightResponse) MarshalTo ¶
func (m *GetBlockByHeightResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockByHeightResponse) MarshalToSizedBuffer ¶
func (m *GetBlockByHeightResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockByHeightResponse) ProtoMessage ¶
func (*GetBlockByHeightResponse) ProtoMessage()
func (*GetBlockByHeightResponse) Reset ¶
func (m *GetBlockByHeightResponse) Reset()
func (*GetBlockByHeightResponse) Size ¶
func (m *GetBlockByHeightResponse) Size() (n int)
func (*GetBlockByHeightResponse) String ¶
func (m *GetBlockByHeightResponse) String() string
func (*GetBlockByHeightResponse) Unmarshal ¶
func (m *GetBlockByHeightResponse) Unmarshal(dAtA []byte) error
func (*GetBlockByHeightResponse) XXX_DiscardUnknown ¶
func (m *GetBlockByHeightResponse) XXX_DiscardUnknown()
func (*GetBlockByHeightResponse) XXX_Marshal ¶
func (m *GetBlockByHeightResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockByHeightResponse) XXX_Merge ¶
func (m *GetBlockByHeightResponse) XXX_Merge(src proto.Message)
func (*GetBlockByHeightResponse) XXX_Size ¶
func (m *GetBlockByHeightResponse) XXX_Size() int
func (*GetBlockByHeightResponse) XXX_Unmarshal ¶
func (m *GetBlockByHeightResponse) XXX_Unmarshal(b []byte) error
type GetStatusRequest ¶
type GetStatusRequest struct { }
GetStatusRequest is the request type for the Query/GetStatus RPC method.
func (*GetStatusRequest) Descriptor ¶
func (*GetStatusRequest) Descriptor() ([]byte, []int)
func (*GetStatusRequest) Marshal ¶
func (m *GetStatusRequest) Marshal() (dAtA []byte, err error)
func (*GetStatusRequest) MarshalToSizedBuffer ¶
func (m *GetStatusRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetStatusRequest) ProtoMessage ¶
func (*GetStatusRequest) ProtoMessage()
func (*GetStatusRequest) Reset ¶
func (m *GetStatusRequest) Reset()
func (*GetStatusRequest) Size ¶
func (m *GetStatusRequest) Size() (n int)
func (*GetStatusRequest) String ¶
func (m *GetStatusRequest) String() string
func (*GetStatusRequest) Unmarshal ¶
func (m *GetStatusRequest) Unmarshal(dAtA []byte) error
func (*GetStatusRequest) XXX_DiscardUnknown ¶
func (m *GetStatusRequest) XXX_DiscardUnknown()
func (*GetStatusRequest) XXX_Marshal ¶
func (m *GetStatusRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStatusRequest) XXX_Merge ¶
func (m *GetStatusRequest) XXX_Merge(src proto.Message)
func (*GetStatusRequest) XXX_Size ¶
func (m *GetStatusRequest) XXX_Size() int
func (*GetStatusRequest) XXX_Unmarshal ¶
func (m *GetStatusRequest) XXX_Unmarshal(b []byte) error
type GetStatusResponse ¶
type GetStatusResponse struct { NodeInfo *p2p.DefaultNodeInfo `protobuf:"bytes,1,opt,name=node_info,json=nodeInfo,proto3" json:"node_info,omitempty"` SyncInfo *SyncInfo `protobuf:"bytes,2,opt,name=sync_info,json=syncInfo,proto3" json:"sync_info,omitempty"` ValidatorInfo *types.Validator `protobuf:"bytes,3,opt,name=validator_info,json=validatorInfo,proto3" json:"validator_info,omitempty"` }
GetStatusResponse is the response type for the Query/GetStatus RPC method.
func (*GetStatusResponse) Descriptor ¶
func (*GetStatusResponse) Descriptor() ([]byte, []int)
func (*GetStatusResponse) GetNodeInfo ¶
func (m *GetStatusResponse) GetNodeInfo() *p2p.DefaultNodeInfo
func (*GetStatusResponse) GetSyncInfo ¶
func (m *GetStatusResponse) GetSyncInfo() *SyncInfo
func (*GetStatusResponse) GetValidatorInfo ¶
func (m *GetStatusResponse) GetValidatorInfo() *types.Validator
func (*GetStatusResponse) Marshal ¶
func (m *GetStatusResponse) Marshal() (dAtA []byte, err error)
func (*GetStatusResponse) MarshalTo ¶
func (m *GetStatusResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetStatusResponse) MarshalToSizedBuffer ¶
func (m *GetStatusResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetStatusResponse) ProtoMessage ¶
func (*GetStatusResponse) ProtoMessage()
func (*GetStatusResponse) Reset ¶
func (m *GetStatusResponse) Reset()
func (*GetStatusResponse) Size ¶
func (m *GetStatusResponse) Size() (n int)
func (*GetStatusResponse) String ¶
func (m *GetStatusResponse) String() string
func (*GetStatusResponse) Unmarshal ¶
func (m *GetStatusResponse) Unmarshal(dAtA []byte) error
func (*GetStatusResponse) XXX_DiscardUnknown ¶
func (m *GetStatusResponse) XXX_DiscardUnknown()
func (*GetStatusResponse) XXX_Marshal ¶
func (m *GetStatusResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetStatusResponse) XXX_Merge ¶
func (m *GetStatusResponse) XXX_Merge(src proto.Message)
func (*GetStatusResponse) XXX_Size ¶
func (m *GetStatusResponse) XXX_Size() int
func (*GetStatusResponse) XXX_Unmarshal ¶
func (m *GetStatusResponse) XXX_Unmarshal(b []byte) error
type GetTxRequest ¶
type GetTxRequest struct { // Hash of transaction to retrieve Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Include proofs of the transaction's inclusion in the block Prove bool `protobuf:"varint,2,opt,name=prove,proto3" json:"prove,omitempty"` }
GetTxRequest is the request type for the GetTx RPC method.
func (*GetTxRequest) Descriptor ¶
func (*GetTxRequest) Descriptor() ([]byte, []int)
func (*GetTxRequest) GetHash ¶
func (m *GetTxRequest) GetHash() []byte
func (*GetTxRequest) GetProve ¶
func (m *GetTxRequest) GetProve() bool
func (*GetTxRequest) Marshal ¶
func (m *GetTxRequest) Marshal() (dAtA []byte, err error)
func (*GetTxRequest) MarshalToSizedBuffer ¶
func (m *GetTxRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTxRequest) ProtoMessage ¶
func (*GetTxRequest) ProtoMessage()
func (*GetTxRequest) Reset ¶
func (m *GetTxRequest) Reset()
func (*GetTxRequest) Size ¶
func (m *GetTxRequest) Size() (n int)
func (*GetTxRequest) String ¶
func (m *GetTxRequest) String() string
func (*GetTxRequest) Unmarshal ¶
func (m *GetTxRequest) Unmarshal(dAtA []byte) error
func (*GetTxRequest) XXX_DiscardUnknown ¶
func (m *GetTxRequest) XXX_DiscardUnknown()
func (*GetTxRequest) XXX_Marshal ¶
func (m *GetTxRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTxRequest) XXX_Merge ¶
func (m *GetTxRequest) XXX_Merge(src proto.Message)
func (*GetTxRequest) XXX_Size ¶
func (m *GetTxRequest) XXX_Size() int
func (*GetTxRequest) XXX_Unmarshal ¶
func (m *GetTxRequest) XXX_Unmarshal(b []byte) error
type GetTxResponse ¶
type GetTxResponse struct { // Hash of transaction Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"` Index uint64 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` TxResult *TxResult `protobuf:"bytes,4,opt,name=tx_result,json=txResult,proto3" json:"tx_result,omitempty"` Tx []byte `protobuf:"bytes,5,opt,name=tx,proto3" json:"tx,omitempty"` }
GetTxResponse is the response type for the GetTx RPC method.
func (*GetTxResponse) Descriptor ¶
func (*GetTxResponse) Descriptor() ([]byte, []int)
func (*GetTxResponse) GetHash ¶
func (m *GetTxResponse) GetHash() []byte
func (*GetTxResponse) GetHeight ¶
func (m *GetTxResponse) GetHeight() uint64
func (*GetTxResponse) GetIndex ¶
func (m *GetTxResponse) GetIndex() uint64
func (*GetTxResponse) GetTx ¶
func (m *GetTxResponse) GetTx() []byte
func (*GetTxResponse) GetTxResult ¶
func (m *GetTxResponse) GetTxResult() *TxResult
func (*GetTxResponse) Marshal ¶
func (m *GetTxResponse) Marshal() (dAtA []byte, err error)
func (*GetTxResponse) MarshalToSizedBuffer ¶
func (m *GetTxResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetTxResponse) ProtoMessage ¶
func (*GetTxResponse) ProtoMessage()
func (*GetTxResponse) Reset ¶
func (m *GetTxResponse) Reset()
func (*GetTxResponse) Size ¶
func (m *GetTxResponse) Size() (n int)
func (*GetTxResponse) String ¶
func (m *GetTxResponse) String() string
func (*GetTxResponse) Unmarshal ¶
func (m *GetTxResponse) Unmarshal(dAtA []byte) error
func (*GetTxResponse) XXX_DiscardUnknown ¶
func (m *GetTxResponse) XXX_DiscardUnknown()
func (*GetTxResponse) XXX_Marshal ¶
func (m *GetTxResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTxResponse) XXX_Merge ¶
func (m *GetTxResponse) XXX_Merge(src proto.Message)
func (*GetTxResponse) XXX_Size ¶
func (m *GetTxResponse) XXX_Size() int
func (*GetTxResponse) XXX_Unmarshal ¶
func (m *GetTxResponse) XXX_Unmarshal(b []byte) error
type SyncInfo ¶
type SyncInfo struct { LatestBlockHash []byte `protobuf:"bytes,1,opt,name=latest_block_hash,json=latestBlockHash,proto3" json:"latest_block_hash,omitempty"` LatestAppHash []byte `protobuf:"bytes,2,opt,name=latest_app_hash,json=latestAppHash,proto3" json:"latest_app_hash,omitempty"` LatestBlockHeight uint64 `protobuf:"varint,3,opt,name=latest_block_height,json=latestBlockHeight,proto3" json:"latest_block_height,omitempty"` LatestBlockTime *types1.Timestamp `protobuf:"bytes,4,opt,name=latest_block_time,json=latestBlockTime,proto3" json:"latest_block_time,omitempty"` // These are implemented in tendermint, but not // in tendermint-rpc. // bytes earliest_block_hash = 5; // bytes earliest_app_hash = 6; // uint64 earliest_block_height = 7; // google.protobuf.Timestamp earliest_block_time = 8; CatchingUp bool `protobuf:"varint,9,opt,name=catching_up,json=catchingUp,proto3" json:"catching_up,omitempty"` }
func (*SyncInfo) Descriptor ¶
func (*SyncInfo) GetCatchingUp ¶
func (*SyncInfo) GetLatestAppHash ¶
func (*SyncInfo) GetLatestBlockHash ¶
func (*SyncInfo) GetLatestBlockHeight ¶
func (*SyncInfo) GetLatestBlockTime ¶
func (*SyncInfo) MarshalToSizedBuffer ¶
func (*SyncInfo) ProtoMessage ¶
func (*SyncInfo) ProtoMessage()
func (*SyncInfo) XXX_DiscardUnknown ¶
func (m *SyncInfo) XXX_DiscardUnknown()
func (*SyncInfo) XXX_Marshal ¶
func (*SyncInfo) XXX_Unmarshal ¶
type Tag ¶
type Tag struct { Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value []byte `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` Index bool `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` }
func (*Tag) Descriptor ¶
func (*Tag) ProtoMessage ¶
func (*Tag) ProtoMessage()
func (*Tag) XXX_DiscardUnknown ¶
func (m *Tag) XXX_DiscardUnknown()
func (*Tag) XXX_Unmarshal ¶
type TendermintProxyServiceClient ¶
type TendermintProxyServiceClient interface { // Status queries the current status. GetStatus(ctx context.Context, in *GetStatusRequest, opts ...grpc.CallOption) (*GetStatusResponse, error) // Broadcast a transaction asynchronously. BroadcastTxAsync(ctx context.Context, in *BroadcastTxAsyncRequest, opts ...grpc.CallOption) (*BroadcastTxAsyncResponse, error) // Broadcast a transaction synchronously. BroadcastTxSync(ctx context.Context, in *BroadcastTxSyncRequest, opts ...grpc.CallOption) (*BroadcastTxSyncResponse, error) // Fetch a transaction by hash. GetTx(ctx context.Context, in *GetTxRequest, opts ...grpc.CallOption) (*GetTxResponse, error) // ABCIQuery defines a query handler that supports ABCI queries directly to the // application, bypassing Tendermint completely. The ABCI query must contain // a valid and supported path, including app, custom, p2p, and store. ABCIQuery(ctx context.Context, in *ABCIQueryRequest, opts ...grpc.CallOption) (*ABCIQueryResponse, error) // GetBlockByHeight queries block for given height. GetBlockByHeight(ctx context.Context, in *GetBlockByHeightRequest, opts ...grpc.CallOption) (*GetBlockByHeightResponse, error) }
TendermintProxyServiceClient is the client API for TendermintProxyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTendermintProxyServiceClient ¶
func NewTendermintProxyServiceClient(cc grpc1.ClientConn) TendermintProxyServiceClient
type TendermintProxyServiceServer ¶
type TendermintProxyServiceServer interface { // Status queries the current status. GetStatus(context.Context, *GetStatusRequest) (*GetStatusResponse, error) // Broadcast a transaction asynchronously. BroadcastTxAsync(context.Context, *BroadcastTxAsyncRequest) (*BroadcastTxAsyncResponse, error) // Broadcast a transaction synchronously. BroadcastTxSync(context.Context, *BroadcastTxSyncRequest) (*BroadcastTxSyncResponse, error) // Fetch a transaction by hash. GetTx(context.Context, *GetTxRequest) (*GetTxResponse, error) // ABCIQuery defines a query handler that supports ABCI queries directly to the // application, bypassing Tendermint completely. The ABCI query must contain // a valid and supported path, including app, custom, p2p, and store. ABCIQuery(context.Context, *ABCIQueryRequest) (*ABCIQueryResponse, error) // GetBlockByHeight queries block for given height. GetBlockByHeight(context.Context, *GetBlockByHeightRequest) (*GetBlockByHeightResponse, error) }
TendermintProxyServiceServer is the server API for TendermintProxyService service.
type TxResult ¶
type TxResult struct { Log string `protobuf:"bytes,1,opt,name=log,proto3" json:"log,omitempty"` GasWanted uint64 `protobuf:"varint,2,opt,name=gas_wanted,json=gasWanted,proto3" json:"gas_wanted,omitempty"` GasUsed uint64 `protobuf:"varint,3,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"` Tags []*Tag `protobuf:"bytes,4,rep,name=tags,proto3" json:"tags,omitempty"` }
func (*TxResult) Descriptor ¶
func (*TxResult) GetGasUsed ¶
func (*TxResult) GetGasWanted ¶
func (*TxResult) MarshalToSizedBuffer ¶
func (*TxResult) ProtoMessage ¶
func (*TxResult) ProtoMessage()
func (*TxResult) XXX_DiscardUnknown ¶
func (m *TxResult) XXX_DiscardUnknown()
func (*TxResult) XXX_Marshal ¶
func (*TxResult) XXX_Unmarshal ¶
type UnimplementedTendermintProxyServiceServer ¶
type UnimplementedTendermintProxyServiceServer struct { }
UnimplementedTendermintProxyServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedTendermintProxyServiceServer) ABCIQuery ¶
func (*UnimplementedTendermintProxyServiceServer) ABCIQuery(ctx context.Context, req *ABCIQueryRequest) (*ABCIQueryResponse, error)
func (*UnimplementedTendermintProxyServiceServer) BroadcastTxAsync ¶
func (*UnimplementedTendermintProxyServiceServer) BroadcastTxAsync(ctx context.Context, req *BroadcastTxAsyncRequest) (*BroadcastTxAsyncResponse, error)
func (*UnimplementedTendermintProxyServiceServer) BroadcastTxSync ¶
func (*UnimplementedTendermintProxyServiceServer) BroadcastTxSync(ctx context.Context, req *BroadcastTxSyncRequest) (*BroadcastTxSyncResponse, error)
func (*UnimplementedTendermintProxyServiceServer) GetBlockByHeight ¶
func (*UnimplementedTendermintProxyServiceServer) GetBlockByHeight(ctx context.Context, req *GetBlockByHeightRequest) (*GetBlockByHeightResponse, error)
func (*UnimplementedTendermintProxyServiceServer) GetStatus ¶
func (*UnimplementedTendermintProxyServiceServer) GetStatus(ctx context.Context, req *GetStatusRequest) (*GetStatusResponse, error)
func (*UnimplementedTendermintProxyServiceServer) GetTx ¶
func (*UnimplementedTendermintProxyServiceServer) GetTx(ctx context.Context, req *GetTxRequest) (*GetTxResponse, error)