Documentation ¶
Index ¶
- Variables
- func RegisterBlockResultsServiceServer(s grpc1.Server, srv BlockResultsServiceServer)
- type BlockResultsServiceClient
- type BlockResultsServiceServer
- type GetBlockResultsRequest
- func (*GetBlockResultsRequest) Descriptor() ([]byte, []int)
- func (m *GetBlockResultsRequest) GetHeight() int64
- func (m *GetBlockResultsRequest) Marshal() (dAtA []byte, err error)
- func (m *GetBlockResultsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockResultsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockResultsRequest) ProtoMessage()
- func (m *GetBlockResultsRequest) Reset()
- func (m *GetBlockResultsRequest) Size() (n int)
- func (m *GetBlockResultsRequest) String() string
- func (m *GetBlockResultsRequest) Unmarshal(dAtA []byte) error
- func (m *GetBlockResultsRequest) XXX_DiscardUnknown()
- func (m *GetBlockResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockResultsRequest) XXX_Merge(src proto.Message)
- func (m *GetBlockResultsRequest) XXX_Size() int
- func (m *GetBlockResultsRequest) XXX_Unmarshal(b []byte) error
- type GetBlockResultsResponse
- func (*GetBlockResultsResponse) Descriptor() ([]byte, []int)
- func (m *GetBlockResultsResponse) GetAppHash() []byte
- func (m *GetBlockResultsResponse) GetConsensusParamUpdates() *v11.ConsensusParams
- func (m *GetBlockResultsResponse) GetFinalizeBlockEvents() []*v1.Event
- func (m *GetBlockResultsResponse) GetHeight() int64
- func (m *GetBlockResultsResponse) GetTxResults() []*v1.ExecTxResult
- func (m *GetBlockResultsResponse) GetValidatorUpdates() []*v1.ValidatorUpdate
- func (m *GetBlockResultsResponse) Marshal() (dAtA []byte, err error)
- func (m *GetBlockResultsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GetBlockResultsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GetBlockResultsResponse) ProtoMessage()
- func (m *GetBlockResultsResponse) Reset()
- func (m *GetBlockResultsResponse) Size() (n int)
- func (m *GetBlockResultsResponse) String() string
- func (m *GetBlockResultsResponse) Unmarshal(dAtA []byte) error
- func (m *GetBlockResultsResponse) XXX_DiscardUnknown()
- func (m *GetBlockResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetBlockResultsResponse) XXX_Merge(src proto.Message)
- func (m *GetBlockResultsResponse) XXX_Size() int
- func (m *GetBlockResultsResponse) XXX_Unmarshal(b []byte) error
- type UnimplementedBlockResultsServiceServer
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterBlockResultsServiceServer ¶
func RegisterBlockResultsServiceServer(s grpc1.Server, srv BlockResultsServiceServer)
Types ¶
type BlockResultsServiceClient ¶
type BlockResultsServiceClient interface { // GetBlockResults returns the BlockResults of the requested height. GetBlockResults(ctx context.Context, in *GetBlockResultsRequest, opts ...grpc.CallOption) (*GetBlockResultsResponse, error) }
BlockResultsServiceClient is the client API for BlockResultsService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewBlockResultsServiceClient ¶
func NewBlockResultsServiceClient(cc grpc1.ClientConn) BlockResultsServiceClient
type BlockResultsServiceServer ¶
type BlockResultsServiceServer interface { // GetBlockResults returns the BlockResults of the requested height. GetBlockResults(context.Context, *GetBlockResultsRequest) (*GetBlockResultsResponse, error) }
BlockResultsServiceServer is the server API for BlockResultsService service.
type GetBlockResultsRequest ¶
type GetBlockResultsRequest struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
GetBlockResults is a request for the BlockResults of a given height.
func (*GetBlockResultsRequest) Descriptor ¶
func (*GetBlockResultsRequest) Descriptor() ([]byte, []int)
func (*GetBlockResultsRequest) GetHeight ¶
func (m *GetBlockResultsRequest) GetHeight() int64
func (*GetBlockResultsRequest) Marshal ¶
func (m *GetBlockResultsRequest) Marshal() (dAtA []byte, err error)
func (*GetBlockResultsRequest) MarshalTo ¶
func (m *GetBlockResultsRequest) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockResultsRequest) MarshalToSizedBuffer ¶
func (m *GetBlockResultsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockResultsRequest) ProtoMessage ¶
func (*GetBlockResultsRequest) ProtoMessage()
func (*GetBlockResultsRequest) Reset ¶
func (m *GetBlockResultsRequest) Reset()
func (*GetBlockResultsRequest) Size ¶
func (m *GetBlockResultsRequest) Size() (n int)
func (*GetBlockResultsRequest) String ¶
func (m *GetBlockResultsRequest) String() string
func (*GetBlockResultsRequest) Unmarshal ¶
func (m *GetBlockResultsRequest) Unmarshal(dAtA []byte) error
func (*GetBlockResultsRequest) XXX_DiscardUnknown ¶
func (m *GetBlockResultsRequest) XXX_DiscardUnknown()
func (*GetBlockResultsRequest) XXX_Marshal ¶
func (m *GetBlockResultsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockResultsRequest) XXX_Merge ¶
func (m *GetBlockResultsRequest) XXX_Merge(src proto.Message)
func (*GetBlockResultsRequest) XXX_Size ¶
func (m *GetBlockResultsRequest) XXX_Size() int
func (*GetBlockResultsRequest) XXX_Unmarshal ¶
func (m *GetBlockResultsRequest) XXX_Unmarshal(b []byte) error
type GetBlockResultsResponse ¶
type GetBlockResultsResponse struct { Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` TxResults []*v1.ExecTxResult `protobuf:"bytes,2,rep,name=tx_results,json=txResults,proto3" json:"tx_results,omitempty"` FinalizeBlockEvents []*v1.Event `protobuf:"bytes,3,rep,name=finalize_block_events,json=finalizeBlockEvents,proto3" json:"finalize_block_events,omitempty"` ValidatorUpdates []*v1.ValidatorUpdate `protobuf:"bytes,4,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates,omitempty"` ConsensusParamUpdates *v11.ConsensusParams `` /* 126-byte string literal not displayed */ AppHash []byte `protobuf:"bytes,6,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"` }
GetBlockResultsResponse contains the block results for the given height.
func (*GetBlockResultsResponse) Descriptor ¶
func (*GetBlockResultsResponse) Descriptor() ([]byte, []int)
func (*GetBlockResultsResponse) GetAppHash ¶
func (m *GetBlockResultsResponse) GetAppHash() []byte
func (*GetBlockResultsResponse) GetConsensusParamUpdates ¶
func (m *GetBlockResultsResponse) GetConsensusParamUpdates() *v11.ConsensusParams
func (*GetBlockResultsResponse) GetFinalizeBlockEvents ¶
func (m *GetBlockResultsResponse) GetFinalizeBlockEvents() []*v1.Event
func (*GetBlockResultsResponse) GetHeight ¶
func (m *GetBlockResultsResponse) GetHeight() int64
func (*GetBlockResultsResponse) GetTxResults ¶
func (m *GetBlockResultsResponse) GetTxResults() []*v1.ExecTxResult
func (*GetBlockResultsResponse) GetValidatorUpdates ¶
func (m *GetBlockResultsResponse) GetValidatorUpdates() []*v1.ValidatorUpdate
func (*GetBlockResultsResponse) Marshal ¶
func (m *GetBlockResultsResponse) Marshal() (dAtA []byte, err error)
func (*GetBlockResultsResponse) MarshalTo ¶
func (m *GetBlockResultsResponse) MarshalTo(dAtA []byte) (int, error)
func (*GetBlockResultsResponse) MarshalToSizedBuffer ¶
func (m *GetBlockResultsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GetBlockResultsResponse) ProtoMessage ¶
func (*GetBlockResultsResponse) ProtoMessage()
func (*GetBlockResultsResponse) Reset ¶
func (m *GetBlockResultsResponse) Reset()
func (*GetBlockResultsResponse) Size ¶
func (m *GetBlockResultsResponse) Size() (n int)
func (*GetBlockResultsResponse) String ¶
func (m *GetBlockResultsResponse) String() string
func (*GetBlockResultsResponse) Unmarshal ¶
func (m *GetBlockResultsResponse) Unmarshal(dAtA []byte) error
func (*GetBlockResultsResponse) XXX_DiscardUnknown ¶
func (m *GetBlockResultsResponse) XXX_DiscardUnknown()
func (*GetBlockResultsResponse) XXX_Marshal ¶
func (m *GetBlockResultsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetBlockResultsResponse) XXX_Merge ¶
func (m *GetBlockResultsResponse) XXX_Merge(src proto.Message)
func (*GetBlockResultsResponse) XXX_Size ¶
func (m *GetBlockResultsResponse) XXX_Size() int
func (*GetBlockResultsResponse) XXX_Unmarshal ¶
func (m *GetBlockResultsResponse) XXX_Unmarshal(b []byte) error
type UnimplementedBlockResultsServiceServer ¶
type UnimplementedBlockResultsServiceServer struct { }
UnimplementedBlockResultsServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedBlockResultsServiceServer) GetBlockResults ¶
func (*UnimplementedBlockResultsServiceServer) GetBlockResults(ctx context.Context, req *GetBlockResultsRequest) (*GetBlockResultsResponse, error)
Click to show internal directories.
Click to hide internal directories.