Documentation ¶
Index ¶
- Constants
- Variables
- func NewValidatorUpdate(pk crypto.PubKey, power int64) types.ValidatorUpdate
- func ReadMessage(r io.Reader, msg proto.Message) error
- func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer)
- func WriteMessage(msg proto.Message, w io.Writer) error
- type ABCIApplicationClient
- type ABCIApplicationServer
- type Application
- type BaseApplication
- func (BaseApplication) ApplySnapshotChunk(req types.RequestApplySnapshotChunk) types.ResponseApplySnapshotChunk
- func (BaseApplication) BeginBlock(req RequestBeginBlock) types.ResponseBeginBlock
- func (BaseApplication) BeginRecheckTx(req RequestBeginRecheckTx) ResponseBeginRecheckTx
- func (BaseApplication) CheckTxAsync(req types.RequestCheckTx, callback CheckTxCallback)
- func (BaseApplication) CheckTxSync(req types.RequestCheckTx) ResponseCheckTx
- func (BaseApplication) Commit() types.ResponseCommit
- func (BaseApplication) DeliverTx(req types.RequestDeliverTx) types.ResponseDeliverTx
- func (BaseApplication) EndBlock(req types.RequestEndBlock) types.ResponseEndBlock
- func (BaseApplication) EndRecheckTx(req RequestEndRecheckTx) ResponseEndRecheckTx
- func (BaseApplication) Info(req types.RequestInfo) types.ResponseInfo
- func (BaseApplication) InitChain(req types.RequestInitChain) types.ResponseInitChain
- func (BaseApplication) ListSnapshots(req types.RequestListSnapshots) types.ResponseListSnapshots
- func (BaseApplication) LoadSnapshotChunk(req types.RequestLoadSnapshotChunk) types.ResponseLoadSnapshotChunk
- func (BaseApplication) OfferSnapshot(req types.RequestOfferSnapshot) types.ResponseOfferSnapshot
- func (BaseApplication) Query(req types.RequestQuery) types.ResponseQuery
- func (BaseApplication) SetOption(req types.RequestSetOption) types.ResponseSetOption
- type CheckTxCallback
- type GRPCApplication
- func (app *GRPCApplication) ApplySnapshotChunk(ctx context.Context, req *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
- func (app *GRPCApplication) BeginBlock(ctx context.Context, req *RequestBeginBlock) (*types.ResponseBeginBlock, error)
- func (app *GRPCApplication) BeginRecheckTx(ctx context.Context, req *RequestBeginRecheckTx) (*ResponseBeginRecheckTx, error)
- func (app *GRPCApplication) CheckTx(ctx context.Context, req *types.RequestCheckTx) (*ResponseCheckTx, error)
- func (app *GRPCApplication) Commit(ctx context.Context, req *types.RequestCommit) (*types.ResponseCommit, error)
- func (app *GRPCApplication) DeliverTx(ctx context.Context, req *types.RequestDeliverTx) (*types.ResponseDeliverTx, error)
- func (app *GRPCApplication) Echo(ctx context.Context, req *types.RequestEcho) (*types.ResponseEcho, error)
- func (app *GRPCApplication) EndBlock(ctx context.Context, req *types.RequestEndBlock) (*types.ResponseEndBlock, error)
- func (app *GRPCApplication) EndRecheckTx(ctx context.Context, req *RequestEndRecheckTx) (*ResponseEndRecheckTx, error)
- func (app *GRPCApplication) Flush(ctx context.Context, req *types.RequestFlush) (*types.ResponseFlush, error)
- func (app *GRPCApplication) Info(ctx context.Context, req *types.RequestInfo) (*types.ResponseInfo, error)
- func (app *GRPCApplication) InitChain(ctx context.Context, req *types.RequestInitChain) (*types.ResponseInitChain, error)
- func (app *GRPCApplication) ListSnapshots(ctx context.Context, req *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (app *GRPCApplication) LoadSnapshotChunk(ctx context.Context, req *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
- func (app *GRPCApplication) OfferSnapshot(ctx context.Context, req *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- func (app *GRPCApplication) Query(ctx context.Context, req *types.RequestQuery) (*types.ResponseQuery, error)
- func (app *GRPCApplication) SetOption(ctx context.Context, req *types.RequestSetOption) (*types.ResponseSetOption, error)
- type Request
- func ToRequestApplySnapshotChunk(req types.RequestApplySnapshotChunk) *Request
- func ToRequestBeginBlock(req RequestBeginBlock) *Request
- func ToRequestBeginRecheckTx(req RequestBeginRecheckTx) *Request
- func ToRequestCheckTx(req types.RequestCheckTx) *Request
- func ToRequestCommit() *Request
- func ToRequestDeliverTx(req types.RequestDeliverTx) *Request
- func ToRequestEcho(message string) *Request
- func ToRequestEndBlock(req types.RequestEndBlock) *Request
- func ToRequestEndRecheckTx(req RequestEndRecheckTx) *Request
- func ToRequestFlush() *Request
- func ToRequestInfo(req types.RequestInfo) *Request
- func ToRequestInitChain(req types.RequestInitChain) *Request
- func ToRequestListSnapshots(req types.RequestListSnapshots) *Request
- func ToRequestLoadSnapshotChunk(req types.RequestLoadSnapshotChunk) *Request
- func ToRequestOfferSnapshot(req types.RequestOfferSnapshot) *Request
- func ToRequestQuery(req types.RequestQuery) *Request
- func ToRequestSetOption(req types.RequestSetOption) *Request
- func (*Request) Descriptor() ([]byte, []int)
- func (m *Request) GetApplySnapshotChunk() *types.RequestApplySnapshotChunk
- func (m *Request) GetBeginBlock() *RequestBeginBlock
- func (m *Request) GetBeginRecheckTx() *RequestBeginRecheckTx
- func (m *Request) GetCheckTx() *types.RequestCheckTx
- func (m *Request) GetCommit() *types.RequestCommit
- func (m *Request) GetDeliverTx() *types.RequestDeliverTx
- func (m *Request) GetEcho() *types.RequestEcho
- func (m *Request) GetEndBlock() *types.RequestEndBlock
- func (m *Request) GetEndRecheckTx() *RequestEndRecheckTx
- func (m *Request) GetFlush() *types.RequestFlush
- func (m *Request) GetInfo() *types.RequestInfo
- func (m *Request) GetInitChain() *types.RequestInitChain
- func (m *Request) GetListSnapshots() *types.RequestListSnapshots
- func (m *Request) GetLoadSnapshotChunk() *types.RequestLoadSnapshotChunk
- func (m *Request) GetOfferSnapshot() *types.RequestOfferSnapshot
- func (m *Request) GetQuery() *types.RequestQuery
- func (m *Request) GetSetOption() *types.RequestSetOption
- func (m *Request) GetValue() isRequest_Value
- func (m *Request) Marshal() (dAtA []byte, err error)
- func (m *Request) MarshalTo(dAtA []byte) (int, error)
- func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Request) ProtoMessage()
- func (m *Request) Reset()
- func (m *Request) Size() (n int)
- func (m *Request) String() string
- func (m *Request) Unmarshal(dAtA []byte) error
- func (m *Request) XXX_DiscardUnknown()
- func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Request) XXX_Merge(src proto.Message)
- func (*Request) XXX_OneofWrappers() []interface{}
- func (m *Request) XXX_Size() int
- func (m *Request) XXX_Unmarshal(b []byte) error
- type RequestBeginBlock
- func (*RequestBeginBlock) Descriptor() ([]byte, []int)
- func (m *RequestBeginBlock) GetByzantineValidators() []types.Evidence
- func (m *RequestBeginBlock) GetEntropy() types2.Entropy
- func (m *RequestBeginBlock) GetHash() []byte
- func (m *RequestBeginBlock) GetHeader() types1.Header
- func (m *RequestBeginBlock) GetLastCommitInfo() types.LastCommitInfo
- func (m *RequestBeginBlock) Marshal() (dAtA []byte, err error)
- func (m *RequestBeginBlock) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestBeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestBeginBlock) ProtoMessage()
- func (m *RequestBeginBlock) Reset()
- func (m *RequestBeginBlock) Size() (n int)
- func (m *RequestBeginBlock) String() string
- func (m *RequestBeginBlock) Unmarshal(dAtA []byte) error
- func (m *RequestBeginBlock) XXX_DiscardUnknown()
- func (m *RequestBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestBeginBlock) XXX_Merge(src proto.Message)
- func (m *RequestBeginBlock) XXX_Size() int
- func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error
- type RequestBeginRecheckTx
- func (*RequestBeginRecheckTx) Descriptor() ([]byte, []int)
- func (m *RequestBeginRecheckTx) GetHeader() types1.Header
- func (m *RequestBeginRecheckTx) Marshal() (dAtA []byte, err error)
- func (m *RequestBeginRecheckTx) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestBeginRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestBeginRecheckTx) ProtoMessage()
- func (m *RequestBeginRecheckTx) Reset()
- func (m *RequestBeginRecheckTx) Size() (n int)
- func (m *RequestBeginRecheckTx) String() string
- func (m *RequestBeginRecheckTx) Unmarshal(dAtA []byte) error
- func (m *RequestBeginRecheckTx) XXX_DiscardUnknown()
- func (m *RequestBeginRecheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestBeginRecheckTx) XXX_Merge(src proto.Message)
- func (m *RequestBeginRecheckTx) XXX_Size() int
- func (m *RequestBeginRecheckTx) XXX_Unmarshal(b []byte) error
- type RequestEndRecheckTx
- func (*RequestEndRecheckTx) Descriptor() ([]byte, []int)
- func (m *RequestEndRecheckTx) GetHeight() int64
- func (m *RequestEndRecheckTx) Marshal() (dAtA []byte, err error)
- func (m *RequestEndRecheckTx) MarshalTo(dAtA []byte) (int, error)
- func (m *RequestEndRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RequestEndRecheckTx) ProtoMessage()
- func (m *RequestEndRecheckTx) Reset()
- func (m *RequestEndRecheckTx) Size() (n int)
- func (m *RequestEndRecheckTx) String() string
- func (m *RequestEndRecheckTx) Unmarshal(dAtA []byte) error
- func (m *RequestEndRecheckTx) XXX_DiscardUnknown()
- func (m *RequestEndRecheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestEndRecheckTx) XXX_Merge(src proto.Message)
- func (m *RequestEndRecheckTx) XXX_Size() int
- func (m *RequestEndRecheckTx) XXX_Unmarshal(b []byte) error
- type Request_ApplySnapshotChunk
- type Request_BeginBlock
- type Request_BeginRecheckTx
- type Request_CheckTx
- type Request_Commit
- type Request_DeliverTx
- type Request_Echo
- type Request_EndBlock
- type Request_EndRecheckTx
- type Request_Flush
- type Request_Info
- type Request_InitChain
- type Request_ListSnapshots
- type Request_LoadSnapshotChunk
- type Request_OfferSnapshot
- type Request_Query
- type Request_SetOption
- type Response
- func ToResponseApplySnapshotChunk(res types.ResponseApplySnapshotChunk) *Response
- func ToResponseBeginBlock(res types.ResponseBeginBlock) *Response
- func ToResponseBeginRecheckTx(res ResponseBeginRecheckTx) *Response
- func ToResponseCheckTx(res ResponseCheckTx) *Response
- func ToResponseCommit(res types.ResponseCommit) *Response
- func ToResponseDeliverTx(res types.ResponseDeliverTx) *Response
- func ToResponseEcho(message string) *Response
- func ToResponseEndBlock(res types.ResponseEndBlock) *Response
- func ToResponseEndRecheckTx(res ResponseEndRecheckTx) *Response
- func ToResponseException(errStr string) *Response
- func ToResponseFlush() *Response
- func ToResponseInfo(res types.ResponseInfo) *Response
- func ToResponseInitChain(res types.ResponseInitChain) *Response
- func ToResponseListSnapshots(res types.ResponseListSnapshots) *Response
- func ToResponseLoadSnapshotChunk(res types.ResponseLoadSnapshotChunk) *Response
- func ToResponseOfferSnapshot(res types.ResponseOfferSnapshot) *Response
- func ToResponseQuery(res types.ResponseQuery) *Response
- func ToResponseSetOption(res types.ResponseSetOption) *Response
- func (*Response) Descriptor() ([]byte, []int)
- func (m *Response) GetApplySnapshotChunk() *types.ResponseApplySnapshotChunk
- func (m *Response) GetBeginBlock() *types.ResponseBeginBlock
- func (m *Response) GetBeginRecheckTx() *ResponseBeginRecheckTx
- func (m *Response) GetCheckTx() *ResponseCheckTx
- func (m *Response) GetCommit() *types.ResponseCommit
- func (m *Response) GetDeliverTx() *types.ResponseDeliverTx
- func (m *Response) GetEcho() *types.ResponseEcho
- func (m *Response) GetEndBlock() *types.ResponseEndBlock
- func (m *Response) GetEndRecheckTx() *ResponseEndRecheckTx
- func (m *Response) GetException() *types.ResponseException
- func (m *Response) GetFlush() *types.ResponseFlush
- func (m *Response) GetInfo() *types.ResponseInfo
- func (m *Response) GetInitChain() *types.ResponseInitChain
- func (m *Response) GetListSnapshots() *types.ResponseListSnapshots
- func (m *Response) GetLoadSnapshotChunk() *types.ResponseLoadSnapshotChunk
- func (m *Response) GetOfferSnapshot() *types.ResponseOfferSnapshot
- func (m *Response) GetQuery() *types.ResponseQuery
- func (m *Response) GetSetOption() *types.ResponseSetOption
- func (m *Response) GetValue() isResponse_Value
- func (m *Response) Marshal() (dAtA []byte, err error)
- func (m *Response) MarshalTo(dAtA []byte) (int, error)
- func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Response) ProtoMessage()
- func (m *Response) Reset()
- func (m *Response) Size() (n int)
- func (m *Response) String() string
- func (m *Response) Unmarshal(dAtA []byte) error
- func (m *Response) XXX_DiscardUnknown()
- func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Response) XXX_Merge(src proto.Message)
- func (*Response) XXX_OneofWrappers() []interface{}
- func (m *Response) XXX_Size() int
- func (m *Response) XXX_Unmarshal(b []byte) error
- type ResponseBeginRecheckTx
- func (*ResponseBeginRecheckTx) Descriptor() ([]byte, []int)
- func (m *ResponseBeginRecheckTx) GetCode() uint32
- func (m *ResponseBeginRecheckTx) Marshal() (dAtA []byte, err error)
- func (m *ResponseBeginRecheckTx) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseBeginRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseBeginRecheckTx) ProtoMessage()
- func (m *ResponseBeginRecheckTx) Reset()
- func (m *ResponseBeginRecheckTx) Size() (n int)
- func (m *ResponseBeginRecheckTx) String() string
- func (m *ResponseBeginRecheckTx) Unmarshal(dAtA []byte) error
- func (m *ResponseBeginRecheckTx) XXX_DiscardUnknown()
- func (m *ResponseBeginRecheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseBeginRecheckTx) XXX_Merge(src proto.Message)
- func (m *ResponseBeginRecheckTx) XXX_Size() int
- func (m *ResponseBeginRecheckTx) XXX_Unmarshal(b []byte) error
- type ResponseCheckTx
- func (*ResponseCheckTx) Descriptor() ([]byte, []int)
- func (m *ResponseCheckTx) GetCode() uint32
- func (m *ResponseCheckTx) GetCodespace() string
- func (m *ResponseCheckTx) GetData() []byte
- func (m *ResponseCheckTx) GetEvents() []types.Event
- func (m *ResponseCheckTx) GetGasUsed() int64
- func (m *ResponseCheckTx) GetGasWanted() int64
- func (m *ResponseCheckTx) GetInfo() string
- func (m *ResponseCheckTx) GetLog() string
- func (m *ResponseCheckTx) GetMempoolError() string
- func (m *ResponseCheckTx) GetPriority() int64
- func (m *ResponseCheckTx) GetSender() string
- func (r ResponseCheckTx) IsErr() bool
- func (r ResponseCheckTx) IsOK() bool
- func (m *ResponseCheckTx) Marshal() (dAtA []byte, err error)
- func (r *ResponseCheckTx) MarshalJSON() ([]byte, error)
- func (m *ResponseCheckTx) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseCheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseCheckTx) ProtoMessage()
- func (m *ResponseCheckTx) Reset()
- func (m *ResponseCheckTx) Size() (n int)
- func (m *ResponseCheckTx) String() string
- func (m *ResponseCheckTx) Unmarshal(dAtA []byte) error
- func (r *ResponseCheckTx) UnmarshalJSON(b []byte) error
- func (m *ResponseCheckTx) XXX_DiscardUnknown()
- func (m *ResponseCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseCheckTx) XXX_Merge(src proto.Message)
- func (m *ResponseCheckTx) XXX_Size() int
- func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error
- type ResponseEndRecheckTx
- func (*ResponseEndRecheckTx) Descriptor() ([]byte, []int)
- func (m *ResponseEndRecheckTx) GetCode() uint32
- func (m *ResponseEndRecheckTx) Marshal() (dAtA []byte, err error)
- func (m *ResponseEndRecheckTx) MarshalTo(dAtA []byte) (int, error)
- func (m *ResponseEndRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ResponseEndRecheckTx) ProtoMessage()
- func (m *ResponseEndRecheckTx) Reset()
- func (m *ResponseEndRecheckTx) Size() (n int)
- func (m *ResponseEndRecheckTx) String() string
- func (m *ResponseEndRecheckTx) Unmarshal(dAtA []byte) error
- func (m *ResponseEndRecheckTx) XXX_DiscardUnknown()
- func (m *ResponseEndRecheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseEndRecheckTx) XXX_Merge(src proto.Message)
- func (m *ResponseEndRecheckTx) XXX_Size() int
- func (m *ResponseEndRecheckTx) XXX_Unmarshal(b []byte) error
- type Response_ApplySnapshotChunk
- type Response_BeginBlock
- type Response_BeginRecheckTx
- type Response_CheckTx
- type Response_Commit
- type Response_DeliverTx
- type Response_Echo
- type Response_EndBlock
- type Response_EndRecheckTx
- type Response_Exception
- type Response_Flush
- type Response_Info
- type Response_InitChain
- type Response_ListSnapshots
- type Response_LoadSnapshotChunk
- type Response_OfferSnapshot
- type Response_Query
- type Response_SetOption
- type UnimplementedABCIApplicationServer
- func (*UnimplementedABCIApplicationServer) ApplySnapshotChunk(ctx context.Context, req *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
- func (*UnimplementedABCIApplicationServer) BeginBlock(ctx context.Context, req *RequestBeginBlock) (*types.ResponseBeginBlock, error)
- func (*UnimplementedABCIApplicationServer) BeginRecheckTx(ctx context.Context, req *RequestBeginRecheckTx) (*ResponseBeginRecheckTx, error)
- func (*UnimplementedABCIApplicationServer) CheckTx(ctx context.Context, req *types.RequestCheckTx) (*ResponseCheckTx, error)
- func (*UnimplementedABCIApplicationServer) Commit(ctx context.Context, req *types.RequestCommit) (*types.ResponseCommit, error)
- func (*UnimplementedABCIApplicationServer) DeliverTx(ctx context.Context, req *types.RequestDeliverTx) (*types.ResponseDeliverTx, error)
- func (*UnimplementedABCIApplicationServer) Echo(ctx context.Context, req *types.RequestEcho) (*types.ResponseEcho, error)
- func (*UnimplementedABCIApplicationServer) EndBlock(ctx context.Context, req *types.RequestEndBlock) (*types.ResponseEndBlock, error)
- func (*UnimplementedABCIApplicationServer) EndRecheckTx(ctx context.Context, req *RequestEndRecheckTx) (*ResponseEndRecheckTx, error)
- func (*UnimplementedABCIApplicationServer) Flush(ctx context.Context, req *types.RequestFlush) (*types.ResponseFlush, error)
- func (*UnimplementedABCIApplicationServer) Info(ctx context.Context, req *types.RequestInfo) (*types.ResponseInfo, error)
- func (*UnimplementedABCIApplicationServer) InitChain(ctx context.Context, req *types.RequestInitChain) (*types.ResponseInitChain, error)
- func (*UnimplementedABCIApplicationServer) ListSnapshots(ctx context.Context, req *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
- func (*UnimplementedABCIApplicationServer) LoadSnapshotChunk(ctx context.Context, req *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
- func (*UnimplementedABCIApplicationServer) OfferSnapshot(ctx context.Context, req *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
- func (*UnimplementedABCIApplicationServer) Query(ctx context.Context, req *types.RequestQuery) (*types.ResponseQuery, error)
- func (*UnimplementedABCIApplicationServer) SetOption(ctx context.Context, req *types.RequestSetOption) (*types.ResponseSetOption, error)
- type ValidatorUpdates
Constants ¶
const (
CodeTypeOK uint32 = 0
)
Variables ¶
Functions ¶
func NewValidatorUpdate ¶
func NewValidatorUpdate(pk crypto.PubKey, power int64) types.ValidatorUpdate
func ReadMessage ¶
ReadMessage reads a varint length-delimited protobuf message.
func RegisterABCIApplicationServer ¶
func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer)
Types ¶
type ABCIApplicationClient ¶
type ABCIApplicationClient interface { Echo(ctx context.Context, in *types.RequestEcho, opts ...grpc.CallOption) (*types.ResponseEcho, error) Flush(ctx context.Context, in *types.RequestFlush, opts ...grpc.CallOption) (*types.ResponseFlush, error) Info(ctx context.Context, in *types.RequestInfo, opts ...grpc.CallOption) (*types.ResponseInfo, error) SetOption(ctx context.Context, in *types.RequestSetOption, opts ...grpc.CallOption) (*types.ResponseSetOption, error) DeliverTx(ctx context.Context, in *types.RequestDeliverTx, opts ...grpc.CallOption) (*types.ResponseDeliverTx, error) CheckTx(ctx context.Context, in *types.RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error) Query(ctx context.Context, in *types.RequestQuery, opts ...grpc.CallOption) (*types.ResponseQuery, error) Commit(ctx context.Context, in *types.RequestCommit, opts ...grpc.CallOption) (*types.ResponseCommit, error) InitChain(ctx context.Context, in *types.RequestInitChain, opts ...grpc.CallOption) (*types.ResponseInitChain, error) BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*types.ResponseBeginBlock, error) EndBlock(ctx context.Context, in *types.RequestEndBlock, opts ...grpc.CallOption) (*types.ResponseEndBlock, error) ListSnapshots(ctx context.Context, in *types.RequestListSnapshots, opts ...grpc.CallOption) (*types.ResponseListSnapshots, error) OfferSnapshot(ctx context.Context, in *types.RequestOfferSnapshot, opts ...grpc.CallOption) (*types.ResponseOfferSnapshot, error) LoadSnapshotChunk(ctx context.Context, in *types.RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*types.ResponseLoadSnapshotChunk, error) ApplySnapshotChunk(ctx context.Context, in *types.RequestApplySnapshotChunk, opts ...grpc.CallOption) (*types.ResponseApplySnapshotChunk, error) BeginRecheckTx(ctx context.Context, in *RequestBeginRecheckTx, opts ...grpc.CallOption) (*ResponseBeginRecheckTx, error) EndRecheckTx(ctx context.Context, in *RequestEndRecheckTx, opts ...grpc.CallOption) (*ResponseEndRecheckTx, error) }
ABCIApplicationClient is the client API for ABCIApplication service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewABCIApplicationClient ¶
func NewABCIApplicationClient(cc *grpc.ClientConn) ABCIApplicationClient
type ABCIApplicationServer ¶
type ABCIApplicationServer interface { Echo(context.Context, *types.RequestEcho) (*types.ResponseEcho, error) Flush(context.Context, *types.RequestFlush) (*types.ResponseFlush, error) Info(context.Context, *types.RequestInfo) (*types.ResponseInfo, error) SetOption(context.Context, *types.RequestSetOption) (*types.ResponseSetOption, error) DeliverTx(context.Context, *types.RequestDeliverTx) (*types.ResponseDeliverTx, error) CheckTx(context.Context, *types.RequestCheckTx) (*ResponseCheckTx, error) Query(context.Context, *types.RequestQuery) (*types.ResponseQuery, error) Commit(context.Context, *types.RequestCommit) (*types.ResponseCommit, error) InitChain(context.Context, *types.RequestInitChain) (*types.ResponseInitChain, error) BeginBlock(context.Context, *RequestBeginBlock) (*types.ResponseBeginBlock, error) EndBlock(context.Context, *types.RequestEndBlock) (*types.ResponseEndBlock, error) ListSnapshots(context.Context, *types.RequestListSnapshots) (*types.ResponseListSnapshots, error) OfferSnapshot(context.Context, *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error) LoadSnapshotChunk(context.Context, *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error) ApplySnapshotChunk(context.Context, *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error) BeginRecheckTx(context.Context, *RequestBeginRecheckTx) (*ResponseBeginRecheckTx, error) EndRecheckTx(context.Context, *RequestEndRecheckTx) (*ResponseEndRecheckTx, error) }
ABCIApplicationServer is the server API for ABCIApplication service.
type Application ¶
type Application interface { // Info/Query Connection Info(types.RequestInfo) types.ResponseInfo // Return application info SetOption(types.RequestSetOption) types.ResponseSetOption // Set application option Query(types.RequestQuery) types.ResponseQuery // Query for state // Mempool Connection CheckTxSync(types.RequestCheckTx) ResponseCheckTx // Validate a tx for the mempool CheckTxAsync(types.RequestCheckTx, CheckTxCallback) // Asynchronously validate a tx for the mempool BeginRecheckTx(RequestBeginRecheckTx) ResponseBeginRecheckTx // Signals the beginning of rechecking EndRecheckTx(RequestEndRecheckTx) ResponseEndRecheckTx // Signals the end of rechecking // Consensus Connection InitChain(types.RequestInitChain) types.ResponseInitChain // Initialize blockchain w validators/other info from OstraconCore BeginBlock(RequestBeginBlock) types.ResponseBeginBlock // Signals the beginning of a block DeliverTx(types.RequestDeliverTx) types.ResponseDeliverTx // Deliver a tx for full processing EndBlock(types.RequestEndBlock) types.ResponseEndBlock // Signals the end of a block, returns changes to the validator set Commit() types.ResponseCommit // Commit the state and return the application Merkle root hash // State Sync Connection ListSnapshots(types.RequestListSnapshots) types.ResponseListSnapshots // List available snapshots OfferSnapshot(types.RequestOfferSnapshot) types.ResponseOfferSnapshot // Offer a snapshot to the application LoadSnapshotChunk(types.RequestLoadSnapshotChunk) types.ResponseLoadSnapshotChunk // Load a snapshot chunk ApplySnapshotChunk(types.RequestApplySnapshotChunk) types.ResponseApplySnapshotChunk // Apply a shapshot chunk }
Application is an interface that enables any finite, deterministic state machine to be driven by a blockchain-based replication engine via the ABCI. All methods take a RequestXxx argument and return a ResponseXxx argument, except CheckTx/DeliverTx, which take `tx []byte`, and `Commit`, which takes nothing.
type BaseApplication ¶
type BaseApplication struct { }
func NewBaseApplication ¶
func NewBaseApplication() *BaseApplication
func (BaseApplication) ApplySnapshotChunk ¶
func (BaseApplication) ApplySnapshotChunk(req types.RequestApplySnapshotChunk) types.ResponseApplySnapshotChunk
func (BaseApplication) BeginBlock ¶
func (BaseApplication) BeginBlock(req RequestBeginBlock) types.ResponseBeginBlock
func (BaseApplication) BeginRecheckTx ¶
func (BaseApplication) BeginRecheckTx(req RequestBeginRecheckTx) ResponseBeginRecheckTx
func (BaseApplication) CheckTxAsync ¶
func (BaseApplication) CheckTxAsync(req types.RequestCheckTx, callback CheckTxCallback)
func (BaseApplication) CheckTxSync ¶
func (BaseApplication) CheckTxSync(req types.RequestCheckTx) ResponseCheckTx
func (BaseApplication) Commit ¶
func (BaseApplication) Commit() types.ResponseCommit
func (BaseApplication) DeliverTx ¶
func (BaseApplication) DeliverTx(req types.RequestDeliverTx) types.ResponseDeliverTx
func (BaseApplication) EndBlock ¶
func (BaseApplication) EndBlock(req types.RequestEndBlock) types.ResponseEndBlock
func (BaseApplication) EndRecheckTx ¶
func (BaseApplication) EndRecheckTx(req RequestEndRecheckTx) ResponseEndRecheckTx
func (BaseApplication) Info ¶
func (BaseApplication) Info(req types.RequestInfo) types.ResponseInfo
func (BaseApplication) InitChain ¶
func (BaseApplication) InitChain(req types.RequestInitChain) types.ResponseInitChain
func (BaseApplication) ListSnapshots ¶
func (BaseApplication) ListSnapshots(req types.RequestListSnapshots) types.ResponseListSnapshots
func (BaseApplication) LoadSnapshotChunk ¶
func (BaseApplication) LoadSnapshotChunk(req types.RequestLoadSnapshotChunk) types.ResponseLoadSnapshotChunk
func (BaseApplication) OfferSnapshot ¶
func (BaseApplication) OfferSnapshot(req types.RequestOfferSnapshot) types.ResponseOfferSnapshot
func (BaseApplication) Query ¶
func (BaseApplication) Query(req types.RequestQuery) types.ResponseQuery
func (BaseApplication) SetOption ¶
func (BaseApplication) SetOption(req types.RequestSetOption) types.ResponseSetOption
type CheckTxCallback ¶
type CheckTxCallback func(ResponseCheckTx)
type GRPCApplication ¶
type GRPCApplication struct {
// contains filtered or unexported fields
}
GRPCApplication is a GRPC wrapper for Application
func NewGRPCApplication ¶
func NewGRPCApplication(app Application) *GRPCApplication
func (*GRPCApplication) ApplySnapshotChunk ¶
func (app *GRPCApplication) ApplySnapshotChunk( ctx context.Context, req *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
func (*GRPCApplication) BeginBlock ¶
func (app *GRPCApplication) BeginBlock(ctx context.Context, req *RequestBeginBlock) (*types.ResponseBeginBlock, error)
func (*GRPCApplication) BeginRecheckTx ¶
func (app *GRPCApplication) BeginRecheckTx(ctx context.Context, req *RequestBeginRecheckTx) ( *ResponseBeginRecheckTx, error)
func (*GRPCApplication) CheckTx ¶
func (app *GRPCApplication) CheckTx(ctx context.Context, req *types.RequestCheckTx) (*ResponseCheckTx, error)
func (*GRPCApplication) Commit ¶
func (app *GRPCApplication) Commit(ctx context.Context, req *types.RequestCommit) (*types.ResponseCommit, error)
func (*GRPCApplication) DeliverTx ¶
func (app *GRPCApplication) DeliverTx(ctx context.Context, req *types.RequestDeliverTx) (*types.ResponseDeliverTx, error)
func (*GRPCApplication) Echo ¶
func (app *GRPCApplication) Echo(ctx context.Context, req *types.RequestEcho) (*types.ResponseEcho, error)
func (*GRPCApplication) EndBlock ¶
func (app *GRPCApplication) EndBlock(ctx context.Context, req *types.RequestEndBlock) (*types.ResponseEndBlock, error)
func (*GRPCApplication) EndRecheckTx ¶
func (app *GRPCApplication) EndRecheckTx(ctx context.Context, req *RequestEndRecheckTx) (*ResponseEndRecheckTx, error)
func (*GRPCApplication) Flush ¶
func (app *GRPCApplication) Flush(ctx context.Context, req *types.RequestFlush) (*types.ResponseFlush, error)
func (*GRPCApplication) Info ¶
func (app *GRPCApplication) Info(ctx context.Context, req *types.RequestInfo) (*types.ResponseInfo, error)
func (*GRPCApplication) InitChain ¶
func (app *GRPCApplication) InitChain(ctx context.Context, req *types.RequestInitChain) (*types.ResponseInitChain, error)
func (*GRPCApplication) ListSnapshots ¶
func (app *GRPCApplication) ListSnapshots( ctx context.Context, req *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
func (*GRPCApplication) LoadSnapshotChunk ¶
func (app *GRPCApplication) LoadSnapshotChunk( ctx context.Context, req *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
func (*GRPCApplication) OfferSnapshot ¶
func (app *GRPCApplication) OfferSnapshot( ctx context.Context, req *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
func (*GRPCApplication) Query ¶
func (app *GRPCApplication) Query(ctx context.Context, req *types.RequestQuery) (*types.ResponseQuery, error)
func (*GRPCApplication) SetOption ¶
func (app *GRPCApplication) SetOption(ctx context.Context, req *types.RequestSetOption) (*types.ResponseSetOption, error)
type Request ¶
type Request struct { // Types that are valid to be assigned to Value: // *Request_Echo // *Request_Flush // *Request_Info // *Request_SetOption // *Request_InitChain // *Request_Query // *Request_BeginBlock // *Request_CheckTx // *Request_DeliverTx // *Request_EndBlock // *Request_Commit // *Request_ListSnapshots // *Request_OfferSnapshot // *Request_LoadSnapshotChunk // *Request_ApplySnapshotChunk // *Request_BeginRecheckTx // *Request_EndRecheckTx Value isRequest_Value `protobuf_oneof:"value"` }
func ToRequestApplySnapshotChunk ¶
func ToRequestApplySnapshotChunk(req types.RequestApplySnapshotChunk) *Request
func ToRequestBeginBlock ¶
func ToRequestBeginBlock(req RequestBeginBlock) *Request
func ToRequestBeginRecheckTx ¶
func ToRequestBeginRecheckTx(req RequestBeginRecheckTx) *Request
func ToRequestCheckTx ¶
func ToRequestCheckTx(req types.RequestCheckTx) *Request
func ToRequestCommit ¶
func ToRequestCommit() *Request
func ToRequestDeliverTx ¶
func ToRequestDeliverTx(req types.RequestDeliverTx) *Request
func ToRequestEcho ¶
func ToRequestEndBlock ¶
func ToRequestEndBlock(req types.RequestEndBlock) *Request
func ToRequestEndRecheckTx ¶
func ToRequestEndRecheckTx(req RequestEndRecheckTx) *Request
func ToRequestFlush ¶
func ToRequestFlush() *Request
func ToRequestInfo ¶
func ToRequestInfo(req types.RequestInfo) *Request
func ToRequestInitChain ¶
func ToRequestInitChain(req types.RequestInitChain) *Request
func ToRequestListSnapshots ¶
func ToRequestListSnapshots(req types.RequestListSnapshots) *Request
func ToRequestLoadSnapshotChunk ¶
func ToRequestLoadSnapshotChunk(req types.RequestLoadSnapshotChunk) *Request
func ToRequestOfferSnapshot ¶
func ToRequestOfferSnapshot(req types.RequestOfferSnapshot) *Request
func ToRequestQuery ¶
func ToRequestQuery(req types.RequestQuery) *Request
func ToRequestSetOption ¶
func ToRequestSetOption(req types.RequestSetOption) *Request
func (*Request) Descriptor ¶
func (*Request) GetApplySnapshotChunk ¶
func (m *Request) GetApplySnapshotChunk() *types.RequestApplySnapshotChunk
func (*Request) GetBeginBlock ¶
func (m *Request) GetBeginBlock() *RequestBeginBlock
func (*Request) GetBeginRecheckTx ¶
func (m *Request) GetBeginRecheckTx() *RequestBeginRecheckTx
func (*Request) GetCheckTx ¶
func (m *Request) GetCheckTx() *types.RequestCheckTx
func (*Request) GetCommit ¶
func (m *Request) GetCommit() *types.RequestCommit
func (*Request) GetDeliverTx ¶
func (m *Request) GetDeliverTx() *types.RequestDeliverTx
func (*Request) GetEcho ¶
func (m *Request) GetEcho() *types.RequestEcho
func (*Request) GetEndBlock ¶
func (m *Request) GetEndBlock() *types.RequestEndBlock
func (*Request) GetEndRecheckTx ¶
func (m *Request) GetEndRecheckTx() *RequestEndRecheckTx
func (*Request) GetFlush ¶
func (m *Request) GetFlush() *types.RequestFlush
func (*Request) GetInfo ¶
func (m *Request) GetInfo() *types.RequestInfo
func (*Request) GetInitChain ¶
func (m *Request) GetInitChain() *types.RequestInitChain
func (*Request) GetListSnapshots ¶
func (m *Request) GetListSnapshots() *types.RequestListSnapshots
func (*Request) GetLoadSnapshotChunk ¶
func (m *Request) GetLoadSnapshotChunk() *types.RequestLoadSnapshotChunk
func (*Request) GetOfferSnapshot ¶
func (m *Request) GetOfferSnapshot() *types.RequestOfferSnapshot
func (*Request) GetQuery ¶
func (m *Request) GetQuery() *types.RequestQuery
func (*Request) GetSetOption ¶
func (m *Request) GetSetOption() *types.RequestSetOption
func (*Request) MarshalToSizedBuffer ¶
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
func (*Request) XXX_DiscardUnknown ¶
func (m *Request) XXX_DiscardUnknown()
func (*Request) XXX_Marshal ¶
func (*Request) XXX_OneofWrappers ¶
func (*Request) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Request) XXX_Unmarshal ¶
type RequestBeginBlock ¶
type RequestBeginBlock struct { Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` Header types1.Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header"` LastCommitInfo types.LastCommitInfo `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo,proto3" json:"last_commit_info"` ByzantineValidators []types.Evidence `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators"` // *** Ostracon Extended Fields *** Entropy types2.Entropy `protobuf:"bytes,1000,opt,name=entropy,proto3" json:"entropy"` }
func (*RequestBeginBlock) Descriptor ¶
func (*RequestBeginBlock) Descriptor() ([]byte, []int)
func (*RequestBeginBlock) GetByzantineValidators ¶
func (m *RequestBeginBlock) GetByzantineValidators() []types.Evidence
func (*RequestBeginBlock) GetEntropy ¶
func (m *RequestBeginBlock) GetEntropy() types2.Entropy
func (*RequestBeginBlock) GetHash ¶
func (m *RequestBeginBlock) GetHash() []byte
func (*RequestBeginBlock) GetHeader ¶
func (m *RequestBeginBlock) GetHeader() types1.Header
func (*RequestBeginBlock) GetLastCommitInfo ¶
func (m *RequestBeginBlock) GetLastCommitInfo() types.LastCommitInfo
func (*RequestBeginBlock) Marshal ¶
func (m *RequestBeginBlock) Marshal() (dAtA []byte, err error)
func (*RequestBeginBlock) MarshalTo ¶
func (m *RequestBeginBlock) MarshalTo(dAtA []byte) (int, error)
func (*RequestBeginBlock) MarshalToSizedBuffer ¶
func (m *RequestBeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestBeginBlock) ProtoMessage ¶
func (*RequestBeginBlock) ProtoMessage()
func (*RequestBeginBlock) Reset ¶
func (m *RequestBeginBlock) Reset()
func (*RequestBeginBlock) Size ¶
func (m *RequestBeginBlock) Size() (n int)
func (*RequestBeginBlock) String ¶
func (m *RequestBeginBlock) String() string
func (*RequestBeginBlock) Unmarshal ¶
func (m *RequestBeginBlock) Unmarshal(dAtA []byte) error
func (*RequestBeginBlock) XXX_DiscardUnknown ¶
func (m *RequestBeginBlock) XXX_DiscardUnknown()
func (*RequestBeginBlock) XXX_Marshal ¶
func (m *RequestBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestBeginBlock) XXX_Merge ¶
func (m *RequestBeginBlock) XXX_Merge(src proto.Message)
func (*RequestBeginBlock) XXX_Size ¶
func (m *RequestBeginBlock) XXX_Size() int
func (*RequestBeginBlock) XXX_Unmarshal ¶
func (m *RequestBeginBlock) XXX_Unmarshal(b []byte) error
type RequestBeginRecheckTx ¶
type RequestBeginRecheckTx struct {
Header types1.Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header"`
}
func (*RequestBeginRecheckTx) Descriptor ¶
func (*RequestBeginRecheckTx) Descriptor() ([]byte, []int)
func (*RequestBeginRecheckTx) GetHeader ¶
func (m *RequestBeginRecheckTx) GetHeader() types1.Header
func (*RequestBeginRecheckTx) Marshal ¶
func (m *RequestBeginRecheckTx) Marshal() (dAtA []byte, err error)
func (*RequestBeginRecheckTx) MarshalTo ¶
func (m *RequestBeginRecheckTx) MarshalTo(dAtA []byte) (int, error)
func (*RequestBeginRecheckTx) MarshalToSizedBuffer ¶
func (m *RequestBeginRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestBeginRecheckTx) ProtoMessage ¶
func (*RequestBeginRecheckTx) ProtoMessage()
func (*RequestBeginRecheckTx) Reset ¶
func (m *RequestBeginRecheckTx) Reset()
func (*RequestBeginRecheckTx) Size ¶
func (m *RequestBeginRecheckTx) Size() (n int)
func (*RequestBeginRecheckTx) String ¶
func (m *RequestBeginRecheckTx) String() string
func (*RequestBeginRecheckTx) Unmarshal ¶
func (m *RequestBeginRecheckTx) Unmarshal(dAtA []byte) error
func (*RequestBeginRecheckTx) XXX_DiscardUnknown ¶
func (m *RequestBeginRecheckTx) XXX_DiscardUnknown()
func (*RequestBeginRecheckTx) XXX_Marshal ¶
func (m *RequestBeginRecheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestBeginRecheckTx) XXX_Merge ¶
func (m *RequestBeginRecheckTx) XXX_Merge(src proto.Message)
func (*RequestBeginRecheckTx) XXX_Size ¶
func (m *RequestBeginRecheckTx) XXX_Size() int
func (*RequestBeginRecheckTx) XXX_Unmarshal ¶
func (m *RequestBeginRecheckTx) XXX_Unmarshal(b []byte) error
type RequestEndRecheckTx ¶
type RequestEndRecheckTx struct {
Height int64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}
func (*RequestEndRecheckTx) Descriptor ¶
func (*RequestEndRecheckTx) Descriptor() ([]byte, []int)
func (*RequestEndRecheckTx) GetHeight ¶
func (m *RequestEndRecheckTx) GetHeight() int64
func (*RequestEndRecheckTx) Marshal ¶
func (m *RequestEndRecheckTx) Marshal() (dAtA []byte, err error)
func (*RequestEndRecheckTx) MarshalTo ¶
func (m *RequestEndRecheckTx) MarshalTo(dAtA []byte) (int, error)
func (*RequestEndRecheckTx) MarshalToSizedBuffer ¶
func (m *RequestEndRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RequestEndRecheckTx) ProtoMessage ¶
func (*RequestEndRecheckTx) ProtoMessage()
func (*RequestEndRecheckTx) Reset ¶
func (m *RequestEndRecheckTx) Reset()
func (*RequestEndRecheckTx) Size ¶
func (m *RequestEndRecheckTx) Size() (n int)
func (*RequestEndRecheckTx) String ¶
func (m *RequestEndRecheckTx) String() string
func (*RequestEndRecheckTx) Unmarshal ¶
func (m *RequestEndRecheckTx) Unmarshal(dAtA []byte) error
func (*RequestEndRecheckTx) XXX_DiscardUnknown ¶
func (m *RequestEndRecheckTx) XXX_DiscardUnknown()
func (*RequestEndRecheckTx) XXX_Marshal ¶
func (m *RequestEndRecheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestEndRecheckTx) XXX_Merge ¶
func (m *RequestEndRecheckTx) XXX_Merge(src proto.Message)
func (*RequestEndRecheckTx) XXX_Size ¶
func (m *RequestEndRecheckTx) XXX_Size() int
func (*RequestEndRecheckTx) XXX_Unmarshal ¶
func (m *RequestEndRecheckTx) XXX_Unmarshal(b []byte) error
type Request_ApplySnapshotChunk ¶
type Request_ApplySnapshotChunk struct {
ApplySnapshotChunk *types.RequestApplySnapshotChunk `protobuf:"bytes,15,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof" json:"apply_snapshot_chunk,omitempty"`
}
func (*Request_ApplySnapshotChunk) MarshalTo ¶
func (m *Request_ApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)
func (*Request_ApplySnapshotChunk) MarshalToSizedBuffer ¶
func (m *Request_ApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_ApplySnapshotChunk) Size ¶
func (m *Request_ApplySnapshotChunk) Size() (n int)
type Request_BeginBlock ¶
type Request_BeginBlock struct {
BeginBlock *RequestBeginBlock `protobuf:"bytes,7,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
}
func (*Request_BeginBlock) MarshalTo ¶
func (m *Request_BeginBlock) MarshalTo(dAtA []byte) (int, error)
func (*Request_BeginBlock) MarshalToSizedBuffer ¶
func (m *Request_BeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_BeginBlock) Size ¶
func (m *Request_BeginBlock) Size() (n int)
type Request_BeginRecheckTx ¶
type Request_BeginRecheckTx struct {
BeginRecheckTx *RequestBeginRecheckTx `protobuf:"bytes,1000,opt,name=begin_recheck_tx,json=beginRecheckTx,proto3,oneof" json:"begin_recheck_tx,omitempty"`
}
func (*Request_BeginRecheckTx) MarshalTo ¶
func (m *Request_BeginRecheckTx) MarshalTo(dAtA []byte) (int, error)
func (*Request_BeginRecheckTx) MarshalToSizedBuffer ¶
func (m *Request_BeginRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_BeginRecheckTx) Size ¶
func (m *Request_BeginRecheckTx) Size() (n int)
type Request_CheckTx ¶
type Request_CheckTx struct {
CheckTx *types.RequestCheckTx `protobuf:"bytes,8,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
}
func (*Request_CheckTx) MarshalToSizedBuffer ¶
func (m *Request_CheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_CheckTx) Size ¶
func (m *Request_CheckTx) Size() (n int)
type Request_Commit ¶
type Request_Commit struct {
Commit *types.RequestCommit `protobuf:"bytes,11,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}
func (*Request_Commit) MarshalToSizedBuffer ¶
func (m *Request_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Commit) Size ¶
func (m *Request_Commit) Size() (n int)
type Request_DeliverTx ¶
type Request_DeliverTx struct {
DeliverTx *types.RequestDeliverTx `protobuf:"bytes,9,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
}
func (*Request_DeliverTx) MarshalTo ¶
func (m *Request_DeliverTx) MarshalTo(dAtA []byte) (int, error)
func (*Request_DeliverTx) MarshalToSizedBuffer ¶
func (m *Request_DeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_DeliverTx) Size ¶
func (m *Request_DeliverTx) Size() (n int)
type Request_Echo ¶
type Request_Echo struct {
Echo *types.RequestEcho `protobuf:"bytes,1,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
}
func (*Request_Echo) MarshalToSizedBuffer ¶
func (m *Request_Echo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Echo) Size ¶
func (m *Request_Echo) Size() (n int)
type Request_EndBlock ¶
type Request_EndBlock struct {
EndBlock *types.RequestEndBlock `protobuf:"bytes,10,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
}
func (*Request_EndBlock) MarshalToSizedBuffer ¶
func (m *Request_EndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_EndBlock) Size ¶
func (m *Request_EndBlock) Size() (n int)
type Request_EndRecheckTx ¶
type Request_EndRecheckTx struct {
EndRecheckTx *RequestEndRecheckTx `protobuf:"bytes,1001,opt,name=end_recheck_tx,json=endRecheckTx,proto3,oneof" json:"end_recheck_tx,omitempty"`
}
func (*Request_EndRecheckTx) MarshalTo ¶
func (m *Request_EndRecheckTx) MarshalTo(dAtA []byte) (int, error)
func (*Request_EndRecheckTx) MarshalToSizedBuffer ¶
func (m *Request_EndRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_EndRecheckTx) Size ¶
func (m *Request_EndRecheckTx) Size() (n int)
type Request_Flush ¶
type Request_Flush struct {
Flush *types.RequestFlush `protobuf:"bytes,2,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
}
func (*Request_Flush) MarshalToSizedBuffer ¶
func (m *Request_Flush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Flush) Size ¶
func (m *Request_Flush) Size() (n int)
type Request_Info ¶
type Request_Info struct {
Info *types.RequestInfo `protobuf:"bytes,3,opt,name=info,proto3,oneof" json:"info,omitempty"`
}
func (*Request_Info) MarshalToSizedBuffer ¶
func (m *Request_Info) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Info) Size ¶
func (m *Request_Info) Size() (n int)
type Request_InitChain ¶
type Request_InitChain struct {
InitChain *types.RequestInitChain `protobuf:"bytes,5,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
}
func (*Request_InitChain) MarshalTo ¶
func (m *Request_InitChain) MarshalTo(dAtA []byte) (int, error)
func (*Request_InitChain) MarshalToSizedBuffer ¶
func (m *Request_InitChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_InitChain) Size ¶
func (m *Request_InitChain) Size() (n int)
type Request_ListSnapshots ¶
type Request_ListSnapshots struct {
ListSnapshots *types.RequestListSnapshots `protobuf:"bytes,12,opt,name=list_snapshots,json=listSnapshots,proto3,oneof" json:"list_snapshots,omitempty"`
}
func (*Request_ListSnapshots) MarshalTo ¶
func (m *Request_ListSnapshots) MarshalTo(dAtA []byte) (int, error)
func (*Request_ListSnapshots) MarshalToSizedBuffer ¶
func (m *Request_ListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_ListSnapshots) Size ¶
func (m *Request_ListSnapshots) Size() (n int)
type Request_LoadSnapshotChunk ¶
type Request_LoadSnapshotChunk struct {
LoadSnapshotChunk *types.RequestLoadSnapshotChunk `protobuf:"bytes,14,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof" json:"load_snapshot_chunk,omitempty"`
}
func (*Request_LoadSnapshotChunk) MarshalTo ¶
func (m *Request_LoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)
func (*Request_LoadSnapshotChunk) MarshalToSizedBuffer ¶
func (m *Request_LoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_LoadSnapshotChunk) Size ¶
func (m *Request_LoadSnapshotChunk) Size() (n int)
type Request_OfferSnapshot ¶
type Request_OfferSnapshot struct {
OfferSnapshot *types.RequestOfferSnapshot `protobuf:"bytes,13,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof" json:"offer_snapshot,omitempty"`
}
func (*Request_OfferSnapshot) MarshalTo ¶
func (m *Request_OfferSnapshot) MarshalTo(dAtA []byte) (int, error)
func (*Request_OfferSnapshot) MarshalToSizedBuffer ¶
func (m *Request_OfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_OfferSnapshot) Size ¶
func (m *Request_OfferSnapshot) Size() (n int)
type Request_Query ¶
type Request_Query struct {
Query *types.RequestQuery `protobuf:"bytes,6,opt,name=query,proto3,oneof" json:"query,omitempty"`
}
func (*Request_Query) MarshalToSizedBuffer ¶
func (m *Request_Query) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_Query) Size ¶
func (m *Request_Query) Size() (n int)
type Request_SetOption ¶
type Request_SetOption struct {
SetOption *types.RequestSetOption `protobuf:"bytes,4,opt,name=set_option,json=setOption,proto3,oneof" json:"set_option,omitempty"`
}
func (*Request_SetOption) MarshalTo ¶
func (m *Request_SetOption) MarshalTo(dAtA []byte) (int, error)
func (*Request_SetOption) MarshalToSizedBuffer ¶
func (m *Request_SetOption) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Request_SetOption) Size ¶
func (m *Request_SetOption) Size() (n int)
type Response ¶
type Response struct { // Types that are valid to be assigned to Value: // *Response_Exception // *Response_Echo // *Response_Flush // *Response_Info // *Response_SetOption // *Response_InitChain // *Response_Query // *Response_BeginBlock // *Response_CheckTx // *Response_DeliverTx // *Response_EndBlock // *Response_Commit // *Response_ListSnapshots // *Response_OfferSnapshot // *Response_LoadSnapshotChunk // *Response_ApplySnapshotChunk // *Response_BeginRecheckTx // *Response_EndRecheckTx Value isResponse_Value `protobuf_oneof:"value"` }
func ToResponseApplySnapshotChunk ¶
func ToResponseApplySnapshotChunk(res types.ResponseApplySnapshotChunk) *Response
func ToResponseBeginBlock ¶
func ToResponseBeginBlock(res types.ResponseBeginBlock) *Response
func ToResponseBeginRecheckTx ¶
func ToResponseBeginRecheckTx(res ResponseBeginRecheckTx) *Response
func ToResponseCheckTx ¶
func ToResponseCheckTx(res ResponseCheckTx) *Response
func ToResponseCommit ¶
func ToResponseCommit(res types.ResponseCommit) *Response
func ToResponseDeliverTx ¶
func ToResponseDeliverTx(res types.ResponseDeliverTx) *Response
func ToResponseEcho ¶
func ToResponseEndBlock ¶
func ToResponseEndBlock(res types.ResponseEndBlock) *Response
func ToResponseEndRecheckTx ¶
func ToResponseEndRecheckTx(res ResponseEndRecheckTx) *Response
func ToResponseException ¶
func ToResponseFlush ¶
func ToResponseFlush() *Response
func ToResponseInfo ¶
func ToResponseInfo(res types.ResponseInfo) *Response
func ToResponseInitChain ¶
func ToResponseInitChain(res types.ResponseInitChain) *Response
func ToResponseListSnapshots ¶
func ToResponseListSnapshots(res types.ResponseListSnapshots) *Response
func ToResponseLoadSnapshotChunk ¶
func ToResponseLoadSnapshotChunk(res types.ResponseLoadSnapshotChunk) *Response
func ToResponseOfferSnapshot ¶
func ToResponseOfferSnapshot(res types.ResponseOfferSnapshot) *Response
func ToResponseQuery ¶
func ToResponseQuery(res types.ResponseQuery) *Response
func ToResponseSetOption ¶
func ToResponseSetOption(res types.ResponseSetOption) *Response
func (*Response) Descriptor ¶
func (*Response) GetApplySnapshotChunk ¶
func (m *Response) GetApplySnapshotChunk() *types.ResponseApplySnapshotChunk
func (*Response) GetBeginBlock ¶
func (m *Response) GetBeginBlock() *types.ResponseBeginBlock
func (*Response) GetBeginRecheckTx ¶
func (m *Response) GetBeginRecheckTx() *ResponseBeginRecheckTx
func (*Response) GetCheckTx ¶
func (m *Response) GetCheckTx() *ResponseCheckTx
func (*Response) GetCommit ¶
func (m *Response) GetCommit() *types.ResponseCommit
func (*Response) GetDeliverTx ¶
func (m *Response) GetDeliverTx() *types.ResponseDeliverTx
func (*Response) GetEcho ¶
func (m *Response) GetEcho() *types.ResponseEcho
func (*Response) GetEndBlock ¶
func (m *Response) GetEndBlock() *types.ResponseEndBlock
func (*Response) GetEndRecheckTx ¶
func (m *Response) GetEndRecheckTx() *ResponseEndRecheckTx
func (*Response) GetException ¶
func (m *Response) GetException() *types.ResponseException
func (*Response) GetFlush ¶
func (m *Response) GetFlush() *types.ResponseFlush
func (*Response) GetInfo ¶
func (m *Response) GetInfo() *types.ResponseInfo
func (*Response) GetInitChain ¶
func (m *Response) GetInitChain() *types.ResponseInitChain
func (*Response) GetListSnapshots ¶
func (m *Response) GetListSnapshots() *types.ResponseListSnapshots
func (*Response) GetLoadSnapshotChunk ¶
func (m *Response) GetLoadSnapshotChunk() *types.ResponseLoadSnapshotChunk
func (*Response) GetOfferSnapshot ¶
func (m *Response) GetOfferSnapshot() *types.ResponseOfferSnapshot
func (*Response) GetQuery ¶
func (m *Response) GetQuery() *types.ResponseQuery
func (*Response) GetSetOption ¶
func (m *Response) GetSetOption() *types.ResponseSetOption
func (*Response) MarshalToSizedBuffer ¶
func (*Response) ProtoMessage ¶
func (*Response) ProtoMessage()
func (*Response) XXX_DiscardUnknown ¶
func (m *Response) XXX_DiscardUnknown()
func (*Response) XXX_Marshal ¶
func (*Response) XXX_OneofWrappers ¶
func (*Response) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Response) XXX_Unmarshal ¶
type ResponseBeginRecheckTx ¶
type ResponseBeginRecheckTx struct {
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
}
func (*ResponseBeginRecheckTx) Descriptor ¶
func (*ResponseBeginRecheckTx) Descriptor() ([]byte, []int)
func (*ResponseBeginRecheckTx) GetCode ¶
func (m *ResponseBeginRecheckTx) GetCode() uint32
func (*ResponseBeginRecheckTx) Marshal ¶
func (m *ResponseBeginRecheckTx) Marshal() (dAtA []byte, err error)
func (*ResponseBeginRecheckTx) MarshalTo ¶
func (m *ResponseBeginRecheckTx) MarshalTo(dAtA []byte) (int, error)
func (*ResponseBeginRecheckTx) MarshalToSizedBuffer ¶
func (m *ResponseBeginRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResponseBeginRecheckTx) ProtoMessage ¶
func (*ResponseBeginRecheckTx) ProtoMessage()
func (*ResponseBeginRecheckTx) Reset ¶
func (m *ResponseBeginRecheckTx) Reset()
func (*ResponseBeginRecheckTx) Size ¶
func (m *ResponseBeginRecheckTx) Size() (n int)
func (*ResponseBeginRecheckTx) String ¶
func (m *ResponseBeginRecheckTx) String() string
func (*ResponseBeginRecheckTx) Unmarshal ¶
func (m *ResponseBeginRecheckTx) Unmarshal(dAtA []byte) error
func (*ResponseBeginRecheckTx) XXX_DiscardUnknown ¶
func (m *ResponseBeginRecheckTx) XXX_DiscardUnknown()
func (*ResponseBeginRecheckTx) XXX_Marshal ¶
func (m *ResponseBeginRecheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseBeginRecheckTx) XXX_Merge ¶
func (m *ResponseBeginRecheckTx) XXX_Merge(src proto.Message)
func (*ResponseBeginRecheckTx) XXX_Size ¶
func (m *ResponseBeginRecheckTx) XXX_Size() int
func (*ResponseBeginRecheckTx) XXX_Unmarshal ¶
func (m *ResponseBeginRecheckTx) XXX_Unmarshal(b []byte) error
type ResponseCheckTx ¶
type ResponseCheckTx struct { Code uint32 `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"` Info string `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"` GasWanted int64 `protobuf:"varint,5,opt,name=gas_wanted,proto3" json:"gas_wanted,omitempty"` GasUsed int64 `protobuf:"varint,6,opt,name=gas_used,proto3" json:"gas_used,omitempty"` Events []types.Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"` Codespace string `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"` Sender string `protobuf:"bytes,9,opt,name=sender,proto3" json:"sender,omitempty"` Priority int64 `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"` // mempool_error is set by Ostracon. // ABCI applictions creating a ResponseCheckTX should not set mempool_error. MempoolError string `protobuf:"bytes,11,opt,name=mempool_error,json=mempoolError,proto3" json:"mempool_error,omitempty"` }
func (*ResponseCheckTx) Descriptor ¶
func (*ResponseCheckTx) Descriptor() ([]byte, []int)
func (*ResponseCheckTx) GetCode ¶
func (m *ResponseCheckTx) GetCode() uint32
func (*ResponseCheckTx) GetCodespace ¶
func (m *ResponseCheckTx) GetCodespace() string
func (*ResponseCheckTx) GetData ¶
func (m *ResponseCheckTx) GetData() []byte
func (*ResponseCheckTx) GetEvents ¶
func (m *ResponseCheckTx) GetEvents() []types.Event
func (*ResponseCheckTx) GetGasUsed ¶
func (m *ResponseCheckTx) GetGasUsed() int64
func (*ResponseCheckTx) GetGasWanted ¶
func (m *ResponseCheckTx) GetGasWanted() int64
func (*ResponseCheckTx) GetInfo ¶
func (m *ResponseCheckTx) GetInfo() string
func (*ResponseCheckTx) GetLog ¶
func (m *ResponseCheckTx) GetLog() string
func (*ResponseCheckTx) GetMempoolError ¶
func (m *ResponseCheckTx) GetMempoolError() string
func (*ResponseCheckTx) GetPriority ¶
func (m *ResponseCheckTx) GetPriority() int64
func (*ResponseCheckTx) GetSender ¶
func (m *ResponseCheckTx) GetSender() string
func (ResponseCheckTx) IsErr ¶
func (r ResponseCheckTx) IsErr() bool
IsErr returns true if Code is something other than OK.
func (*ResponseCheckTx) Marshal ¶
func (m *ResponseCheckTx) Marshal() (dAtA []byte, err error)
func (*ResponseCheckTx) MarshalJSON ¶
func (r *ResponseCheckTx) MarshalJSON() ([]byte, error)
func (*ResponseCheckTx) MarshalToSizedBuffer ¶
func (m *ResponseCheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResponseCheckTx) ProtoMessage ¶
func (*ResponseCheckTx) ProtoMessage()
func (*ResponseCheckTx) Reset ¶
func (m *ResponseCheckTx) Reset()
func (*ResponseCheckTx) Size ¶
func (m *ResponseCheckTx) Size() (n int)
func (*ResponseCheckTx) String ¶
func (m *ResponseCheckTx) String() string
func (*ResponseCheckTx) Unmarshal ¶
func (m *ResponseCheckTx) Unmarshal(dAtA []byte) error
func (*ResponseCheckTx) UnmarshalJSON ¶
func (r *ResponseCheckTx) UnmarshalJSON(b []byte) error
func (*ResponseCheckTx) XXX_DiscardUnknown ¶
func (m *ResponseCheckTx) XXX_DiscardUnknown()
func (*ResponseCheckTx) XXX_Marshal ¶
func (m *ResponseCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseCheckTx) XXX_Merge ¶
func (m *ResponseCheckTx) XXX_Merge(src proto.Message)
func (*ResponseCheckTx) XXX_Size ¶
func (m *ResponseCheckTx) XXX_Size() int
func (*ResponseCheckTx) XXX_Unmarshal ¶
func (m *ResponseCheckTx) XXX_Unmarshal(b []byte) error
type ResponseEndRecheckTx ¶
type ResponseEndRecheckTx struct {
Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
}
func (*ResponseEndRecheckTx) Descriptor ¶
func (*ResponseEndRecheckTx) Descriptor() ([]byte, []int)
func (*ResponseEndRecheckTx) GetCode ¶
func (m *ResponseEndRecheckTx) GetCode() uint32
func (*ResponseEndRecheckTx) Marshal ¶
func (m *ResponseEndRecheckTx) Marshal() (dAtA []byte, err error)
func (*ResponseEndRecheckTx) MarshalTo ¶
func (m *ResponseEndRecheckTx) MarshalTo(dAtA []byte) (int, error)
func (*ResponseEndRecheckTx) MarshalToSizedBuffer ¶
func (m *ResponseEndRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ResponseEndRecheckTx) ProtoMessage ¶
func (*ResponseEndRecheckTx) ProtoMessage()
func (*ResponseEndRecheckTx) Reset ¶
func (m *ResponseEndRecheckTx) Reset()
func (*ResponseEndRecheckTx) Size ¶
func (m *ResponseEndRecheckTx) Size() (n int)
func (*ResponseEndRecheckTx) String ¶
func (m *ResponseEndRecheckTx) String() string
func (*ResponseEndRecheckTx) Unmarshal ¶
func (m *ResponseEndRecheckTx) Unmarshal(dAtA []byte) error
func (*ResponseEndRecheckTx) XXX_DiscardUnknown ¶
func (m *ResponseEndRecheckTx) XXX_DiscardUnknown()
func (*ResponseEndRecheckTx) XXX_Marshal ¶
func (m *ResponseEndRecheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseEndRecheckTx) XXX_Merge ¶
func (m *ResponseEndRecheckTx) XXX_Merge(src proto.Message)
func (*ResponseEndRecheckTx) XXX_Size ¶
func (m *ResponseEndRecheckTx) XXX_Size() int
func (*ResponseEndRecheckTx) XXX_Unmarshal ¶
func (m *ResponseEndRecheckTx) XXX_Unmarshal(b []byte) error
type Response_ApplySnapshotChunk ¶
type Response_ApplySnapshotChunk struct {
ApplySnapshotChunk *types.ResponseApplySnapshotChunk `protobuf:"bytes,16,opt,name=apply_snapshot_chunk,json=applySnapshotChunk,proto3,oneof" json:"apply_snapshot_chunk,omitempty"`
}
func (*Response_ApplySnapshotChunk) MarshalTo ¶
func (m *Response_ApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)
func (*Response_ApplySnapshotChunk) MarshalToSizedBuffer ¶
func (m *Response_ApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_ApplySnapshotChunk) Size ¶
func (m *Response_ApplySnapshotChunk) Size() (n int)
type Response_BeginBlock ¶
type Response_BeginBlock struct {
BeginBlock *types.ResponseBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
}
func (*Response_BeginBlock) MarshalTo ¶
func (m *Response_BeginBlock) MarshalTo(dAtA []byte) (int, error)
func (*Response_BeginBlock) MarshalToSizedBuffer ¶
func (m *Response_BeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_BeginBlock) Size ¶
func (m *Response_BeginBlock) Size() (n int)
type Response_BeginRecheckTx ¶
type Response_BeginRecheckTx struct {
BeginRecheckTx *ResponseBeginRecheckTx `protobuf:"bytes,1000,opt,name=begin_recheck_tx,json=beginRecheckTx,proto3,oneof" json:"begin_recheck_tx,omitempty"`
}
func (*Response_BeginRecheckTx) MarshalTo ¶
func (m *Response_BeginRecheckTx) MarshalTo(dAtA []byte) (int, error)
func (*Response_BeginRecheckTx) MarshalToSizedBuffer ¶
func (m *Response_BeginRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_BeginRecheckTx) Size ¶
func (m *Response_BeginRecheckTx) Size() (n int)
type Response_CheckTx ¶
type Response_CheckTx struct {
CheckTx *ResponseCheckTx `protobuf:"bytes,9,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
}
func (*Response_CheckTx) MarshalToSizedBuffer ¶
func (m *Response_CheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_CheckTx) Size ¶
func (m *Response_CheckTx) Size() (n int)
type Response_Commit ¶
type Response_Commit struct {
Commit *types.ResponseCommit `protobuf:"bytes,12,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}
func (*Response_Commit) MarshalToSizedBuffer ¶
func (m *Response_Commit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_Commit) Size ¶
func (m *Response_Commit) Size() (n int)
type Response_DeliverTx ¶
type Response_DeliverTx struct {
DeliverTx *types.ResponseDeliverTx `protobuf:"bytes,10,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
}
func (*Response_DeliverTx) MarshalTo ¶
func (m *Response_DeliverTx) MarshalTo(dAtA []byte) (int, error)
func (*Response_DeliverTx) MarshalToSizedBuffer ¶
func (m *Response_DeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_DeliverTx) Size ¶
func (m *Response_DeliverTx) Size() (n int)
type Response_Echo ¶
type Response_Echo struct {
Echo *types.ResponseEcho `protobuf:"bytes,2,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
}
func (*Response_Echo) MarshalToSizedBuffer ¶
func (m *Response_Echo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_Echo) Size ¶
func (m *Response_Echo) Size() (n int)
type Response_EndBlock ¶
type Response_EndBlock struct {
EndBlock *types.ResponseEndBlock `protobuf:"bytes,11,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
}
func (*Response_EndBlock) MarshalTo ¶
func (m *Response_EndBlock) MarshalTo(dAtA []byte) (int, error)
func (*Response_EndBlock) MarshalToSizedBuffer ¶
func (m *Response_EndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_EndBlock) Size ¶
func (m *Response_EndBlock) Size() (n int)
type Response_EndRecheckTx ¶
type Response_EndRecheckTx struct {
EndRecheckTx *ResponseEndRecheckTx `protobuf:"bytes,1001,opt,name=end_recheck_tx,json=endRecheckTx,proto3,oneof" json:"end_recheck_tx,omitempty"`
}
func (*Response_EndRecheckTx) MarshalTo ¶
func (m *Response_EndRecheckTx) MarshalTo(dAtA []byte) (int, error)
func (*Response_EndRecheckTx) MarshalToSizedBuffer ¶
func (m *Response_EndRecheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_EndRecheckTx) Size ¶
func (m *Response_EndRecheckTx) Size() (n int)
type Response_Exception ¶
type Response_Exception struct {
Exception *types.ResponseException `protobuf:"bytes,1,opt,name=exception,proto3,oneof" json:"exception,omitempty"`
}
func (*Response_Exception) MarshalTo ¶
func (m *Response_Exception) MarshalTo(dAtA []byte) (int, error)
func (*Response_Exception) MarshalToSizedBuffer ¶
func (m *Response_Exception) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_Exception) Size ¶
func (m *Response_Exception) Size() (n int)
type Response_Flush ¶
type Response_Flush struct {
Flush *types.ResponseFlush `protobuf:"bytes,3,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
}
func (*Response_Flush) MarshalToSizedBuffer ¶
func (m *Response_Flush) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_Flush) Size ¶
func (m *Response_Flush) Size() (n int)
type Response_Info ¶
type Response_Info struct {
Info *types.ResponseInfo `protobuf:"bytes,4,opt,name=info,proto3,oneof" json:"info,omitempty"`
}
func (*Response_Info) MarshalToSizedBuffer ¶
func (m *Response_Info) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_Info) Size ¶
func (m *Response_Info) Size() (n int)
type Response_InitChain ¶
type Response_InitChain struct {
InitChain *types.ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
}
func (*Response_InitChain) MarshalTo ¶
func (m *Response_InitChain) MarshalTo(dAtA []byte) (int, error)
func (*Response_InitChain) MarshalToSizedBuffer ¶
func (m *Response_InitChain) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_InitChain) Size ¶
func (m *Response_InitChain) Size() (n int)
type Response_ListSnapshots ¶
type Response_ListSnapshots struct {
ListSnapshots *types.ResponseListSnapshots `protobuf:"bytes,13,opt,name=list_snapshots,json=listSnapshots,proto3,oneof" json:"list_snapshots,omitempty"`
}
func (*Response_ListSnapshots) MarshalTo ¶
func (m *Response_ListSnapshots) MarshalTo(dAtA []byte) (int, error)
func (*Response_ListSnapshots) MarshalToSizedBuffer ¶
func (m *Response_ListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_ListSnapshots) Size ¶
func (m *Response_ListSnapshots) Size() (n int)
type Response_LoadSnapshotChunk ¶
type Response_LoadSnapshotChunk struct {
LoadSnapshotChunk *types.ResponseLoadSnapshotChunk `protobuf:"bytes,15,opt,name=load_snapshot_chunk,json=loadSnapshotChunk,proto3,oneof" json:"load_snapshot_chunk,omitempty"`
}
func (*Response_LoadSnapshotChunk) MarshalTo ¶
func (m *Response_LoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)
func (*Response_LoadSnapshotChunk) MarshalToSizedBuffer ¶
func (m *Response_LoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_LoadSnapshotChunk) Size ¶
func (m *Response_LoadSnapshotChunk) Size() (n int)
type Response_OfferSnapshot ¶
type Response_OfferSnapshot struct {
OfferSnapshot *types.ResponseOfferSnapshot `protobuf:"bytes,14,opt,name=offer_snapshot,json=offerSnapshot,proto3,oneof" json:"offer_snapshot,omitempty"`
}
func (*Response_OfferSnapshot) MarshalTo ¶
func (m *Response_OfferSnapshot) MarshalTo(dAtA []byte) (int, error)
func (*Response_OfferSnapshot) MarshalToSizedBuffer ¶
func (m *Response_OfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_OfferSnapshot) Size ¶
func (m *Response_OfferSnapshot) Size() (n int)
type Response_Query ¶
type Response_Query struct {
Query *types.ResponseQuery `protobuf:"bytes,7,opt,name=query,proto3,oneof" json:"query,omitempty"`
}
func (*Response_Query) MarshalToSizedBuffer ¶
func (m *Response_Query) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_Query) Size ¶
func (m *Response_Query) Size() (n int)
type Response_SetOption ¶
type Response_SetOption struct {
SetOption *types.ResponseSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,proto3,oneof" json:"set_option,omitempty"`
}
func (*Response_SetOption) MarshalTo ¶
func (m *Response_SetOption) MarshalTo(dAtA []byte) (int, error)
func (*Response_SetOption) MarshalToSizedBuffer ¶
func (m *Response_SetOption) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Response_SetOption) Size ¶
func (m *Response_SetOption) Size() (n int)
type UnimplementedABCIApplicationServer ¶
type UnimplementedABCIApplicationServer struct { }
UnimplementedABCIApplicationServer can be embedded to have forward compatible implementations.
func (*UnimplementedABCIApplicationServer) ApplySnapshotChunk ¶
func (*UnimplementedABCIApplicationServer) ApplySnapshotChunk(ctx context.Context, req *types.RequestApplySnapshotChunk) (*types.ResponseApplySnapshotChunk, error)
func (*UnimplementedABCIApplicationServer) BeginBlock ¶
func (*UnimplementedABCIApplicationServer) BeginBlock(ctx context.Context, req *RequestBeginBlock) (*types.ResponseBeginBlock, error)
func (*UnimplementedABCIApplicationServer) BeginRecheckTx ¶
func (*UnimplementedABCIApplicationServer) BeginRecheckTx(ctx context.Context, req *RequestBeginRecheckTx) (*ResponseBeginRecheckTx, error)
func (*UnimplementedABCIApplicationServer) CheckTx ¶
func (*UnimplementedABCIApplicationServer) CheckTx(ctx context.Context, req *types.RequestCheckTx) (*ResponseCheckTx, error)
func (*UnimplementedABCIApplicationServer) Commit ¶
func (*UnimplementedABCIApplicationServer) Commit(ctx context.Context, req *types.RequestCommit) (*types.ResponseCommit, error)
func (*UnimplementedABCIApplicationServer) DeliverTx ¶
func (*UnimplementedABCIApplicationServer) DeliverTx(ctx context.Context, req *types.RequestDeliverTx) (*types.ResponseDeliverTx, error)
func (*UnimplementedABCIApplicationServer) Echo ¶
func (*UnimplementedABCIApplicationServer) Echo(ctx context.Context, req *types.RequestEcho) (*types.ResponseEcho, error)
func (*UnimplementedABCIApplicationServer) EndBlock ¶
func (*UnimplementedABCIApplicationServer) EndBlock(ctx context.Context, req *types.RequestEndBlock) (*types.ResponseEndBlock, error)
func (*UnimplementedABCIApplicationServer) EndRecheckTx ¶
func (*UnimplementedABCIApplicationServer) EndRecheckTx(ctx context.Context, req *RequestEndRecheckTx) (*ResponseEndRecheckTx, error)
func (*UnimplementedABCIApplicationServer) Flush ¶
func (*UnimplementedABCIApplicationServer) Flush(ctx context.Context, req *types.RequestFlush) (*types.ResponseFlush, error)
func (*UnimplementedABCIApplicationServer) Info ¶
func (*UnimplementedABCIApplicationServer) Info(ctx context.Context, req *types.RequestInfo) (*types.ResponseInfo, error)
func (*UnimplementedABCIApplicationServer) InitChain ¶
func (*UnimplementedABCIApplicationServer) InitChain(ctx context.Context, req *types.RequestInitChain) (*types.ResponseInitChain, error)
func (*UnimplementedABCIApplicationServer) ListSnapshots ¶
func (*UnimplementedABCIApplicationServer) ListSnapshots(ctx context.Context, req *types.RequestListSnapshots) (*types.ResponseListSnapshots, error)
func (*UnimplementedABCIApplicationServer) LoadSnapshotChunk ¶
func (*UnimplementedABCIApplicationServer) LoadSnapshotChunk(ctx context.Context, req *types.RequestLoadSnapshotChunk) (*types.ResponseLoadSnapshotChunk, error)
func (*UnimplementedABCIApplicationServer) OfferSnapshot ¶
func (*UnimplementedABCIApplicationServer) OfferSnapshot(ctx context.Context, req *types.RequestOfferSnapshot) (*types.ResponseOfferSnapshot, error)
func (*UnimplementedABCIApplicationServer) Query ¶
func (*UnimplementedABCIApplicationServer) Query(ctx context.Context, req *types.RequestQuery) (*types.ResponseQuery, error)
func (*UnimplementedABCIApplicationServer) SetOption ¶
func (*UnimplementedABCIApplicationServer) SetOption(ctx context.Context, req *types.RequestSetOption) (*types.ResponseSetOption, error)
type ValidatorUpdates ¶
type ValidatorUpdates []types.ValidatorUpdate
ValidatorUpdates is a list of validators that implements the Sort interface
func (ValidatorUpdates) Len ¶
func (v ValidatorUpdates) Len() int
func (ValidatorUpdates) Less ¶
func (v ValidatorUpdates) Less(i, j int) bool
XXX: doesn't distinguish same validator with different power
func (ValidatorUpdates) Swap ¶
func (v ValidatorUpdates) Swap(i, j int)