types

package
v0.0.0-...-00adcb5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 30, 2022 License: Apache-2.0 Imports: 18 Imported by: 1

Documentation

Index

Constants

View Source
const (
	CodeTypeOK uint32 = 0
)

Variables

View Source
var (
	ErrInvalidLengthKeys        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowKeys          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupKeys = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthLedger        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowLedger          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupLedger = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthParams        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowParams          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupParams = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthProof        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowProof          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupProof = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthVersion        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowVersion          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupVersion = fmt.Errorf("proto: unexpected end of group")
)
View Source
var ACEIApplication_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "daotl.acei.ACEIApplication",
	HandlerType: (*ACEIApplicationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Echo",
			Handler:    _ACEIApplication_Echo_Handler,
		},
		{
			MethodName: "Flush",
			Handler:    _ACEIApplication_Flush_Handler,
		},
		{
			MethodName: "Info",
			Handler:    _ACEIApplication_Info_Handler,
		},
		{
			MethodName: "DeliverTx",
			Handler:    _ACEIApplication_DeliverTx_Handler,
		},
		{
			MethodName: "CheckTx",
			Handler:    _ACEIApplication_CheckTx_Handler,
		},
		{
			MethodName: "Query",
			Handler:    _ACEIApplication_Query_Handler,
		},
		{
			MethodName: "Commit",
			Handler:    _ACEIApplication_Commit_Handler,
		},
		{
			MethodName: "InitLedger",
			Handler:    _ACEIApplication_InitLedger_Handler,
		},
		{
			MethodName: "BeginBlock",
			Handler:    _ACEIApplication_BeginBlock_Handler,
		},
		{
			MethodName: "EndBlock",
			Handler:    _ACEIApplication_EndBlock_Handler,
		},
		{
			MethodName: "ListSnapshots",
			Handler:    _ACEIApplication_ListSnapshots_Handler,
		},
		{
			MethodName: "OfferSnapshot",
			Handler:    _ACEIApplication_OfferSnapshot_Handler,
		},
		{
			MethodName: "LoadSnapshotChunk",
			Handler:    _ACEIApplication_LoadSnapshotChunk_Handler,
		},
		{
			MethodName: "ApplySnapshotChunk",
			Handler:    _ACEIApplication_ApplySnapshotChunk_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "daotl/acei/types.proto",
}

ACEIApplication_ServiceDesc is the grpc.ServiceDesc for ACEIApplication service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CheckTxType_name = map[int32]string{
	0: "NEW",
	1: "RECHECK",
}
View Source
var CheckTxType_value = map[string]int32{
	"NEW":     0,
	"RECHECK": 1,
}
View Source
var ResponseApplySnapshotChunk_Result_name = map[int32]string{
	0: "UNKNOWN",
	1: "ACCEPT",
	2: "ABORT",
	3: "RETRY",
	4: "RETRY_SNAPSHOT",
	5: "REJECT_SNAPSHOT",
}
View Source
var ResponseApplySnapshotChunk_Result_value = map[string]int32{
	"UNKNOWN":         0,
	"ACCEPT":          1,
	"ABORT":           2,
	"RETRY":           3,
	"RETRY_SNAPSHOT":  4,
	"REJECT_SNAPSHOT": 5,
}
View Source
var ResponseOfferSnapshot_Result_name = map[int32]string{
	0: "UNKNOWN",
	1: "ACCEPT",
	2: "ABORT",
	3: "REJECT",
	4: "REJECT_FORMAT",
	5: "REJECT_SENDER",
}
View Source
var ResponseOfferSnapshot_Result_value = map[string]int32{
	"UNKNOWN":       0,
	"ACCEPT":        1,
	"ABORT":         2,
	"REJECT":        3,
	"REJECT_FORMAT": 4,
	"REJECT_SENDER": 5,
}

Functions

func ReadMessage

func ReadMessage(r io.Reader, msg proto.Message) error

ReadMessage reads a varint length-delimited protobuf message.

func RegisterACEIApplicationServer

func RegisterACEIApplicationServer(s grpc.ServiceRegistrar, srv ACEIApplicationServer)

func WriteMessage

func WriteMessage(msg proto.Message, w io.Writer) error

WriteMessage writes a varint length-delimited protobuf message.

Types

type ACEIApplicationClient

type ACEIApplicationClient interface {
	Echo(ctx context.Context, in *RequestEcho, opts ...grpc.CallOption) (*ResponseEcho, error)
	Flush(ctx context.Context, in *RequestFlush, opts ...grpc.CallOption) (*ResponseFlush, error)
	Info(ctx context.Context, in *RequestInfo, opts ...grpc.CallOption) (*ResponseInfo, error)
	DeliverTx(ctx context.Context, in *RequestDeliverTx, opts ...grpc.CallOption) (*ResponseDeliverTx, error)
	CheckTx(ctx context.Context, in *RequestCheckTx, opts ...grpc.CallOption) (*ResponseCheckTx, error)
	Query(ctx context.Context, in *RequestQuery, opts ...grpc.CallOption) (*ResponseQuery, error)
	Commit(ctx context.Context, in *RequestCommit, opts ...grpc.CallOption) (*ResponseCommit, error)
	InitLedger(ctx context.Context, in *RequestInitLedger, opts ...grpc.CallOption) (*ResponseInitLedger, error)
	BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error)
	EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error)
	ListSnapshots(ctx context.Context, in *RequestListSnapshots, opts ...grpc.CallOption) (*ResponseListSnapshots, error)
	OfferSnapshot(ctx context.Context, in *RequestOfferSnapshot, opts ...grpc.CallOption) (*ResponseOfferSnapshot, error)
	LoadSnapshotChunk(ctx context.Context, in *RequestLoadSnapshotChunk, opts ...grpc.CallOption) (*ResponseLoadSnapshotChunk, error)
	ApplySnapshotChunk(ctx context.Context, in *RequestApplySnapshotChunk, opts ...grpc.CallOption) (*ResponseApplySnapshotChunk, error)
}

ACEIApplicationClient is the client API for ACEIApplication service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type ACEIApplicationServer

ACEIApplicationServer is the server API for ACEIApplication service. All implementations must embed UnimplementedACEIApplicationServer for forward compatibility

type Application

type Application interface {
	// Info/Query Connection
	Info(RequestInfo) ResponseInfo    // Return application info
	Query(RequestQuery) ResponseQuery // Query for state

	// Mempool Connection
	CheckTx(RequestCheckTx) ResponseCheckTx // Validate a tx for the mempool

	// Consensus Connection
	InitLedger(RequestInitLedger) ResponseInitLedger // Initialize distributed ledger w/ validators/other info from the consensus engine
	BeginBlock(RequestBeginBlock) ResponseBeginBlock // Signals the beginning of a block
	DeliverTx(RequestDeliverTx) ResponseDeliverTx    // Deliver a tx for full processing
	EndBlock(RequestEndBlock) ResponseEndBlock       // Signals the end of a block, returns changes to the validator set
	Commit() ResponseCommit                          // Commit the state and return the application Merkle root hash

	// State Sync Connection
	ListSnapshots(RequestListSnapshots) ResponseListSnapshots                // List available snapshots
	OfferSnapshot(RequestOfferSnapshot) ResponseOfferSnapshot                // Offer a snapshot to the application
	LoadSnapshotChunk(RequestLoadSnapshotChunk) ResponseLoadSnapshotChunk    // Load a snapshot chunk
	ApplySnapshotChunk(RequestApplySnapshotChunk) ResponseApplySnapshotChunk // Apply a shapshot chunk
}

Application is an interface that enables any finite, deterministic state machine to be driven by a distributed-ledger-based replication engine via the ACEI. 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) BeginBlock

func (BaseApplication) CheckTx

func (BaseApplication) Commit

func (BaseApplication) DeliverTx

func (BaseApplication) EndBlock

func (BaseApplication) Info

func (BaseApplication) InitLedger

func (BaseApplication) ListSnapshots

func (BaseApplication) LoadSnapshotChunk

func (BaseApplication) OfferSnapshot

func (BaseApplication) Query

type BlockID

type BlockID struct {
	Hash          []byte        `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	PartSetHeader PartSetHeader `protobuf:"bytes,2,opt,name=part_set_header,json=partSetHeader,proto3" json:"part_set_header"`
}

BlockID

func (*BlockID) Descriptor

func (*BlockID) Descriptor() ([]byte, []int)

func (*BlockID) GetHash

func (m *BlockID) GetHash() []byte

func (*BlockID) GetPartSetHeader

func (m *BlockID) GetPartSetHeader() PartSetHeader

func (*BlockID) Marshal

func (m *BlockID) Marshal() (dAtA []byte, err error)

func (*BlockID) MarshalTo

func (m *BlockID) MarshalTo(dAtA []byte) (int, error)

func (*BlockID) MarshalToSizedBuffer

func (m *BlockID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockID) ProtoMessage

func (*BlockID) ProtoMessage()

func (*BlockID) Reset

func (m *BlockID) Reset()

func (*BlockID) Size

func (m *BlockID) Size() (n int)

func (*BlockID) String

func (m *BlockID) String() string

func (*BlockID) Unmarshal

func (m *BlockID) Unmarshal(dAtA []byte) error

func (*BlockID) XXX_DiscardUnknown

func (m *BlockID) XXX_DiscardUnknown()

func (*BlockID) XXX_Marshal

func (m *BlockID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockID) XXX_Merge

func (m *BlockID) XXX_Merge(src proto.Message)

func (*BlockID) XXX_Size

func (m *BlockID) XXX_Size() int

func (*BlockID) XXX_Unmarshal

func (m *BlockID) XXX_Unmarshal(b []byte) error

type BlockParams

type BlockParams struct {
	// Max block size, in bytes.
	// Note: must be greater than 0
	MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
	// Max gas per block.
	// Note: must be greater or equal to -1
	MaxGas int64 `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
}

BlockParams contains limits on the block size.

func (*BlockParams) Descriptor

func (*BlockParams) Descriptor() ([]byte, []int)

func (*BlockParams) Equal

func (this *BlockParams) Equal(that interface{}) bool

func (*BlockParams) GetMaxBytes

func (m *BlockParams) GetMaxBytes() int64

func (*BlockParams) GetMaxGas

func (m *BlockParams) GetMaxGas() int64

func (*BlockParams) Marshal

func (m *BlockParams) Marshal() (dAtA []byte, err error)

func (*BlockParams) MarshalTo

func (m *BlockParams) MarshalTo(dAtA []byte) (int, error)

func (*BlockParams) MarshalToSizedBuffer

func (m *BlockParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BlockParams) ProtoMessage

func (*BlockParams) ProtoMessage()

func (*BlockParams) Reset

func (m *BlockParams) Reset()

func (*BlockParams) Size

func (m *BlockParams) Size() (n int)

func (*BlockParams) String

func (m *BlockParams) String() string

func (*BlockParams) Unmarshal

func (m *BlockParams) Unmarshal(dAtA []byte) error

func (*BlockParams) XXX_DiscardUnknown

func (m *BlockParams) XXX_DiscardUnknown()

func (*BlockParams) XXX_Marshal

func (m *BlockParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BlockParams) XXX_Merge

func (m *BlockParams) XXX_Merge(src proto.Message)

func (*BlockParams) XXX_Size

func (m *BlockParams) XXX_Size() int

func (*BlockParams) XXX_Unmarshal

func (m *BlockParams) XXX_Unmarshal(b []byte) error

type CheckTxType

type CheckTxType int32
const (
	CheckTxType_New     CheckTxType = 0
	CheckTxType_Recheck CheckTxType = 1
)

func (CheckTxType) EnumDescriptor

func (CheckTxType) EnumDescriptor() ([]byte, []int)

func (CheckTxType) String

func (x CheckTxType) String() string

type ConsensusParams

type ConsensusParams struct {
	Block     *BlockParams     `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Evidence  *EvidenceParams  `protobuf:"bytes,2,opt,name=evidence,proto3" json:"evidence,omitempty"`
	Validator *ValidatorParams `protobuf:"bytes,3,opt,name=validator,proto3" json:"validator,omitempty"`
	Version   *VersionParams   `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
}

ConsensusParams contains consensus critical parameters that determine the validity of blocks.

func (*ConsensusParams) Descriptor

func (*ConsensusParams) Descriptor() ([]byte, []int)

func (*ConsensusParams) Equal

func (this *ConsensusParams) Equal(that interface{}) bool

func (*ConsensusParams) GetBlock

func (m *ConsensusParams) GetBlock() *BlockParams

func (*ConsensusParams) GetEvidence

func (m *ConsensusParams) GetEvidence() *EvidenceParams

func (*ConsensusParams) GetValidator

func (m *ConsensusParams) GetValidator() *ValidatorParams

func (*ConsensusParams) GetVersion

func (m *ConsensusParams) GetVersion() *VersionParams

func (*ConsensusParams) Marshal

func (m *ConsensusParams) Marshal() (dAtA []byte, err error)

func (*ConsensusParams) MarshalTo

func (m *ConsensusParams) MarshalTo(dAtA []byte) (int, error)

func (*ConsensusParams) MarshalToSizedBuffer

func (m *ConsensusParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsensusParams) ProtoMessage

func (*ConsensusParams) ProtoMessage()

func (*ConsensusParams) Reset

func (m *ConsensusParams) Reset()

func (*ConsensusParams) Size

func (m *ConsensusParams) Size() (n int)

func (*ConsensusParams) String

func (m *ConsensusParams) String() string

func (*ConsensusParams) Unmarshal

func (m *ConsensusParams) Unmarshal(dAtA []byte) error

func (*ConsensusParams) XXX_DiscardUnknown

func (m *ConsensusParams) XXX_DiscardUnknown()

func (*ConsensusParams) XXX_Marshal

func (m *ConsensusParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsensusParams) XXX_Merge

func (m *ConsensusParams) XXX_Merge(src proto.Message)

func (*ConsensusParams) XXX_Size

func (m *ConsensusParams) XXX_Size() int

func (*ConsensusParams) XXX_Unmarshal

func (m *ConsensusParams) XXX_Unmarshal(b []byte) error

type ConsensusVersion

type ConsensusVersion struct {
	Block uint64 `protobuf:"varint,1,opt,name=block,proto3" json:"block,omitempty"`
	App   uint64 `protobuf:"varint,2,opt,name=app,proto3" json:"app,omitempty"`
}

ConsensusVersion captures the consensus rules for processing a block in the distributed ledger, including all ledger data structures and the rules of the application's state transition machine.

func (*ConsensusVersion) Descriptor

func (*ConsensusVersion) Descriptor() ([]byte, []int)

func (*ConsensusVersion) Equal

func (this *ConsensusVersion) Equal(that interface{}) bool

func (*ConsensusVersion) GetApp

func (m *ConsensusVersion) GetApp() uint64

func (*ConsensusVersion) GetBlock

func (m *ConsensusVersion) GetBlock() uint64

func (*ConsensusVersion) Marshal

func (m *ConsensusVersion) Marshal() (dAtA []byte, err error)

func (*ConsensusVersion) MarshalTo

func (m *ConsensusVersion) MarshalTo(dAtA []byte) (int, error)

func (*ConsensusVersion) MarshalToSizedBuffer

func (m *ConsensusVersion) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsensusVersion) ProtoMessage

func (*ConsensusVersion) ProtoMessage()

func (*ConsensusVersion) Reset

func (m *ConsensusVersion) Reset()

func (*ConsensusVersion) Size

func (m *ConsensusVersion) Size() (n int)

func (*ConsensusVersion) String

func (m *ConsensusVersion) String() string

func (*ConsensusVersion) Unmarshal

func (m *ConsensusVersion) Unmarshal(dAtA []byte) error

func (*ConsensusVersion) XXX_DiscardUnknown

func (m *ConsensusVersion) XXX_DiscardUnknown()

func (*ConsensusVersion) XXX_Marshal

func (m *ConsensusVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsensusVersion) XXX_Merge

func (m *ConsensusVersion) XXX_Merge(src proto.Message)

func (*ConsensusVersion) XXX_Size

func (m *ConsensusVersion) XXX_Size() int

func (*ConsensusVersion) XXX_Unmarshal

func (m *ConsensusVersion) XXX_Unmarshal(b []byte) error

type DominoOp

type DominoOp struct {
	Key    string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Input  string `protobuf:"bytes,2,opt,name=input,proto3" json:"input,omitempty"`
	Output string `protobuf:"bytes,3,opt,name=output,proto3" json:"output,omitempty"`
}

func (*DominoOp) Descriptor

func (*DominoOp) Descriptor() ([]byte, []int)

func (*DominoOp) GetInput

func (m *DominoOp) GetInput() string

func (*DominoOp) GetKey

func (m *DominoOp) GetKey() string

func (*DominoOp) GetOutput

func (m *DominoOp) GetOutput() string

func (*DominoOp) Marshal

func (m *DominoOp) Marshal() (dAtA []byte, err error)

func (*DominoOp) MarshalTo

func (m *DominoOp) MarshalTo(dAtA []byte) (int, error)

func (*DominoOp) MarshalToSizedBuffer

func (m *DominoOp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DominoOp) ProtoMessage

func (*DominoOp) ProtoMessage()

func (*DominoOp) Reset

func (m *DominoOp) Reset()

func (*DominoOp) Size

func (m *DominoOp) Size() (n int)

func (*DominoOp) String

func (m *DominoOp) String() string

func (*DominoOp) Unmarshal

func (m *DominoOp) Unmarshal(dAtA []byte) error

func (*DominoOp) XXX_DiscardUnknown

func (m *DominoOp) XXX_DiscardUnknown()

func (*DominoOp) XXX_Marshal

func (m *DominoOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DominoOp) XXX_Merge

func (m *DominoOp) XXX_Merge(src proto.Message)

func (*DominoOp) XXX_Size

func (m *DominoOp) XXX_Size() int

func (*DominoOp) XXX_Unmarshal

func (m *DominoOp) XXX_Unmarshal(b []byte) error

type Event

type Event struct {
	Type       string           `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Attributes []EventAttribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
}

Event allows application developers to attach additional information to ResponseBeginBlock, ResponseEndBlock, ResponseCheckTx and ResponseDeliverTx. Later, transactions may be queried using these events.

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetAttributes

func (m *Event) GetAttributes() []EventAttribute

func (*Event) GetType

func (m *Event) GetType() string

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type EventAttribute

type EventAttribute struct {
	Key   string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	Index bool   `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
}

EventAttribute is a single key-value pair, associated with an event.

func (*EventAttribute) Descriptor

func (*EventAttribute) Descriptor() ([]byte, []int)

func (*EventAttribute) GetIndex

func (m *EventAttribute) GetIndex() bool

func (*EventAttribute) GetKey

func (m *EventAttribute) GetKey() string

func (*EventAttribute) GetValue

func (m *EventAttribute) GetValue() string

func (*EventAttribute) Marshal

func (m *EventAttribute) Marshal() (dAtA []byte, err error)

func (*EventAttribute) MarshalJSON

func (r *EventAttribute) MarshalJSON() ([]byte, error)

func (*EventAttribute) MarshalTo

func (m *EventAttribute) MarshalTo(dAtA []byte) (int, error)

func (*EventAttribute) MarshalToSizedBuffer

func (m *EventAttribute) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EventAttribute) ProtoMessage

func (*EventAttribute) ProtoMessage()

func (*EventAttribute) Reset

func (m *EventAttribute) Reset()

func (*EventAttribute) Size

func (m *EventAttribute) Size() (n int)

func (*EventAttribute) String

func (m *EventAttribute) String() string

func (*EventAttribute) Unmarshal

func (m *EventAttribute) Unmarshal(dAtA []byte) error

func (*EventAttribute) UnmarshalJSON

func (r *EventAttribute) UnmarshalJSON(b []byte) error

func (*EventAttribute) XXX_DiscardUnknown

func (m *EventAttribute) XXX_DiscardUnknown()

func (*EventAttribute) XXX_Marshal

func (m *EventAttribute) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EventAttribute) XXX_Merge

func (m *EventAttribute) XXX_Merge(src proto.Message)

func (*EventAttribute) XXX_Size

func (m *EventAttribute) XXX_Size() int

func (*EventAttribute) XXX_Unmarshal

func (m *EventAttribute) XXX_Unmarshal(b []byte) error

type EvidenceParams

type EvidenceParams struct {
	// Max age of evidence, in blocks.
	//
	// The basic formula for calculating this is: MaxAgeDuration / {average block
	// time}.
	MaxAgeNumBlocks int64 `protobuf:"varint,1,opt,name=max_age_num_blocks,json=maxAgeNumBlocks,proto3" json:"max_age_num_blocks,omitempty"`
	// Max age of evidence, in time.
	//
	// It should correspond with an app's "unbonding period" or other similar
	// mechanism for handling [Nothing-At-Stake
	// attacks](https://github.com/ethereum/wiki/wiki/Proof-of-Stake-FAQ#what-is-the-nothing-at-stake-problem-and-how-can-it-be-fixed).
	MaxAgeDuration time.Duration `protobuf:"bytes,2,opt,name=max_age_duration,json=maxAgeDuration,proto3,stdduration" json:"max_age_duration"`
	// This sets the maximum size of total evidence in bytes that can be committed
	// in a single block. and should fall comfortably under the max block bytes.
	// Default is 1048576 or 1MB
	MaxBytes int64 `protobuf:"varint,3,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
}

EvidenceParams determine how we handle evidence of malfeasance.

func (*EvidenceParams) Descriptor

func (*EvidenceParams) Descriptor() ([]byte, []int)

func (*EvidenceParams) Equal

func (this *EvidenceParams) Equal(that interface{}) bool

func (*EvidenceParams) GetMaxAgeDuration

func (m *EvidenceParams) GetMaxAgeDuration() time.Duration

func (*EvidenceParams) GetMaxAgeNumBlocks

func (m *EvidenceParams) GetMaxAgeNumBlocks() int64

func (*EvidenceParams) GetMaxBytes

func (m *EvidenceParams) GetMaxBytes() int64

func (*EvidenceParams) Marshal

func (m *EvidenceParams) Marshal() (dAtA []byte, err error)

func (*EvidenceParams) MarshalTo

func (m *EvidenceParams) MarshalTo(dAtA []byte) (int, error)

func (*EvidenceParams) MarshalToSizedBuffer

func (m *EvidenceParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*EvidenceParams) ProtoMessage

func (*EvidenceParams) ProtoMessage()

func (*EvidenceParams) Reset

func (m *EvidenceParams) Reset()

func (*EvidenceParams) Size

func (m *EvidenceParams) Size() (n int)

func (*EvidenceParams) String

func (m *EvidenceParams) String() string

func (*EvidenceParams) Unmarshal

func (m *EvidenceParams) Unmarshal(dAtA []byte) error

func (*EvidenceParams) XXX_DiscardUnknown

func (m *EvidenceParams) XXX_DiscardUnknown()

func (*EvidenceParams) XXX_Marshal

func (m *EvidenceParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*EvidenceParams) XXX_Merge

func (m *EvidenceParams) XXX_Merge(src proto.Message)

func (*EvidenceParams) XXX_Size

func (m *EvidenceParams) XXX_Size() int

func (*EvidenceParams) XXX_Unmarshal

func (m *EvidenceParams) XXX_Unmarshal(b []byte) error

type GRPCApplication

type GRPCApplication struct {
	UnimplementedACEIApplicationServer
	// contains filtered or unexported fields
}

GRPCApplication is a GRPC wrapper for Application

func NewGRPCApplication

func NewGRPCApplication(app Application) *GRPCApplication

func (*GRPCApplication) ApplySnapshotChunk

func (*GRPCApplication) BeginBlock

func (*GRPCApplication) CheckTx

func (app *GRPCApplication) CheckTx(ctx context.Context, req *RequestCheckTx) (*ResponseCheckTx, error)

func (*GRPCApplication) Commit

func (app *GRPCApplication) Commit(ctx context.Context, req *RequestCommit) (*ResponseCommit, error)

func (*GRPCApplication) DeliverTx

func (*GRPCApplication) Echo

func (app *GRPCApplication) Echo(ctx context.Context, req *RequestEcho) (*ResponseEcho, error)

func (*GRPCApplication) EndBlock

func (*GRPCApplication) Flush

func (app *GRPCApplication) Flush(ctx context.Context, req *RequestFlush) (*ResponseFlush, error)

func (*GRPCApplication) Info

func (app *GRPCApplication) Info(ctx context.Context, req *RequestInfo) (*ResponseInfo, error)

func (*GRPCApplication) InitLedger

func (*GRPCApplication) ListSnapshots

func (*GRPCApplication) LoadSnapshotChunk

func (*GRPCApplication) OfferSnapshot

func (*GRPCApplication) Query

func (app *GRPCApplication) Query(ctx context.Context, req *RequestQuery) (*ResponseQuery, error)
type Header struct {
	Creator          []byte   `protobuf:"bytes,1,opt,name=creator,proto3" json:"creator,omitempty"`
	Timestamp        uint64   `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	PreviousHashes   [][]byte `protobuf:"bytes,3,rep,name=previous_hashes,json=previousHashes,proto3" json:"previous_hashes,omitempty"`
	Height           uint64   `protobuf:"varint,4,opt,name=height,proto3" json:"height,omitempty"`
	TransactionsRoot []byte   `protobuf:"bytes,5,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"`
	TransactionCount uint64   `protobuf:"varint,6,opt,name=transaction_count,json=transactionCount,proto3" json:"transaction_count,omitempty"`
	Extra            []byte   `protobuf:"bytes,7,opt,name=extra,proto3" json:"extra,omitempty"`
	Signature        []byte   `protobuf:"bytes,8,opt,name=signature,proto3" json:"signature,omitempty"`
}

func (*Header) Descriptor

func (*Header) Descriptor() ([]byte, []int)

func (*Header) GetCreator

func (m *Header) GetCreator() []byte

func (*Header) GetExtra

func (m *Header) GetExtra() []byte

func (*Header) GetHeight

func (m *Header) GetHeight() uint64

func (*Header) GetPreviousHashes

func (m *Header) GetPreviousHashes() [][]byte

func (*Header) GetSignature

func (m *Header) GetSignature() []byte

func (*Header) GetTimestamp

func (m *Header) GetTimestamp() uint64

func (*Header) GetTransactionCount

func (m *Header) GetTransactionCount() uint64

func (*Header) GetTransactionsRoot

func (m *Header) GetTransactionsRoot() []byte

func (*Header) Marshal

func (m *Header) Marshal() (dAtA []byte, err error)

func (*Header) MarshalTo

func (m *Header) MarshalTo(dAtA []byte) (int, error)

func (*Header) MarshalToSizedBuffer

func (m *Header) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Header) ProtoMessage

func (*Header) ProtoMessage()

func (*Header) Reset

func (m *Header) Reset()

func (*Header) Size

func (m *Header) Size() (n int)

func (*Header) String

func (m *Header) String() string

func (*Header) Unmarshal

func (m *Header) Unmarshal(dAtA []byte) error

func (*Header) XXX_DiscardUnknown

func (m *Header) XXX_DiscardUnknown()

func (*Header) XXX_Marshal

func (m *Header) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Header) XXX_Merge

func (m *Header) XXX_Merge(src proto.Message)

func (*Header) XXX_Size

func (m *Header) XXX_Size() int

func (*Header) XXX_Unmarshal

func (m *Header) XXX_Unmarshal(b []byte) error

type PartSetHeader

type PartSetHeader struct {
	Total uint32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Hash  []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
}

PartsetHeader

func (*PartSetHeader) Descriptor

func (*PartSetHeader) Descriptor() ([]byte, []int)

func (*PartSetHeader) GetHash

func (m *PartSetHeader) GetHash() []byte

func (*PartSetHeader) GetTotal

func (m *PartSetHeader) GetTotal() uint32

func (*PartSetHeader) Marshal

func (m *PartSetHeader) Marshal() (dAtA []byte, err error)

func (*PartSetHeader) MarshalTo

func (m *PartSetHeader) MarshalTo(dAtA []byte) (int, error)

func (*PartSetHeader) MarshalToSizedBuffer

func (m *PartSetHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PartSetHeader) ProtoMessage

func (*PartSetHeader) ProtoMessage()

func (*PartSetHeader) Reset

func (m *PartSetHeader) Reset()

func (*PartSetHeader) Size

func (m *PartSetHeader) Size() (n int)

func (*PartSetHeader) String

func (m *PartSetHeader) String() string

func (*PartSetHeader) Unmarshal

func (m *PartSetHeader) Unmarshal(dAtA []byte) error

func (*PartSetHeader) XXX_DiscardUnknown

func (m *PartSetHeader) XXX_DiscardUnknown()

func (*PartSetHeader) XXX_Marshal

func (m *PartSetHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PartSetHeader) XXX_Merge

func (m *PartSetHeader) XXX_Merge(src proto.Message)

func (*PartSetHeader) XXX_Size

func (m *PartSetHeader) XXX_Size() int

func (*PartSetHeader) XXX_Unmarshal

func (m *PartSetHeader) XXX_Unmarshal(b []byte) error

type Proof

type Proof struct {
	Total    int64    `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	Index    int64    `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	LeafHash []byte   `protobuf:"bytes,3,opt,name=leaf_hash,json=leafHash,proto3" json:"leaf_hash,omitempty"`
	Aunts    [][]byte `protobuf:"bytes,4,rep,name=aunts,proto3" json:"aunts,omitempty"`
	HashType uint32   `protobuf:"varint,5,opt,name=hash_type,json=hashType,proto3" json:"hash_type,omitempty"`
}

func (*Proof) Descriptor

func (*Proof) Descriptor() ([]byte, []int)

func (*Proof) GetAunts

func (m *Proof) GetAunts() [][]byte

func (*Proof) GetHashType

func (m *Proof) GetHashType() uint32

func (*Proof) GetIndex

func (m *Proof) GetIndex() int64

func (*Proof) GetLeafHash

func (m *Proof) GetLeafHash() []byte

func (*Proof) GetTotal

func (m *Proof) GetTotal() int64

func (*Proof) Marshal

func (m *Proof) Marshal() (dAtA []byte, err error)

func (*Proof) MarshalTo

func (m *Proof) MarshalTo(dAtA []byte) (int, error)

func (*Proof) MarshalToSizedBuffer

func (m *Proof) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Proof) ProtoMessage

func (*Proof) ProtoMessage()

func (*Proof) Reset

func (m *Proof) Reset()

func (*Proof) Size

func (m *Proof) Size() (n int)

func (*Proof) String

func (m *Proof) String() string

func (*Proof) Unmarshal

func (m *Proof) Unmarshal(dAtA []byte) error

func (*Proof) XXX_DiscardUnknown

func (m *Proof) XXX_DiscardUnknown()

func (*Proof) XXX_Marshal

func (m *Proof) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Proof) XXX_Merge

func (m *Proof) XXX_Merge(src proto.Message)

func (*Proof) XXX_Size

func (m *Proof) XXX_Size() int

func (*Proof) XXX_Unmarshal

func (m *Proof) XXX_Unmarshal(b []byte) error

type ProofOp

type ProofOp struct {
	Type     string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Key      []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	Data     []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	HashType uint32 `protobuf:"varint,5,opt,name=hash_type,json=hashType,proto3" json:"hash_type,omitempty"`
}

ProofOp defines an operation used for calculating Merkle root The data could be arbitrary format, providing nessecary data for example neighbouring node hash

func (*ProofOp) Descriptor

func (*ProofOp) Descriptor() ([]byte, []int)

func (*ProofOp) GetData

func (m *ProofOp) GetData() []byte

func (*ProofOp) GetHashType

func (m *ProofOp) GetHashType() uint32

func (*ProofOp) GetKey

func (m *ProofOp) GetKey() []byte

func (*ProofOp) GetType

func (m *ProofOp) GetType() string

func (*ProofOp) Marshal

func (m *ProofOp) Marshal() (dAtA []byte, err error)

func (*ProofOp) MarshalTo

func (m *ProofOp) MarshalTo(dAtA []byte) (int, error)

func (*ProofOp) MarshalToSizedBuffer

func (m *ProofOp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProofOp) ProtoMessage

func (*ProofOp) ProtoMessage()

func (*ProofOp) Reset

func (m *ProofOp) Reset()

func (*ProofOp) Size

func (m *ProofOp) Size() (n int)

func (*ProofOp) String

func (m *ProofOp) String() string

func (*ProofOp) Unmarshal

func (m *ProofOp) Unmarshal(dAtA []byte) error

func (*ProofOp) XXX_DiscardUnknown

func (m *ProofOp) XXX_DiscardUnknown()

func (*ProofOp) XXX_Marshal

func (m *ProofOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProofOp) XXX_Merge

func (m *ProofOp) XXX_Merge(src proto.Message)

func (*ProofOp) XXX_Size

func (m *ProofOp) XXX_Size() int

func (*ProofOp) XXX_Unmarshal

func (m *ProofOp) XXX_Unmarshal(b []byte) error

type ProofOps

type ProofOps struct {
	Ops []ProofOp `protobuf:"bytes,1,rep,name=ops,proto3" json:"ops"`
}

ProofOps is Merkle proof defined by the list of ProofOps

func (*ProofOps) Descriptor

func (*ProofOps) Descriptor() ([]byte, []int)

func (*ProofOps) GetOps

func (m *ProofOps) GetOps() []ProofOp

func (*ProofOps) Marshal

func (m *ProofOps) Marshal() (dAtA []byte, err error)

func (*ProofOps) MarshalTo

func (m *ProofOps) MarshalTo(dAtA []byte) (int, error)

func (*ProofOps) MarshalToSizedBuffer

func (m *ProofOps) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProofOps) ProtoMessage

func (*ProofOps) ProtoMessage()

func (*ProofOps) Reset

func (m *ProofOps) Reset()

func (*ProofOps) Size

func (m *ProofOps) Size() (n int)

func (*ProofOps) String

func (m *ProofOps) String() string

func (*ProofOps) Unmarshal

func (m *ProofOps) Unmarshal(dAtA []byte) error

func (*ProofOps) XXX_DiscardUnknown

func (m *ProofOps) XXX_DiscardUnknown()

func (*ProofOps) XXX_Marshal

func (m *ProofOps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProofOps) XXX_Merge

func (m *ProofOps) XXX_Merge(src proto.Message)

func (*ProofOps) XXX_Size

func (m *ProofOps) XXX_Size() int

func (*ProofOps) XXX_Unmarshal

func (m *ProofOps) XXX_Unmarshal(b []byte) error

type PublicKey

type PublicKey struct {
	// Types that are valid to be assigned to Sum:
	//	*PublicKey_Ed25519
	//	*PublicKey_Secp256K1
	//	*PublicKey_Sr25519
	Sum isPublicKey_Sum `protobuf_oneof:"sum"`
}

PublicKey defines the keys available for use with SMREs Tendermint: Keys available for use with Validators: ed25519, secp256k1, sr25519

func (*PublicKey) Compare

func (this *PublicKey) Compare(that interface{}) int

func (*PublicKey) Descriptor

func (*PublicKey) Descriptor() ([]byte, []int)

func (*PublicKey) Equal

func (this *PublicKey) Equal(that interface{}) bool

func (*PublicKey) GetEd25519

func (m *PublicKey) GetEd25519() []byte

func (*PublicKey) GetSecp256K1

func (m *PublicKey) GetSecp256K1() []byte

func (*PublicKey) GetSr25519

func (m *PublicKey) GetSr25519() []byte

func (*PublicKey) GetSum

func (m *PublicKey) GetSum() isPublicKey_Sum

func (*PublicKey) Marshal

func (m *PublicKey) Marshal() (dAtA []byte, err error)

func (*PublicKey) MarshalTo

func (m *PublicKey) MarshalTo(dAtA []byte) (int, error)

func (*PublicKey) MarshalToSizedBuffer

func (m *PublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) Reset

func (m *PublicKey) Reset()

func (*PublicKey) Size

func (m *PublicKey) Size() (n int)

func (*PublicKey) String

func (m *PublicKey) String() string

func (*PublicKey) Unmarshal

func (m *PublicKey) Unmarshal(dAtA []byte) error

func (*PublicKey) XXX_DiscardUnknown

func (m *PublicKey) XXX_DiscardUnknown()

func (*PublicKey) XXX_Marshal

func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKey) XXX_Merge

func (m *PublicKey) XXX_Merge(src proto.Message)

func (*PublicKey) XXX_OneofWrappers

func (*PublicKey) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*PublicKey) XXX_Size

func (m *PublicKey) XXX_Size() int

func (*PublicKey) XXX_Unmarshal

func (m *PublicKey) XXX_Unmarshal(b []byte) error

type PublicKey_Ed25519

type PublicKey_Ed25519 struct {
	Ed25519 []byte `protobuf:"bytes,1,opt,name=ed25519,proto3,oneof" json:"ed25519,omitempty"`
}

func (*PublicKey_Ed25519) Compare

func (this *PublicKey_Ed25519) Compare(that interface{}) int

func (*PublicKey_Ed25519) Equal

func (this *PublicKey_Ed25519) Equal(that interface{}) bool

func (*PublicKey_Ed25519) MarshalTo

func (m *PublicKey_Ed25519) MarshalTo(dAtA []byte) (int, error)

func (*PublicKey_Ed25519) MarshalToSizedBuffer

func (m *PublicKey_Ed25519) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PublicKey_Ed25519) Size

func (m *PublicKey_Ed25519) Size() (n int)

type PublicKey_Secp256K1

type PublicKey_Secp256K1 struct {
	Secp256K1 []byte `protobuf:"bytes,2,opt,name=secp256k1,proto3,oneof" json:"secp256k1,omitempty"`
}

func (*PublicKey_Secp256K1) Compare

func (this *PublicKey_Secp256K1) Compare(that interface{}) int

func (*PublicKey_Secp256K1) Equal

func (this *PublicKey_Secp256K1) Equal(that interface{}) bool

func (*PublicKey_Secp256K1) MarshalTo

func (m *PublicKey_Secp256K1) MarshalTo(dAtA []byte) (int, error)

func (*PublicKey_Secp256K1) MarshalToSizedBuffer

func (m *PublicKey_Secp256K1) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PublicKey_Secp256K1) Size

func (m *PublicKey_Secp256K1) Size() (n int)

type PublicKey_Sr25519

type PublicKey_Sr25519 struct {
	Sr25519 []byte `protobuf:"bytes,3,opt,name=sr25519,proto3,oneof" json:"sr25519,omitempty"`
}

func (*PublicKey_Sr25519) Compare

func (this *PublicKey_Sr25519) Compare(that interface{}) int

func (*PublicKey_Sr25519) Equal

func (this *PublicKey_Sr25519) Equal(that interface{}) bool

func (*PublicKey_Sr25519) MarshalTo

func (m *PublicKey_Sr25519) MarshalTo(dAtA []byte) (int, error)

func (*PublicKey_Sr25519) MarshalToSizedBuffer

func (m *PublicKey_Sr25519) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PublicKey_Sr25519) Size

func (m *PublicKey_Sr25519) Size() (n int)

type Request

type Request struct {
	// Types that are valid to be assigned to Value:
	//	*Request_Echo
	//	*Request_Flush
	//	*Request_Info
	//	*Request_InitLedger
	//	*Request_Query
	//	*Request_BeginBlock
	//	*Request_CheckTx
	//	*Request_DeliverTx
	//	*Request_EndBlock
	//	*Request_Commit
	//	*Request_ListSnapshots
	//	*Request_OfferSnapshot
	//	*Request_LoadSnapshotChunk
	//	*Request_ApplySnapshotChunk
	Value isRequest_Value `protobuf_oneof:"value"`
}

func ToRequestApplySnapshotChunk

func ToRequestApplySnapshotChunk(req RequestApplySnapshotChunk) *Request

func ToRequestBeginBlock

func ToRequestBeginBlock(req RequestBeginBlock) *Request

func ToRequestCheckTx

func ToRequestCheckTx(req RequestCheckTx) *Request

func ToRequestCommit

func ToRequestCommit() *Request

func ToRequestDeliverTx

func ToRequestDeliverTx(req RequestDeliverTx) *Request

func ToRequestEcho

func ToRequestEcho(message string) *Request

func ToRequestEndBlock

func ToRequestEndBlock(req RequestEndBlock) *Request

func ToRequestFlush

func ToRequestFlush() *Request

func ToRequestInfo

func ToRequestInfo(req RequestInfo) *Request

func ToRequestInitLedger

func ToRequestInitLedger(req RequestInitLedger) *Request

func ToRequestListSnapshots

func ToRequestListSnapshots(req RequestListSnapshots) *Request

func ToRequestLoadSnapshotChunk

func ToRequestLoadSnapshotChunk(req RequestLoadSnapshotChunk) *Request

func ToRequestOfferSnapshot

func ToRequestOfferSnapshot(req RequestOfferSnapshot) *Request

func ToRequestQuery

func ToRequestQuery(req RequestQuery) *Request

func (*Request) Descriptor

func (*Request) Descriptor() ([]byte, []int)

func (*Request) GetApplySnapshotChunk

func (m *Request) GetApplySnapshotChunk() *RequestApplySnapshotChunk

func (*Request) GetBeginBlock

func (m *Request) GetBeginBlock() *RequestBeginBlock

func (*Request) GetCheckTx

func (m *Request) GetCheckTx() *RequestCheckTx

func (*Request) GetCommit

func (m *Request) GetCommit() *RequestCommit

func (*Request) GetDeliverTx

func (m *Request) GetDeliverTx() *RequestDeliverTx

func (*Request) GetEcho

func (m *Request) GetEcho() *RequestEcho

func (*Request) GetEndBlock

func (m *Request) GetEndBlock() *RequestEndBlock

func (*Request) GetFlush

func (m *Request) GetFlush() *RequestFlush

func (*Request) GetInfo

func (m *Request) GetInfo() *RequestInfo

func (*Request) GetInitLedger

func (m *Request) GetInitLedger() *RequestInitLedger

func (*Request) GetListSnapshots

func (m *Request) GetListSnapshots() *RequestListSnapshots

func (*Request) GetLoadSnapshotChunk

func (m *Request) GetLoadSnapshotChunk() *RequestLoadSnapshotChunk

func (*Request) GetOfferSnapshot

func (m *Request) GetOfferSnapshot() *RequestOfferSnapshot

func (*Request) GetQuery

func (m *Request) GetQuery() *RequestQuery

func (*Request) GetValue

func (m *Request) GetValue() isRequest_Value

func (*Request) Marshal

func (m *Request) Marshal() (dAtA []byte, err error)

func (*Request) MarshalTo

func (m *Request) MarshalTo(dAtA []byte) (int, error)

func (*Request) MarshalToSizedBuffer

func (m *Request) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request) ProtoMessage

func (*Request) ProtoMessage()

func (*Request) Reset

func (m *Request) Reset()

func (*Request) Size

func (m *Request) Size() (n int)

func (*Request) String

func (m *Request) String() string

func (*Request) Unmarshal

func (m *Request) Unmarshal(dAtA []byte) error

func (*Request) XXX_DiscardUnknown

func (m *Request) XXX_DiscardUnknown()

func (*Request) XXX_Marshal

func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Request) XXX_Merge

func (m *Request) XXX_Merge(src proto.Message)

func (*Request) XXX_OneofWrappers

func (*Request) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Request) XXX_Size

func (m *Request) XXX_Size() int

func (*Request) XXX_Unmarshal

func (m *Request) XXX_Unmarshal(b []byte) error

type RequestApplySnapshotChunk

type RequestApplySnapshotChunk struct {
	Index  uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Chunk  []byte `protobuf:"bytes,2,opt,name=chunk,proto3" json:"chunk,omitempty"`
	Sender string `protobuf:"bytes,3,opt,name=sender,proto3" json:"sender,omitempty"`
}

Applies a snapshot chunk

func (*RequestApplySnapshotChunk) Descriptor

func (*RequestApplySnapshotChunk) Descriptor() ([]byte, []int)

func (*RequestApplySnapshotChunk) GetChunk

func (m *RequestApplySnapshotChunk) GetChunk() []byte

func (*RequestApplySnapshotChunk) GetIndex

func (m *RequestApplySnapshotChunk) GetIndex() uint32

func (*RequestApplySnapshotChunk) GetSender

func (m *RequestApplySnapshotChunk) GetSender() string

func (*RequestApplySnapshotChunk) Marshal

func (m *RequestApplySnapshotChunk) Marshal() (dAtA []byte, err error)

func (*RequestApplySnapshotChunk) MarshalTo

func (m *RequestApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)

func (*RequestApplySnapshotChunk) MarshalToSizedBuffer

func (m *RequestApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestApplySnapshotChunk) ProtoMessage

func (*RequestApplySnapshotChunk) ProtoMessage()

func (*RequestApplySnapshotChunk) Reset

func (m *RequestApplySnapshotChunk) Reset()

func (*RequestApplySnapshotChunk) Size

func (m *RequestApplySnapshotChunk) Size() (n int)

func (*RequestApplySnapshotChunk) String

func (m *RequestApplySnapshotChunk) String() string

func (*RequestApplySnapshotChunk) Unmarshal

func (m *RequestApplySnapshotChunk) Unmarshal(dAtA []byte) error

func (*RequestApplySnapshotChunk) XXX_DiscardUnknown

func (m *RequestApplySnapshotChunk) XXX_DiscardUnknown()

func (*RequestApplySnapshotChunk) XXX_Marshal

func (m *RequestApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestApplySnapshotChunk) XXX_Merge

func (m *RequestApplySnapshotChunk) XXX_Merge(src proto.Message)

func (*RequestApplySnapshotChunk) XXX_Size

func (m *RequestApplySnapshotChunk) XXX_Size() int

func (*RequestApplySnapshotChunk) XXX_Unmarshal

func (m *RequestApplySnapshotChunk) XXX_Unmarshal(b []byte) error

type RequestBeginBlock

type RequestBeginBlock struct {
	Hash   []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Header Header `protobuf:"bytes,2,opt,name=header,proto3" json:"header"`
	Extra  []byte `protobuf:"bytes,3,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*RequestBeginBlock) Descriptor

func (*RequestBeginBlock) Descriptor() ([]byte, []int)

func (*RequestBeginBlock) GetExtra

func (m *RequestBeginBlock) GetExtra() []byte

func (*RequestBeginBlock) GetHash

func (m *RequestBeginBlock) GetHash() []byte

func (*RequestBeginBlock) GetHeader

func (m *RequestBeginBlock) GetHeader() Header

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 RequestCheckTx

type RequestCheckTx struct {
	Tx   []byte      `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	Type CheckTxType `protobuf:"varint,2,opt,name=type,proto3,enum=daotl.acei.CheckTxType" json:"type,omitempty"`
}

func (*RequestCheckTx) Descriptor

func (*RequestCheckTx) Descriptor() ([]byte, []int)

func (*RequestCheckTx) GetTx

func (m *RequestCheckTx) GetTx() []byte

func (*RequestCheckTx) GetType

func (m *RequestCheckTx) GetType() CheckTxType

func (*RequestCheckTx) Marshal

func (m *RequestCheckTx) Marshal() (dAtA []byte, err error)

func (*RequestCheckTx) MarshalTo

func (m *RequestCheckTx) MarshalTo(dAtA []byte) (int, error)

func (*RequestCheckTx) MarshalToSizedBuffer

func (m *RequestCheckTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestCheckTx) ProtoMessage

func (*RequestCheckTx) ProtoMessage()

func (*RequestCheckTx) Reset

func (m *RequestCheckTx) Reset()

func (*RequestCheckTx) Size

func (m *RequestCheckTx) Size() (n int)

func (*RequestCheckTx) String

func (m *RequestCheckTx) String() string

func (*RequestCheckTx) Unmarshal

func (m *RequestCheckTx) Unmarshal(dAtA []byte) error

func (*RequestCheckTx) XXX_DiscardUnknown

func (m *RequestCheckTx) XXX_DiscardUnknown()

func (*RequestCheckTx) XXX_Marshal

func (m *RequestCheckTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestCheckTx) XXX_Merge

func (m *RequestCheckTx) XXX_Merge(src proto.Message)

func (*RequestCheckTx) XXX_Size

func (m *RequestCheckTx) XXX_Size() int

func (*RequestCheckTx) XXX_Unmarshal

func (m *RequestCheckTx) XXX_Unmarshal(b []byte) error

type RequestCommit

type RequestCommit struct {
}

func (*RequestCommit) Descriptor

func (*RequestCommit) Descriptor() ([]byte, []int)

func (*RequestCommit) Marshal

func (m *RequestCommit) Marshal() (dAtA []byte, err error)

func (*RequestCommit) MarshalTo

func (m *RequestCommit) MarshalTo(dAtA []byte) (int, error)

func (*RequestCommit) MarshalToSizedBuffer

func (m *RequestCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestCommit) ProtoMessage

func (*RequestCommit) ProtoMessage()

func (*RequestCommit) Reset

func (m *RequestCommit) Reset()

func (*RequestCommit) Size

func (m *RequestCommit) Size() (n int)

func (*RequestCommit) String

func (m *RequestCommit) String() string

func (*RequestCommit) Unmarshal

func (m *RequestCommit) Unmarshal(dAtA []byte) error

func (*RequestCommit) XXX_DiscardUnknown

func (m *RequestCommit) XXX_DiscardUnknown()

func (*RequestCommit) XXX_Marshal

func (m *RequestCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestCommit) XXX_Merge

func (m *RequestCommit) XXX_Merge(src proto.Message)

func (*RequestCommit) XXX_Size

func (m *RequestCommit) XXX_Size() int

func (*RequestCommit) XXX_Unmarshal

func (m *RequestCommit) XXX_Unmarshal(b []byte) error

type RequestDeliverTx

type RequestDeliverTx struct {
	Tx []byte `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
}

func (*RequestDeliverTx) Descriptor

func (*RequestDeliverTx) Descriptor() ([]byte, []int)

func (*RequestDeliverTx) GetTx

func (m *RequestDeliverTx) GetTx() []byte

func (*RequestDeliverTx) Marshal

func (m *RequestDeliverTx) Marshal() (dAtA []byte, err error)

func (*RequestDeliverTx) MarshalTo

func (m *RequestDeliverTx) MarshalTo(dAtA []byte) (int, error)

func (*RequestDeliverTx) MarshalToSizedBuffer

func (m *RequestDeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestDeliverTx) ProtoMessage

func (*RequestDeliverTx) ProtoMessage()

func (*RequestDeliverTx) Reset

func (m *RequestDeliverTx) Reset()

func (*RequestDeliverTx) Size

func (m *RequestDeliverTx) Size() (n int)

func (*RequestDeliverTx) String

func (m *RequestDeliverTx) String() string

func (*RequestDeliverTx) Unmarshal

func (m *RequestDeliverTx) Unmarshal(dAtA []byte) error

func (*RequestDeliverTx) XXX_DiscardUnknown

func (m *RequestDeliverTx) XXX_DiscardUnknown()

func (*RequestDeliverTx) XXX_Marshal

func (m *RequestDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestDeliverTx) XXX_Merge

func (m *RequestDeliverTx) XXX_Merge(src proto.Message)

func (*RequestDeliverTx) XXX_Size

func (m *RequestDeliverTx) XXX_Size() int

func (*RequestDeliverTx) XXX_Unmarshal

func (m *RequestDeliverTx) XXX_Unmarshal(b []byte) error

type RequestEcho

type RequestEcho struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}

func (*RequestEcho) Descriptor

func (*RequestEcho) Descriptor() ([]byte, []int)

func (*RequestEcho) GetMessage

func (m *RequestEcho) GetMessage() string

func (*RequestEcho) Marshal

func (m *RequestEcho) Marshal() (dAtA []byte, err error)

func (*RequestEcho) MarshalTo

func (m *RequestEcho) MarshalTo(dAtA []byte) (int, error)

func (*RequestEcho) MarshalToSizedBuffer

func (m *RequestEcho) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestEcho) ProtoMessage

func (*RequestEcho) ProtoMessage()

func (*RequestEcho) Reset

func (m *RequestEcho) Reset()

func (*RequestEcho) Size

func (m *RequestEcho) Size() (n int)

func (*RequestEcho) String

func (m *RequestEcho) String() string

func (*RequestEcho) Unmarshal

func (m *RequestEcho) Unmarshal(dAtA []byte) error

func (*RequestEcho) XXX_DiscardUnknown

func (m *RequestEcho) XXX_DiscardUnknown()

func (*RequestEcho) XXX_Marshal

func (m *RequestEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestEcho) XXX_Merge

func (m *RequestEcho) XXX_Merge(src proto.Message)

func (*RequestEcho) XXX_Size

func (m *RequestEcho) XXX_Size() int

func (*RequestEcho) XXX_Unmarshal

func (m *RequestEcho) XXX_Unmarshal(b []byte) error

type RequestEndBlock

type RequestEndBlock struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
}

func (*RequestEndBlock) Descriptor

func (*RequestEndBlock) Descriptor() ([]byte, []int)

func (*RequestEndBlock) GetHeight

func (m *RequestEndBlock) GetHeight() uint64

func (*RequestEndBlock) Marshal

func (m *RequestEndBlock) Marshal() (dAtA []byte, err error)

func (*RequestEndBlock) MarshalTo

func (m *RequestEndBlock) MarshalTo(dAtA []byte) (int, error)

func (*RequestEndBlock) MarshalToSizedBuffer

func (m *RequestEndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestEndBlock) ProtoMessage

func (*RequestEndBlock) ProtoMessage()

func (*RequestEndBlock) Reset

func (m *RequestEndBlock) Reset()

func (*RequestEndBlock) Size

func (m *RequestEndBlock) Size() (n int)

func (*RequestEndBlock) String

func (m *RequestEndBlock) String() string

func (*RequestEndBlock) Unmarshal

func (m *RequestEndBlock) Unmarshal(dAtA []byte) error

func (*RequestEndBlock) XXX_DiscardUnknown

func (m *RequestEndBlock) XXX_DiscardUnknown()

func (*RequestEndBlock) XXX_Marshal

func (m *RequestEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestEndBlock) XXX_Merge

func (m *RequestEndBlock) XXX_Merge(src proto.Message)

func (*RequestEndBlock) XXX_Size

func (m *RequestEndBlock) XXX_Size() int

func (*RequestEndBlock) XXX_Unmarshal

func (m *RequestEndBlock) XXX_Unmarshal(b []byte) error

type RequestFlush

type RequestFlush struct {
}

func (*RequestFlush) Descriptor

func (*RequestFlush) Descriptor() ([]byte, []int)

func (*RequestFlush) Marshal

func (m *RequestFlush) Marshal() (dAtA []byte, err error)

func (*RequestFlush) MarshalTo

func (m *RequestFlush) MarshalTo(dAtA []byte) (int, error)

func (*RequestFlush) MarshalToSizedBuffer

func (m *RequestFlush) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestFlush) ProtoMessage

func (*RequestFlush) ProtoMessage()

func (*RequestFlush) Reset

func (m *RequestFlush) Reset()

func (*RequestFlush) Size

func (m *RequestFlush) Size() (n int)

func (*RequestFlush) String

func (m *RequestFlush) String() string

func (*RequestFlush) Unmarshal

func (m *RequestFlush) Unmarshal(dAtA []byte) error

func (*RequestFlush) XXX_DiscardUnknown

func (m *RequestFlush) XXX_DiscardUnknown()

func (*RequestFlush) XXX_Marshal

func (m *RequestFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestFlush) XXX_Merge

func (m *RequestFlush) XXX_Merge(src proto.Message)

func (*RequestFlush) XXX_Size

func (m *RequestFlush) XXX_Size() int

func (*RequestFlush) XXX_Unmarshal

func (m *RequestFlush) XXX_Unmarshal(b []byte) error

type RequestInfo

type RequestInfo struct {
	Version      string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	BlockVersion uint64 `protobuf:"varint,2,opt,name=block_version,json=blockVersion,proto3" json:"block_version,omitempty"`
	P2PVersion   uint64 `protobuf:"varint,3,opt,name=p2p_version,json=p2pVersion,proto3" json:"p2p_version,omitempty"`
	AceiVersion  string `protobuf:"bytes,4,opt,name=acei_version,json=aceiVersion,proto3" json:"acei_version,omitempty"`
}

func (*RequestInfo) Descriptor

func (*RequestInfo) Descriptor() ([]byte, []int)

func (*RequestInfo) GetAceiVersion

func (m *RequestInfo) GetAceiVersion() string

func (*RequestInfo) GetBlockVersion

func (m *RequestInfo) GetBlockVersion() uint64

func (*RequestInfo) GetP2PVersion

func (m *RequestInfo) GetP2PVersion() uint64

func (*RequestInfo) GetVersion

func (m *RequestInfo) GetVersion() string

func (*RequestInfo) Marshal

func (m *RequestInfo) Marshal() (dAtA []byte, err error)

func (*RequestInfo) MarshalTo

func (m *RequestInfo) MarshalTo(dAtA []byte) (int, error)

func (*RequestInfo) MarshalToSizedBuffer

func (m *RequestInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestInfo) ProtoMessage

func (*RequestInfo) ProtoMessage()

func (*RequestInfo) Reset

func (m *RequestInfo) Reset()

func (*RequestInfo) Size

func (m *RequestInfo) Size() (n int)

func (*RequestInfo) String

func (m *RequestInfo) String() string

func (*RequestInfo) Unmarshal

func (m *RequestInfo) Unmarshal(dAtA []byte) error

func (*RequestInfo) XXX_DiscardUnknown

func (m *RequestInfo) XXX_DiscardUnknown()

func (*RequestInfo) XXX_Marshal

func (m *RequestInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestInfo) XXX_Merge

func (m *RequestInfo) XXX_Merge(src proto.Message)

func (*RequestInfo) XXX_Size

func (m *RequestInfo) XXX_Size() int

func (*RequestInfo) XXX_Unmarshal

func (m *RequestInfo) XXX_Unmarshal(b []byte) error

type RequestInitLedger

type RequestInitLedger struct {
	Time          time.Time `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time"`
	LedgerId      string    `protobuf:"bytes,2,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	AppStateBytes []byte    `protobuf:"bytes,3,opt,name=app_state_bytes,json=appStateBytes,proto3" json:"app_state_bytes,omitempty"`
	InitialHeight uint64    `protobuf:"varint,4,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
	Extra         []byte    `protobuf:"bytes,5,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*RequestInitLedger) Descriptor

func (*RequestInitLedger) Descriptor() ([]byte, []int)

func (*RequestInitLedger) GetAppStateBytes

func (m *RequestInitLedger) GetAppStateBytes() []byte

func (*RequestInitLedger) GetExtra

func (m *RequestInitLedger) GetExtra() []byte

func (*RequestInitLedger) GetInitialHeight

func (m *RequestInitLedger) GetInitialHeight() uint64

func (*RequestInitLedger) GetLedgerId

func (m *RequestInitLedger) GetLedgerId() string

func (*RequestInitLedger) GetTime

func (m *RequestInitLedger) GetTime() time.Time

func (*RequestInitLedger) Marshal

func (m *RequestInitLedger) Marshal() (dAtA []byte, err error)

func (*RequestInitLedger) MarshalTo

func (m *RequestInitLedger) MarshalTo(dAtA []byte) (int, error)

func (*RequestInitLedger) MarshalToSizedBuffer

func (m *RequestInitLedger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestInitLedger) ProtoMessage

func (*RequestInitLedger) ProtoMessage()

func (*RequestInitLedger) Reset

func (m *RequestInitLedger) Reset()

func (*RequestInitLedger) Size

func (m *RequestInitLedger) Size() (n int)

func (*RequestInitLedger) String

func (m *RequestInitLedger) String() string

func (*RequestInitLedger) Unmarshal

func (m *RequestInitLedger) Unmarshal(dAtA []byte) error

func (*RequestInitLedger) XXX_DiscardUnknown

func (m *RequestInitLedger) XXX_DiscardUnknown()

func (*RequestInitLedger) XXX_Marshal

func (m *RequestInitLedger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestInitLedger) XXX_Merge

func (m *RequestInitLedger) XXX_Merge(src proto.Message)

func (*RequestInitLedger) XXX_Size

func (m *RequestInitLedger) XXX_Size() int

func (*RequestInitLedger) XXX_Unmarshal

func (m *RequestInitLedger) XXX_Unmarshal(b []byte) error

type RequestListSnapshots

type RequestListSnapshots struct {
}

lists available snapshots

func (*RequestListSnapshots) Descriptor

func (*RequestListSnapshots) Descriptor() ([]byte, []int)

func (*RequestListSnapshots) Marshal

func (m *RequestListSnapshots) Marshal() (dAtA []byte, err error)

func (*RequestListSnapshots) MarshalTo

func (m *RequestListSnapshots) MarshalTo(dAtA []byte) (int, error)

func (*RequestListSnapshots) MarshalToSizedBuffer

func (m *RequestListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestListSnapshots) ProtoMessage

func (*RequestListSnapshots) ProtoMessage()

func (*RequestListSnapshots) Reset

func (m *RequestListSnapshots) Reset()

func (*RequestListSnapshots) Size

func (m *RequestListSnapshots) Size() (n int)

func (*RequestListSnapshots) String

func (m *RequestListSnapshots) String() string

func (*RequestListSnapshots) Unmarshal

func (m *RequestListSnapshots) Unmarshal(dAtA []byte) error

func (*RequestListSnapshots) XXX_DiscardUnknown

func (m *RequestListSnapshots) XXX_DiscardUnknown()

func (*RequestListSnapshots) XXX_Marshal

func (m *RequestListSnapshots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestListSnapshots) XXX_Merge

func (m *RequestListSnapshots) XXX_Merge(src proto.Message)

func (*RequestListSnapshots) XXX_Size

func (m *RequestListSnapshots) XXX_Size() int

func (*RequestListSnapshots) XXX_Unmarshal

func (m *RequestListSnapshots) XXX_Unmarshal(b []byte) error

type RequestLoadSnapshotChunk

type RequestLoadSnapshotChunk struct {
	Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Format uint32 `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
	Chunk  uint32 `protobuf:"varint,3,opt,name=chunk,proto3" json:"chunk,omitempty"`
}

loads a snapshot chunk

func (*RequestLoadSnapshotChunk) Descriptor

func (*RequestLoadSnapshotChunk) Descriptor() ([]byte, []int)

func (*RequestLoadSnapshotChunk) GetChunk

func (m *RequestLoadSnapshotChunk) GetChunk() uint32

func (*RequestLoadSnapshotChunk) GetFormat

func (m *RequestLoadSnapshotChunk) GetFormat() uint32

func (*RequestLoadSnapshotChunk) GetHeight

func (m *RequestLoadSnapshotChunk) GetHeight() uint64

func (*RequestLoadSnapshotChunk) Marshal

func (m *RequestLoadSnapshotChunk) Marshal() (dAtA []byte, err error)

func (*RequestLoadSnapshotChunk) MarshalTo

func (m *RequestLoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)

func (*RequestLoadSnapshotChunk) MarshalToSizedBuffer

func (m *RequestLoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestLoadSnapshotChunk) ProtoMessage

func (*RequestLoadSnapshotChunk) ProtoMessage()

func (*RequestLoadSnapshotChunk) Reset

func (m *RequestLoadSnapshotChunk) Reset()

func (*RequestLoadSnapshotChunk) Size

func (m *RequestLoadSnapshotChunk) Size() (n int)

func (*RequestLoadSnapshotChunk) String

func (m *RequestLoadSnapshotChunk) String() string

func (*RequestLoadSnapshotChunk) Unmarshal

func (m *RequestLoadSnapshotChunk) Unmarshal(dAtA []byte) error

func (*RequestLoadSnapshotChunk) XXX_DiscardUnknown

func (m *RequestLoadSnapshotChunk) XXX_DiscardUnknown()

func (*RequestLoadSnapshotChunk) XXX_Marshal

func (m *RequestLoadSnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestLoadSnapshotChunk) XXX_Merge

func (m *RequestLoadSnapshotChunk) XXX_Merge(src proto.Message)

func (*RequestLoadSnapshotChunk) XXX_Size

func (m *RequestLoadSnapshotChunk) XXX_Size() int

func (*RequestLoadSnapshotChunk) XXX_Unmarshal

func (m *RequestLoadSnapshotChunk) XXX_Unmarshal(b []byte) error

type RequestOfferSnapshot

type RequestOfferSnapshot struct {
	Snapshot *Snapshot `protobuf:"bytes,1,opt,name=snapshot,proto3" json:"snapshot,omitempty"`
	AppHash  []byte    `protobuf:"bytes,2,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
}

offers a snapshot to the application

func (*RequestOfferSnapshot) Descriptor

func (*RequestOfferSnapshot) Descriptor() ([]byte, []int)

func (*RequestOfferSnapshot) GetAppHash

func (m *RequestOfferSnapshot) GetAppHash() []byte

func (*RequestOfferSnapshot) GetSnapshot

func (m *RequestOfferSnapshot) GetSnapshot() *Snapshot

func (*RequestOfferSnapshot) Marshal

func (m *RequestOfferSnapshot) Marshal() (dAtA []byte, err error)

func (*RequestOfferSnapshot) MarshalTo

func (m *RequestOfferSnapshot) MarshalTo(dAtA []byte) (int, error)

func (*RequestOfferSnapshot) MarshalToSizedBuffer

func (m *RequestOfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestOfferSnapshot) ProtoMessage

func (*RequestOfferSnapshot) ProtoMessage()

func (*RequestOfferSnapshot) Reset

func (m *RequestOfferSnapshot) Reset()

func (*RequestOfferSnapshot) Size

func (m *RequestOfferSnapshot) Size() (n int)

func (*RequestOfferSnapshot) String

func (m *RequestOfferSnapshot) String() string

func (*RequestOfferSnapshot) Unmarshal

func (m *RequestOfferSnapshot) Unmarshal(dAtA []byte) error

func (*RequestOfferSnapshot) XXX_DiscardUnknown

func (m *RequestOfferSnapshot) XXX_DiscardUnknown()

func (*RequestOfferSnapshot) XXX_Marshal

func (m *RequestOfferSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestOfferSnapshot) XXX_Merge

func (m *RequestOfferSnapshot) XXX_Merge(src proto.Message)

func (*RequestOfferSnapshot) XXX_Size

func (m *RequestOfferSnapshot) XXX_Size() int

func (*RequestOfferSnapshot) XXX_Unmarshal

func (m *RequestOfferSnapshot) XXX_Unmarshal(b []byte) error

type RequestQuery

type RequestQuery 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 uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Prove  bool   `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"`
}

func (*RequestQuery) Descriptor

func (*RequestQuery) Descriptor() ([]byte, []int)

func (*RequestQuery) GetData

func (m *RequestQuery) GetData() []byte

func (*RequestQuery) GetHeight

func (m *RequestQuery) GetHeight() uint64

func (*RequestQuery) GetPath

func (m *RequestQuery) GetPath() string

func (*RequestQuery) GetProve

func (m *RequestQuery) GetProve() bool

func (*RequestQuery) Marshal

func (m *RequestQuery) Marshal() (dAtA []byte, err error)

func (*RequestQuery) MarshalTo

func (m *RequestQuery) MarshalTo(dAtA []byte) (int, error)

func (*RequestQuery) MarshalToSizedBuffer

func (m *RequestQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RequestQuery) ProtoMessage

func (*RequestQuery) ProtoMessage()

func (*RequestQuery) Reset

func (m *RequestQuery) Reset()

func (*RequestQuery) Size

func (m *RequestQuery) Size() (n int)

func (*RequestQuery) String

func (m *RequestQuery) String() string

func (*RequestQuery) Unmarshal

func (m *RequestQuery) Unmarshal(dAtA []byte) error

func (*RequestQuery) XXX_DiscardUnknown

func (m *RequestQuery) XXX_DiscardUnknown()

func (*RequestQuery) XXX_Marshal

func (m *RequestQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RequestQuery) XXX_Merge

func (m *RequestQuery) XXX_Merge(src proto.Message)

func (*RequestQuery) XXX_Size

func (m *RequestQuery) XXX_Size() int

func (*RequestQuery) XXX_Unmarshal

func (m *RequestQuery) XXX_Unmarshal(b []byte) error

type Request_ApplySnapshotChunk

type Request_ApplySnapshotChunk struct {
	ApplySnapshotChunk *RequestApplySnapshotChunk `protobuf:"bytes,14,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,6,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_CheckTx

type Request_CheckTx struct {
	CheckTx *RequestCheckTx `protobuf:"bytes,7,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
}

func (*Request_CheckTx) MarshalTo

func (m *Request_CheckTx) MarshalTo(dAtA []byte) (int, error)

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 *RequestCommit `protobuf:"bytes,10,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}

func (*Request_Commit) MarshalTo

func (m *Request_Commit) MarshalTo(dAtA []byte) (int, error)

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 *RequestDeliverTx `protobuf:"bytes,8,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 *RequestEcho `protobuf:"bytes,1,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
}

func (*Request_Echo) MarshalTo

func (m *Request_Echo) MarshalTo(dAtA []byte) (int, error)

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 *RequestEndBlock `protobuf:"bytes,9,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
}

func (*Request_EndBlock) MarshalTo

func (m *Request_EndBlock) MarshalTo(dAtA []byte) (int, error)

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_Flush

type Request_Flush struct {
	Flush *RequestFlush `protobuf:"bytes,2,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
}

func (*Request_Flush) MarshalTo

func (m *Request_Flush) MarshalTo(dAtA []byte) (int, error)

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 *RequestInfo `protobuf:"bytes,3,opt,name=info,proto3,oneof" json:"info,omitempty"`
}

func (*Request_Info) MarshalTo

func (m *Request_Info) MarshalTo(dAtA []byte) (int, error)

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_InitLedger

type Request_InitLedger struct {
	InitLedger *RequestInitLedger `protobuf:"bytes,4,opt,name=init_ledger,json=initLedger,proto3,oneof" json:"init_ledger,omitempty"`
}

func (*Request_InitLedger) MarshalTo

func (m *Request_InitLedger) MarshalTo(dAtA []byte) (int, error)

func (*Request_InitLedger) MarshalToSizedBuffer

func (m *Request_InitLedger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Request_InitLedger) Size

func (m *Request_InitLedger) Size() (n int)

type Request_ListSnapshots

type Request_ListSnapshots struct {
	ListSnapshots *RequestListSnapshots `protobuf:"bytes,11,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 *RequestLoadSnapshotChunk `protobuf:"bytes,13,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 *RequestOfferSnapshot `protobuf:"bytes,12,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 *RequestQuery `protobuf:"bytes,5,opt,name=query,proto3,oneof" json:"query,omitempty"`
}

func (*Request_Query) MarshalTo

func (m *Request_Query) MarshalTo(dAtA []byte) (int, error)

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 Response

type Response struct {
	// Types that are valid to be assigned to Value:
	//	*Response_Exception
	//	*Response_Echo
	//	*Response_Flush
	//	*Response_Info
	//	*Response_InitLedger
	//	*Response_Query
	//	*Response_BeginBlock
	//	*Response_CheckTx
	//	*Response_DeliverTx
	//	*Response_EndBlock
	//	*Response_Commit
	//	*Response_ListSnapshots
	//	*Response_OfferSnapshot
	//	*Response_LoadSnapshotChunk
	//	*Response_ApplySnapshotChunk
	Value isResponse_Value `protobuf_oneof:"value"`
}

func ToResponseApplySnapshotChunk

func ToResponseApplySnapshotChunk(res ResponseApplySnapshotChunk) *Response

func ToResponseBeginBlock

func ToResponseBeginBlock(res ResponseBeginBlock) *Response

func ToResponseCheckTx

func ToResponseCheckTx(res ResponseCheckTx) *Response

func ToResponseCommit

func ToResponseCommit(res ResponseCommit) *Response

func ToResponseDeliverTx

func ToResponseDeliverTx(res ResponseDeliverTx) *Response

func ToResponseEcho

func ToResponseEcho(message string) *Response

func ToResponseEndBlock

func ToResponseEndBlock(res ResponseEndBlock) *Response

func ToResponseException

func ToResponseException(errStr string) *Response

func ToResponseFlush

func ToResponseFlush() *Response

func ToResponseInfo

func ToResponseInfo(res ResponseInfo) *Response

func ToResponseInitLedger

func ToResponseInitLedger(res ResponseInitLedger) *Response

func ToResponseListSnapshots

func ToResponseListSnapshots(res ResponseListSnapshots) *Response

func ToResponseLoadSnapshotChunk

func ToResponseLoadSnapshotChunk(res ResponseLoadSnapshotChunk) *Response

func ToResponseOfferSnapshot

func ToResponseOfferSnapshot(res ResponseOfferSnapshot) *Response

func ToResponseQuery

func ToResponseQuery(res ResponseQuery) *Response

func (*Response) Descriptor

func (*Response) Descriptor() ([]byte, []int)

func (*Response) GetApplySnapshotChunk

func (m *Response) GetApplySnapshotChunk() *ResponseApplySnapshotChunk

func (*Response) GetBeginBlock

func (m *Response) GetBeginBlock() *ResponseBeginBlock

func (*Response) GetCheckTx

func (m *Response) GetCheckTx() *ResponseCheckTx

func (*Response) GetCommit

func (m *Response) GetCommit() *ResponseCommit

func (*Response) GetDeliverTx

func (m *Response) GetDeliverTx() *ResponseDeliverTx

func (*Response) GetEcho

func (m *Response) GetEcho() *ResponseEcho

func (*Response) GetEndBlock

func (m *Response) GetEndBlock() *ResponseEndBlock

func (*Response) GetException

func (m *Response) GetException() *ResponseException

func (*Response) GetFlush

func (m *Response) GetFlush() *ResponseFlush

func (*Response) GetInfo

func (m *Response) GetInfo() *ResponseInfo

func (*Response) GetInitLedger

func (m *Response) GetInitLedger() *ResponseInitLedger

func (*Response) GetListSnapshots

func (m *Response) GetListSnapshots() *ResponseListSnapshots

func (*Response) GetLoadSnapshotChunk

func (m *Response) GetLoadSnapshotChunk() *ResponseLoadSnapshotChunk

func (*Response) GetOfferSnapshot

func (m *Response) GetOfferSnapshot() *ResponseOfferSnapshot

func (*Response) GetQuery

func (m *Response) GetQuery() *ResponseQuery

func (*Response) GetValue

func (m *Response) GetValue() isResponse_Value

func (*Response) Marshal

func (m *Response) Marshal() (dAtA []byte, err error)

func (*Response) MarshalTo

func (m *Response) MarshalTo(dAtA []byte) (int, error)

func (*Response) MarshalToSizedBuffer

func (m *Response) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response) ProtoMessage

func (*Response) ProtoMessage()

func (*Response) Reset

func (m *Response) Reset()

func (*Response) Size

func (m *Response) Size() (n int)

func (*Response) String

func (m *Response) String() string

func (*Response) Unmarshal

func (m *Response) Unmarshal(dAtA []byte) error

func (*Response) XXX_DiscardUnknown

func (m *Response) XXX_DiscardUnknown()

func (*Response) XXX_Marshal

func (m *Response) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Response) XXX_Merge

func (m *Response) XXX_Merge(src proto.Message)

func (*Response) XXX_OneofWrappers

func (*Response) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Response) XXX_Size

func (m *Response) XXX_Size() int

func (*Response) XXX_Unmarshal

func (m *Response) XXX_Unmarshal(b []byte) error

type ResponseApplySnapshotChunk

type ResponseApplySnapshotChunk struct {
	Result        ResponseApplySnapshotChunk_Result `protobuf:"varint,1,opt,name=result,proto3,enum=daotl.acei.ResponseApplySnapshotChunk_Result" json:"result,omitempty"`
	RefetchChunks []uint32                          `protobuf:"varint,2,rep,packed,name=refetch_chunks,json=refetchChunks,proto3" json:"refetch_chunks,omitempty"`
	RejectSenders []string                          `protobuf:"bytes,3,rep,name=reject_senders,json=rejectSenders,proto3" json:"reject_senders,omitempty"`
}

func (*ResponseApplySnapshotChunk) Descriptor

func (*ResponseApplySnapshotChunk) Descriptor() ([]byte, []int)

func (*ResponseApplySnapshotChunk) GetRefetchChunks

func (m *ResponseApplySnapshotChunk) GetRefetchChunks() []uint32

func (*ResponseApplySnapshotChunk) GetRejectSenders

func (m *ResponseApplySnapshotChunk) GetRejectSenders() []string

func (*ResponseApplySnapshotChunk) GetResult

func (*ResponseApplySnapshotChunk) Marshal

func (m *ResponseApplySnapshotChunk) Marshal() (dAtA []byte, err error)

func (*ResponseApplySnapshotChunk) MarshalTo

func (m *ResponseApplySnapshotChunk) MarshalTo(dAtA []byte) (int, error)

func (*ResponseApplySnapshotChunk) MarshalToSizedBuffer

func (m *ResponseApplySnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseApplySnapshotChunk) ProtoMessage

func (*ResponseApplySnapshotChunk) ProtoMessage()

func (*ResponseApplySnapshotChunk) Reset

func (m *ResponseApplySnapshotChunk) Reset()

func (*ResponseApplySnapshotChunk) Size

func (m *ResponseApplySnapshotChunk) Size() (n int)

func (*ResponseApplySnapshotChunk) String

func (m *ResponseApplySnapshotChunk) String() string

func (*ResponseApplySnapshotChunk) Unmarshal

func (m *ResponseApplySnapshotChunk) Unmarshal(dAtA []byte) error

func (*ResponseApplySnapshotChunk) XXX_DiscardUnknown

func (m *ResponseApplySnapshotChunk) XXX_DiscardUnknown()

func (*ResponseApplySnapshotChunk) XXX_Marshal

func (m *ResponseApplySnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseApplySnapshotChunk) XXX_Merge

func (m *ResponseApplySnapshotChunk) XXX_Merge(src proto.Message)

func (*ResponseApplySnapshotChunk) XXX_Size

func (m *ResponseApplySnapshotChunk) XXX_Size() int

func (*ResponseApplySnapshotChunk) XXX_Unmarshal

func (m *ResponseApplySnapshotChunk) XXX_Unmarshal(b []byte) error

type ResponseApplySnapshotChunk_Result

type ResponseApplySnapshotChunk_Result int32
const (
	ResponseApplySnapshotChunk_UNKNOWN         ResponseApplySnapshotChunk_Result = 0
	ResponseApplySnapshotChunk_ACCEPT          ResponseApplySnapshotChunk_Result = 1
	ResponseApplySnapshotChunk_ABORT           ResponseApplySnapshotChunk_Result = 2
	ResponseApplySnapshotChunk_RETRY           ResponseApplySnapshotChunk_Result = 3
	ResponseApplySnapshotChunk_RETRY_SNAPSHOT  ResponseApplySnapshotChunk_Result = 4
	ResponseApplySnapshotChunk_REJECT_SNAPSHOT ResponseApplySnapshotChunk_Result = 5
)

func (ResponseApplySnapshotChunk_Result) EnumDescriptor

func (ResponseApplySnapshotChunk_Result) EnumDescriptor() ([]byte, []int)

func (ResponseApplySnapshotChunk_Result) String

type ResponseBeginBlock

type ResponseBeginBlock struct {
	Events []Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
}

func (*ResponseBeginBlock) Descriptor

func (*ResponseBeginBlock) Descriptor() ([]byte, []int)

func (*ResponseBeginBlock) GetEvents

func (m *ResponseBeginBlock) GetEvents() []Event

func (*ResponseBeginBlock) Marshal

func (m *ResponseBeginBlock) Marshal() (dAtA []byte, err error)

func (*ResponseBeginBlock) MarshalTo

func (m *ResponseBeginBlock) MarshalTo(dAtA []byte) (int, error)

func (*ResponseBeginBlock) MarshalToSizedBuffer

func (m *ResponseBeginBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseBeginBlock) ProtoMessage

func (*ResponseBeginBlock) ProtoMessage()

func (*ResponseBeginBlock) Reset

func (m *ResponseBeginBlock) Reset()

func (*ResponseBeginBlock) Size

func (m *ResponseBeginBlock) Size() (n int)

func (*ResponseBeginBlock) String

func (m *ResponseBeginBlock) String() string

func (*ResponseBeginBlock) Unmarshal

func (m *ResponseBeginBlock) Unmarshal(dAtA []byte) error

func (*ResponseBeginBlock) XXX_DiscardUnknown

func (m *ResponseBeginBlock) XXX_DiscardUnknown()

func (*ResponseBeginBlock) XXX_Marshal

func (m *ResponseBeginBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseBeginBlock) XXX_Merge

func (m *ResponseBeginBlock) XXX_Merge(src proto.Message)

func (*ResponseBeginBlock) XXX_Size

func (m *ResponseBeginBlock) XXX_Size() int

func (*ResponseBeginBlock) XXX_Unmarshal

func (m *ResponseBeginBlock) 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    []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 the SMRE.
	// ACEI applications 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() []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) IsOK

func (r ResponseCheckTx) IsOK() bool

IsOK returns true if Code is OK.

func (*ResponseCheckTx) Marshal

func (m *ResponseCheckTx) Marshal() (dAtA []byte, err error)

func (*ResponseCheckTx) MarshalJSON

func (r *ResponseCheckTx) MarshalJSON() ([]byte, error)

func (*ResponseCheckTx) MarshalTo

func (m *ResponseCheckTx) MarshalTo(dAtA []byte) (int, 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 ResponseCommit

type ResponseCommit struct {
	// reserve 1
	Data         []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	RetainHeight uint64 `protobuf:"varint,3,opt,name=retain_height,json=retainHeight,proto3" json:"retain_height,omitempty"`
}

func (*ResponseCommit) Descriptor

func (*ResponseCommit) Descriptor() ([]byte, []int)

func (*ResponseCommit) GetData

func (m *ResponseCommit) GetData() []byte

func (*ResponseCommit) GetRetainHeight

func (m *ResponseCommit) GetRetainHeight() uint64

func (*ResponseCommit) Marshal

func (m *ResponseCommit) Marshal() (dAtA []byte, err error)

func (*ResponseCommit) MarshalJSON

func (r *ResponseCommit) MarshalJSON() ([]byte, error)

func (*ResponseCommit) MarshalTo

func (m *ResponseCommit) MarshalTo(dAtA []byte) (int, error)

func (*ResponseCommit) MarshalToSizedBuffer

func (m *ResponseCommit) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseCommit) ProtoMessage

func (*ResponseCommit) ProtoMessage()

func (*ResponseCommit) Reset

func (m *ResponseCommit) Reset()

func (*ResponseCommit) Size

func (m *ResponseCommit) Size() (n int)

func (*ResponseCommit) String

func (m *ResponseCommit) String() string

func (*ResponseCommit) Unmarshal

func (m *ResponseCommit) Unmarshal(dAtA []byte) error

func (*ResponseCommit) UnmarshalJSON

func (r *ResponseCommit) UnmarshalJSON(b []byte) error

func (*ResponseCommit) XXX_DiscardUnknown

func (m *ResponseCommit) XXX_DiscardUnknown()

func (*ResponseCommit) XXX_Marshal

func (m *ResponseCommit) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseCommit) XXX_Merge

func (m *ResponseCommit) XXX_Merge(src proto.Message)

func (*ResponseCommit) XXX_Size

func (m *ResponseCommit) XXX_Size() int

func (*ResponseCommit) XXX_Unmarshal

func (m *ResponseCommit) XXX_Unmarshal(b []byte) error

type ResponseDeliverTx

type ResponseDeliverTx 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    []Event `protobuf:"bytes,7,rep,name=events,proto3" json:"events,omitempty"`
	Codespace string  `protobuf:"bytes,8,opt,name=codespace,proto3" json:"codespace,omitempty"`
}

func (*ResponseDeliverTx) Descriptor

func (*ResponseDeliverTx) Descriptor() ([]byte, []int)

func (*ResponseDeliverTx) GetCode

func (m *ResponseDeliverTx) GetCode() uint32

func (*ResponseDeliverTx) GetCodespace

func (m *ResponseDeliverTx) GetCodespace() string

func (*ResponseDeliverTx) GetData

func (m *ResponseDeliverTx) GetData() []byte

func (*ResponseDeliverTx) GetEvents

func (m *ResponseDeliverTx) GetEvents() []Event

func (*ResponseDeliverTx) GetGasUsed

func (m *ResponseDeliverTx) GetGasUsed() int64

func (*ResponseDeliverTx) GetGasWanted

func (m *ResponseDeliverTx) GetGasWanted() int64

func (*ResponseDeliverTx) GetInfo

func (m *ResponseDeliverTx) GetInfo() string

func (*ResponseDeliverTx) GetLog

func (m *ResponseDeliverTx) GetLog() string

func (ResponseDeliverTx) IsErr

func (r ResponseDeliverTx) IsErr() bool

IsErr returns true if Code is something other than OK.

func (ResponseDeliverTx) IsOK

func (r ResponseDeliverTx) IsOK() bool

IsOK returns true if Code is OK.

func (*ResponseDeliverTx) Marshal

func (m *ResponseDeliverTx) Marshal() (dAtA []byte, err error)

func (*ResponseDeliverTx) MarshalJSON

func (r *ResponseDeliverTx) MarshalJSON() ([]byte, error)

func (*ResponseDeliverTx) MarshalTo

func (m *ResponseDeliverTx) MarshalTo(dAtA []byte) (int, error)

func (*ResponseDeliverTx) MarshalToSizedBuffer

func (m *ResponseDeliverTx) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseDeliverTx) ProtoMessage

func (*ResponseDeliverTx) ProtoMessage()

func (*ResponseDeliverTx) Reset

func (m *ResponseDeliverTx) Reset()

func (*ResponseDeliverTx) Size

func (m *ResponseDeliverTx) Size() (n int)

func (*ResponseDeliverTx) String

func (m *ResponseDeliverTx) String() string

func (*ResponseDeliverTx) Unmarshal

func (m *ResponseDeliverTx) Unmarshal(dAtA []byte) error

func (*ResponseDeliverTx) UnmarshalJSON

func (r *ResponseDeliverTx) UnmarshalJSON(b []byte) error

func (*ResponseDeliverTx) XXX_DiscardUnknown

func (m *ResponseDeliverTx) XXX_DiscardUnknown()

func (*ResponseDeliverTx) XXX_Marshal

func (m *ResponseDeliverTx) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseDeliverTx) XXX_Merge

func (m *ResponseDeliverTx) XXX_Merge(src proto.Message)

func (*ResponseDeliverTx) XXX_Size

func (m *ResponseDeliverTx) XXX_Size() int

func (*ResponseDeliverTx) XXX_Unmarshal

func (m *ResponseDeliverTx) XXX_Unmarshal(b []byte) error

type ResponseEcho

type ResponseEcho struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
}

func (*ResponseEcho) Descriptor

func (*ResponseEcho) Descriptor() ([]byte, []int)

func (*ResponseEcho) GetMessage

func (m *ResponseEcho) GetMessage() string

func (*ResponseEcho) Marshal

func (m *ResponseEcho) Marshal() (dAtA []byte, err error)

func (*ResponseEcho) MarshalTo

func (m *ResponseEcho) MarshalTo(dAtA []byte) (int, error)

func (*ResponseEcho) MarshalToSizedBuffer

func (m *ResponseEcho) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseEcho) ProtoMessage

func (*ResponseEcho) ProtoMessage()

func (*ResponseEcho) Reset

func (m *ResponseEcho) Reset()

func (*ResponseEcho) Size

func (m *ResponseEcho) Size() (n int)

func (*ResponseEcho) String

func (m *ResponseEcho) String() string

func (*ResponseEcho) Unmarshal

func (m *ResponseEcho) Unmarshal(dAtA []byte) error

func (*ResponseEcho) XXX_DiscardUnknown

func (m *ResponseEcho) XXX_DiscardUnknown()

func (*ResponseEcho) XXX_Marshal

func (m *ResponseEcho) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseEcho) XXX_Merge

func (m *ResponseEcho) XXX_Merge(src proto.Message)

func (*ResponseEcho) XXX_Size

func (m *ResponseEcho) XXX_Size() int

func (*ResponseEcho) XXX_Unmarshal

func (m *ResponseEcho) XXX_Unmarshal(b []byte) error

type ResponseEndBlock

type ResponseEndBlock struct {
	Events []Event `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	Extra  []byte  `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*ResponseEndBlock) Descriptor

func (*ResponseEndBlock) Descriptor() ([]byte, []int)

func (*ResponseEndBlock) GetEvents

func (m *ResponseEndBlock) GetEvents() []Event

func (*ResponseEndBlock) GetExtra

func (m *ResponseEndBlock) GetExtra() []byte

func (*ResponseEndBlock) Marshal

func (m *ResponseEndBlock) Marshal() (dAtA []byte, err error)

func (*ResponseEndBlock) MarshalTo

func (m *ResponseEndBlock) MarshalTo(dAtA []byte) (int, error)

func (*ResponseEndBlock) MarshalToSizedBuffer

func (m *ResponseEndBlock) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseEndBlock) ProtoMessage

func (*ResponseEndBlock) ProtoMessage()

func (*ResponseEndBlock) Reset

func (m *ResponseEndBlock) Reset()

func (*ResponseEndBlock) Size

func (m *ResponseEndBlock) Size() (n int)

func (*ResponseEndBlock) String

func (m *ResponseEndBlock) String() string

func (*ResponseEndBlock) Unmarshal

func (m *ResponseEndBlock) Unmarshal(dAtA []byte) error

func (*ResponseEndBlock) XXX_DiscardUnknown

func (m *ResponseEndBlock) XXX_DiscardUnknown()

func (*ResponseEndBlock) XXX_Marshal

func (m *ResponseEndBlock) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseEndBlock) XXX_Merge

func (m *ResponseEndBlock) XXX_Merge(src proto.Message)

func (*ResponseEndBlock) XXX_Size

func (m *ResponseEndBlock) XXX_Size() int

func (*ResponseEndBlock) XXX_Unmarshal

func (m *ResponseEndBlock) XXX_Unmarshal(b []byte) error

type ResponseException

type ResponseException struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
}

nondeterministic

func (*ResponseException) Descriptor

func (*ResponseException) Descriptor() ([]byte, []int)

func (*ResponseException) GetError

func (m *ResponseException) GetError() string

func (*ResponseException) Marshal

func (m *ResponseException) Marshal() (dAtA []byte, err error)

func (*ResponseException) MarshalTo

func (m *ResponseException) MarshalTo(dAtA []byte) (int, error)

func (*ResponseException) MarshalToSizedBuffer

func (m *ResponseException) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseException) ProtoMessage

func (*ResponseException) ProtoMessage()

func (*ResponseException) Reset

func (m *ResponseException) Reset()

func (*ResponseException) Size

func (m *ResponseException) Size() (n int)

func (*ResponseException) String

func (m *ResponseException) String() string

func (*ResponseException) Unmarshal

func (m *ResponseException) Unmarshal(dAtA []byte) error

func (*ResponseException) XXX_DiscardUnknown

func (m *ResponseException) XXX_DiscardUnknown()

func (*ResponseException) XXX_Marshal

func (m *ResponseException) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseException) XXX_Merge

func (m *ResponseException) XXX_Merge(src proto.Message)

func (*ResponseException) XXX_Size

func (m *ResponseException) XXX_Size() int

func (*ResponseException) XXX_Unmarshal

func (m *ResponseException) XXX_Unmarshal(b []byte) error

type ResponseFlush

type ResponseFlush struct {
}

func (*ResponseFlush) Descriptor

func (*ResponseFlush) Descriptor() ([]byte, []int)

func (*ResponseFlush) Marshal

func (m *ResponseFlush) Marshal() (dAtA []byte, err error)

func (*ResponseFlush) MarshalTo

func (m *ResponseFlush) MarshalTo(dAtA []byte) (int, error)

func (*ResponseFlush) MarshalToSizedBuffer

func (m *ResponseFlush) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseFlush) ProtoMessage

func (*ResponseFlush) ProtoMessage()

func (*ResponseFlush) Reset

func (m *ResponseFlush) Reset()

func (*ResponseFlush) Size

func (m *ResponseFlush) Size() (n int)

func (*ResponseFlush) String

func (m *ResponseFlush) String() string

func (*ResponseFlush) Unmarshal

func (m *ResponseFlush) Unmarshal(dAtA []byte) error

func (*ResponseFlush) XXX_DiscardUnknown

func (m *ResponseFlush) XXX_DiscardUnknown()

func (*ResponseFlush) XXX_Marshal

func (m *ResponseFlush) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseFlush) XXX_Merge

func (m *ResponseFlush) XXX_Merge(src proto.Message)

func (*ResponseFlush) XXX_Size

func (m *ResponseFlush) XXX_Size() int

func (*ResponseFlush) XXX_Unmarshal

func (m *ResponseFlush) XXX_Unmarshal(b []byte) error

type ResponseInfo

type ResponseInfo struct {
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// this is the software version of the application. TODO: remove?
	Version          string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`
	AppVersion       uint64 `protobuf:"varint,3,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
	LastBlockHeight  uint64 `protobuf:"varint,4,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
	LastBlockAppHash []byte `protobuf:"bytes,5,opt,name=last_block_app_hash,json=lastBlockAppHash,proto3" json:"last_block_app_hash,omitempty"`
}

func (*ResponseInfo) Descriptor

func (*ResponseInfo) Descriptor() ([]byte, []int)

func (*ResponseInfo) GetAppVersion

func (m *ResponseInfo) GetAppVersion() uint64

func (*ResponseInfo) GetData

func (m *ResponseInfo) GetData() string

func (*ResponseInfo) GetLastBlockAppHash

func (m *ResponseInfo) GetLastBlockAppHash() []byte

func (*ResponseInfo) GetLastBlockHeight

func (m *ResponseInfo) GetLastBlockHeight() uint64

func (*ResponseInfo) GetVersion

func (m *ResponseInfo) GetVersion() string

func (*ResponseInfo) Marshal

func (m *ResponseInfo) Marshal() (dAtA []byte, err error)

func (*ResponseInfo) MarshalTo

func (m *ResponseInfo) MarshalTo(dAtA []byte) (int, error)

func (*ResponseInfo) MarshalToSizedBuffer

func (m *ResponseInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseInfo) ProtoMessage

func (*ResponseInfo) ProtoMessage()

func (*ResponseInfo) Reset

func (m *ResponseInfo) Reset()

func (*ResponseInfo) Size

func (m *ResponseInfo) Size() (n int)

func (*ResponseInfo) String

func (m *ResponseInfo) String() string

func (*ResponseInfo) Unmarshal

func (m *ResponseInfo) Unmarshal(dAtA []byte) error

func (*ResponseInfo) XXX_DiscardUnknown

func (m *ResponseInfo) XXX_DiscardUnknown()

func (*ResponseInfo) XXX_Marshal

func (m *ResponseInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseInfo) XXX_Merge

func (m *ResponseInfo) XXX_Merge(src proto.Message)

func (*ResponseInfo) XXX_Size

func (m *ResponseInfo) XXX_Size() int

func (*ResponseInfo) XXX_Unmarshal

func (m *ResponseInfo) XXX_Unmarshal(b []byte) error

type ResponseInitLedger

type ResponseInitLedger struct {
	AppHash []byte `protobuf:"bytes,1,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
	Extra   []byte `protobuf:"bytes,2,opt,name=extra,proto3" json:"extra,omitempty"`
}

func (*ResponseInitLedger) Descriptor

func (*ResponseInitLedger) Descriptor() ([]byte, []int)

func (*ResponseInitLedger) GetAppHash

func (m *ResponseInitLedger) GetAppHash() []byte

func (*ResponseInitLedger) GetExtra

func (m *ResponseInitLedger) GetExtra() []byte

func (*ResponseInitLedger) Marshal

func (m *ResponseInitLedger) Marshal() (dAtA []byte, err error)

func (*ResponseInitLedger) MarshalTo

func (m *ResponseInitLedger) MarshalTo(dAtA []byte) (int, error)

func (*ResponseInitLedger) MarshalToSizedBuffer

func (m *ResponseInitLedger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseInitLedger) ProtoMessage

func (*ResponseInitLedger) ProtoMessage()

func (*ResponseInitLedger) Reset

func (m *ResponseInitLedger) Reset()

func (*ResponseInitLedger) Size

func (m *ResponseInitLedger) Size() (n int)

func (*ResponseInitLedger) String

func (m *ResponseInitLedger) String() string

func (*ResponseInitLedger) Unmarshal

func (m *ResponseInitLedger) Unmarshal(dAtA []byte) error

func (*ResponseInitLedger) XXX_DiscardUnknown

func (m *ResponseInitLedger) XXX_DiscardUnknown()

func (*ResponseInitLedger) XXX_Marshal

func (m *ResponseInitLedger) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseInitLedger) XXX_Merge

func (m *ResponseInitLedger) XXX_Merge(src proto.Message)

func (*ResponseInitLedger) XXX_Size

func (m *ResponseInitLedger) XXX_Size() int

func (*ResponseInitLedger) XXX_Unmarshal

func (m *ResponseInitLedger) XXX_Unmarshal(b []byte) error

type ResponseListSnapshots

type ResponseListSnapshots struct {
	Snapshots []*Snapshot `protobuf:"bytes,1,rep,name=snapshots,proto3" json:"snapshots,omitempty"`
}

func (*ResponseListSnapshots) Descriptor

func (*ResponseListSnapshots) Descriptor() ([]byte, []int)

func (*ResponseListSnapshots) GetSnapshots

func (m *ResponseListSnapshots) GetSnapshots() []*Snapshot

func (*ResponseListSnapshots) Marshal

func (m *ResponseListSnapshots) Marshal() (dAtA []byte, err error)

func (*ResponseListSnapshots) MarshalTo

func (m *ResponseListSnapshots) MarshalTo(dAtA []byte) (int, error)

func (*ResponseListSnapshots) MarshalToSizedBuffer

func (m *ResponseListSnapshots) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseListSnapshots) ProtoMessage

func (*ResponseListSnapshots) ProtoMessage()

func (*ResponseListSnapshots) Reset

func (m *ResponseListSnapshots) Reset()

func (*ResponseListSnapshots) Size

func (m *ResponseListSnapshots) Size() (n int)

func (*ResponseListSnapshots) String

func (m *ResponseListSnapshots) String() string

func (*ResponseListSnapshots) Unmarshal

func (m *ResponseListSnapshots) Unmarshal(dAtA []byte) error

func (*ResponseListSnapshots) XXX_DiscardUnknown

func (m *ResponseListSnapshots) XXX_DiscardUnknown()

func (*ResponseListSnapshots) XXX_Marshal

func (m *ResponseListSnapshots) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseListSnapshots) XXX_Merge

func (m *ResponseListSnapshots) XXX_Merge(src proto.Message)

func (*ResponseListSnapshots) XXX_Size

func (m *ResponseListSnapshots) XXX_Size() int

func (*ResponseListSnapshots) XXX_Unmarshal

func (m *ResponseListSnapshots) XXX_Unmarshal(b []byte) error

type ResponseLoadSnapshotChunk

type ResponseLoadSnapshotChunk struct {
	Chunk []byte `protobuf:"bytes,1,opt,name=chunk,proto3" json:"chunk,omitempty"`
}

func (*ResponseLoadSnapshotChunk) Descriptor

func (*ResponseLoadSnapshotChunk) Descriptor() ([]byte, []int)

func (*ResponseLoadSnapshotChunk) GetChunk

func (m *ResponseLoadSnapshotChunk) GetChunk() []byte

func (*ResponseLoadSnapshotChunk) Marshal

func (m *ResponseLoadSnapshotChunk) Marshal() (dAtA []byte, err error)

func (*ResponseLoadSnapshotChunk) MarshalTo

func (m *ResponseLoadSnapshotChunk) MarshalTo(dAtA []byte) (int, error)

func (*ResponseLoadSnapshotChunk) MarshalToSizedBuffer

func (m *ResponseLoadSnapshotChunk) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseLoadSnapshotChunk) ProtoMessage

func (*ResponseLoadSnapshotChunk) ProtoMessage()

func (*ResponseLoadSnapshotChunk) Reset

func (m *ResponseLoadSnapshotChunk) Reset()

func (*ResponseLoadSnapshotChunk) Size

func (m *ResponseLoadSnapshotChunk) Size() (n int)

func (*ResponseLoadSnapshotChunk) String

func (m *ResponseLoadSnapshotChunk) String() string

func (*ResponseLoadSnapshotChunk) Unmarshal

func (m *ResponseLoadSnapshotChunk) Unmarshal(dAtA []byte) error

func (*ResponseLoadSnapshotChunk) XXX_DiscardUnknown

func (m *ResponseLoadSnapshotChunk) XXX_DiscardUnknown()

func (*ResponseLoadSnapshotChunk) XXX_Marshal

func (m *ResponseLoadSnapshotChunk) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseLoadSnapshotChunk) XXX_Merge

func (m *ResponseLoadSnapshotChunk) XXX_Merge(src proto.Message)

func (*ResponseLoadSnapshotChunk) XXX_Size

func (m *ResponseLoadSnapshotChunk) XXX_Size() int

func (*ResponseLoadSnapshotChunk) XXX_Unmarshal

func (m *ResponseLoadSnapshotChunk) XXX_Unmarshal(b []byte) error

type ResponseOfferSnapshot

type ResponseOfferSnapshot struct {
	Result ResponseOfferSnapshot_Result `protobuf:"varint,1,opt,name=result,proto3,enum=daotl.acei.ResponseOfferSnapshot_Result" json:"result,omitempty"`
}

func (*ResponseOfferSnapshot) Descriptor

func (*ResponseOfferSnapshot) Descriptor() ([]byte, []int)

func (*ResponseOfferSnapshot) GetResult

func (*ResponseOfferSnapshot) Marshal

func (m *ResponseOfferSnapshot) Marshal() (dAtA []byte, err error)

func (*ResponseOfferSnapshot) MarshalTo

func (m *ResponseOfferSnapshot) MarshalTo(dAtA []byte) (int, error)

func (*ResponseOfferSnapshot) MarshalToSizedBuffer

func (m *ResponseOfferSnapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseOfferSnapshot) ProtoMessage

func (*ResponseOfferSnapshot) ProtoMessage()

func (*ResponseOfferSnapshot) Reset

func (m *ResponseOfferSnapshot) Reset()

func (*ResponseOfferSnapshot) Size

func (m *ResponseOfferSnapshot) Size() (n int)

func (*ResponseOfferSnapshot) String

func (m *ResponseOfferSnapshot) String() string

func (*ResponseOfferSnapshot) Unmarshal

func (m *ResponseOfferSnapshot) Unmarshal(dAtA []byte) error

func (*ResponseOfferSnapshot) XXX_DiscardUnknown

func (m *ResponseOfferSnapshot) XXX_DiscardUnknown()

func (*ResponseOfferSnapshot) XXX_Marshal

func (m *ResponseOfferSnapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseOfferSnapshot) XXX_Merge

func (m *ResponseOfferSnapshot) XXX_Merge(src proto.Message)

func (*ResponseOfferSnapshot) XXX_Size

func (m *ResponseOfferSnapshot) XXX_Size() int

func (*ResponseOfferSnapshot) XXX_Unmarshal

func (m *ResponseOfferSnapshot) XXX_Unmarshal(b []byte) error

type ResponseOfferSnapshot_Result

type ResponseOfferSnapshot_Result int32
const (
	ResponseOfferSnapshot_UNKNOWN       ResponseOfferSnapshot_Result = 0
	ResponseOfferSnapshot_ACCEPT        ResponseOfferSnapshot_Result = 1
	ResponseOfferSnapshot_ABORT         ResponseOfferSnapshot_Result = 2
	ResponseOfferSnapshot_REJECT        ResponseOfferSnapshot_Result = 3
	ResponseOfferSnapshot_REJECT_FORMAT ResponseOfferSnapshot_Result = 4
	ResponseOfferSnapshot_REJECT_SENDER ResponseOfferSnapshot_Result = 5
)

func (ResponseOfferSnapshot_Result) EnumDescriptor

func (ResponseOfferSnapshot_Result) EnumDescriptor() ([]byte, []int)

func (ResponseOfferSnapshot_Result) String

type ResponseQuery

type ResponseQuery struct {
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// bytes data = 2; // use "value" instead.
	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  *ProofOps `protobuf:"bytes,8,opt,name=proof_ops,json=proofOps,proto3" json:"proof_ops,omitempty"`
	Height    uint64    `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
	Codespace string    `protobuf:"bytes,10,opt,name=codespace,proto3" json:"codespace,omitempty"`
}

func (*ResponseQuery) Descriptor

func (*ResponseQuery) Descriptor() ([]byte, []int)

func (*ResponseQuery) GetCode

func (m *ResponseQuery) GetCode() uint32

func (*ResponseQuery) GetCodespace

func (m *ResponseQuery) GetCodespace() string

func (*ResponseQuery) GetHeight

func (m *ResponseQuery) GetHeight() uint64

func (*ResponseQuery) GetIndex

func (m *ResponseQuery) GetIndex() int64

func (*ResponseQuery) GetInfo

func (m *ResponseQuery) GetInfo() string

func (*ResponseQuery) GetKey

func (m *ResponseQuery) GetKey() []byte

func (*ResponseQuery) GetLog

func (m *ResponseQuery) GetLog() string

func (*ResponseQuery) GetProofOps

func (m *ResponseQuery) GetProofOps() *ProofOps

func (*ResponseQuery) GetValue

func (m *ResponseQuery) GetValue() []byte

func (ResponseQuery) IsErr

func (r ResponseQuery) IsErr() bool

IsErr returns true if Code is something other than OK.

func (ResponseQuery) IsOK

func (r ResponseQuery) IsOK() bool

IsOK returns true if Code is OK.

func (*ResponseQuery) Marshal

func (m *ResponseQuery) Marshal() (dAtA []byte, err error)

func (*ResponseQuery) MarshalJSON

func (r *ResponseQuery) MarshalJSON() ([]byte, error)

func (*ResponseQuery) MarshalTo

func (m *ResponseQuery) MarshalTo(dAtA []byte) (int, error)

func (*ResponseQuery) MarshalToSizedBuffer

func (m *ResponseQuery) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResponseQuery) ProtoMessage

func (*ResponseQuery) ProtoMessage()

func (*ResponseQuery) Reset

func (m *ResponseQuery) Reset()

func (*ResponseQuery) Size

func (m *ResponseQuery) Size() (n int)

func (*ResponseQuery) String

func (m *ResponseQuery) String() string

func (*ResponseQuery) Unmarshal

func (m *ResponseQuery) Unmarshal(dAtA []byte) error

func (*ResponseQuery) UnmarshalJSON

func (r *ResponseQuery) UnmarshalJSON(b []byte) error

func (*ResponseQuery) XXX_DiscardUnknown

func (m *ResponseQuery) XXX_DiscardUnknown()

func (*ResponseQuery) XXX_Marshal

func (m *ResponseQuery) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResponseQuery) XXX_Merge

func (m *ResponseQuery) XXX_Merge(src proto.Message)

func (*ResponseQuery) XXX_Size

func (m *ResponseQuery) XXX_Size() int

func (*ResponseQuery) XXX_Unmarshal

func (m *ResponseQuery) XXX_Unmarshal(b []byte) error

type Response_ApplySnapshotChunk

type Response_ApplySnapshotChunk struct {
	ApplySnapshotChunk *ResponseApplySnapshotChunk `protobuf:"bytes,15,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 *ResponseBeginBlock `protobuf:"bytes,7,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_CheckTx

type Response_CheckTx struct {
	CheckTx *ResponseCheckTx `protobuf:"bytes,8,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
}

func (*Response_CheckTx) MarshalTo

func (m *Response_CheckTx) MarshalTo(dAtA []byte) (int, error)

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 *ResponseCommit `protobuf:"bytes,11,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}

func (*Response_Commit) MarshalTo

func (m *Response_Commit) MarshalTo(dAtA []byte) (int, error)

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 *ResponseDeliverTx `protobuf:"bytes,9,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 *ResponseEcho `protobuf:"bytes,2,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
}

func (*Response_Echo) MarshalTo

func (m *Response_Echo) MarshalTo(dAtA []byte) (int, error)

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 *ResponseEndBlock `protobuf:"bytes,10,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_Exception

type Response_Exception struct {
	Exception *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 *ResponseFlush `protobuf:"bytes,3,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
}

func (*Response_Flush) MarshalTo

func (m *Response_Flush) MarshalTo(dAtA []byte) (int, error)

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 *ResponseInfo `protobuf:"bytes,4,opt,name=info,proto3,oneof" json:"info,omitempty"`
}

func (*Response_Info) MarshalTo

func (m *Response_Info) MarshalTo(dAtA []byte) (int, error)

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_InitLedger

type Response_InitLedger struct {
	InitLedger *ResponseInitLedger `protobuf:"bytes,5,opt,name=init_ledger,json=initLedger,proto3,oneof" json:"init_ledger,omitempty"`
}

func (*Response_InitLedger) MarshalTo

func (m *Response_InitLedger) MarshalTo(dAtA []byte) (int, error)

func (*Response_InitLedger) MarshalToSizedBuffer

func (m *Response_InitLedger) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Response_InitLedger) Size

func (m *Response_InitLedger) Size() (n int)

type Response_ListSnapshots

type Response_ListSnapshots struct {
	ListSnapshots *ResponseListSnapshots `protobuf:"bytes,12,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 *ResponseLoadSnapshotChunk `protobuf:"bytes,14,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 *ResponseOfferSnapshot `protobuf:"bytes,13,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 *ResponseQuery `protobuf:"bytes,6,opt,name=query,proto3,oneof" json:"query,omitempty"`
}

func (*Response_Query) MarshalTo

func (m *Response_Query) MarshalTo(dAtA []byte) (int, error)

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 Snapshot

type Snapshot struct {
	Height   uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Format   uint32 `protobuf:"varint,2,opt,name=format,proto3" json:"format,omitempty"`
	Chunks   uint32 `protobuf:"varint,3,opt,name=chunks,proto3" json:"chunks,omitempty"`
	Hash     []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
	Metadata []byte `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
}

func (*Snapshot) Descriptor

func (*Snapshot) Descriptor() ([]byte, []int)

func (*Snapshot) GetChunks

func (m *Snapshot) GetChunks() uint32

func (*Snapshot) GetFormat

func (m *Snapshot) GetFormat() uint32

func (*Snapshot) GetHash

func (m *Snapshot) GetHash() []byte

func (*Snapshot) GetHeight

func (m *Snapshot) GetHeight() uint64

func (*Snapshot) GetMetadata

func (m *Snapshot) GetMetadata() []byte

func (*Snapshot) Marshal

func (m *Snapshot) Marshal() (dAtA []byte, err error)

func (*Snapshot) MarshalTo

func (m *Snapshot) MarshalTo(dAtA []byte) (int, error)

func (*Snapshot) MarshalToSizedBuffer

func (m *Snapshot) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Snapshot) ProtoMessage

func (*Snapshot) ProtoMessage()

func (*Snapshot) Reset

func (m *Snapshot) Reset()

func (*Snapshot) Size

func (m *Snapshot) Size() (n int)

func (*Snapshot) String

func (m *Snapshot) String() string

func (*Snapshot) Unmarshal

func (m *Snapshot) Unmarshal(dAtA []byte) error

func (*Snapshot) XXX_DiscardUnknown

func (m *Snapshot) XXX_DiscardUnknown()

func (*Snapshot) XXX_Marshal

func (m *Snapshot) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Snapshot) XXX_Merge

func (m *Snapshot) XXX_Merge(src proto.Message)

func (*Snapshot) XXX_Size

func (m *Snapshot) XXX_Size() int

func (*Snapshot) XXX_Unmarshal

func (m *Snapshot) XXX_Unmarshal(b []byte) error

type TendermintHeader

type TendermintHeader struct {
	// basic block info
	Version  ConsensusVersion `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
	LedgerID string           `protobuf:"bytes,2,opt,name=ledger_id,json=ledgerId,proto3" json:"ledger_id,omitempty"`
	Height   uint64           `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Time     time.Time        `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
	// prev block info
	LastBlockId BlockID `protobuf:"bytes,5,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id"`
	// hashes of block data
	LastCommitHash []byte `protobuf:"bytes,6,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
	DataHash       []byte `protobuf:"bytes,7,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
	// hashes from the app output from the prev block
	ValidatorsHash     []byte `protobuf:"bytes,8,opt,name=validators_hash,json=validatorsHash,proto3" json:"validators_hash,omitempty"`
	NextValidatorsHash []byte `protobuf:"bytes,9,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
	ConsensusHash      []byte `protobuf:"bytes,10,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"`
	AppHash            []byte `protobuf:"bytes,11,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
	LastResultsHash    []byte `protobuf:"bytes,12,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
	// consensus info
	EvidenceHash    []byte `protobuf:"bytes,13,opt,name=evidence_hash,json=evidenceHash,proto3" json:"evidence_hash,omitempty"`
	ProposerAddress []byte `protobuf:"bytes,14,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
}

TendermintHeader defines the structure of a Tendermint block header.

func (*TendermintHeader) Descriptor

func (*TendermintHeader) Descriptor() ([]byte, []int)

func (*TendermintHeader) GetAppHash

func (m *TendermintHeader) GetAppHash() []byte

func (*TendermintHeader) GetConsensusHash

func (m *TendermintHeader) GetConsensusHash() []byte

func (*TendermintHeader) GetDataHash

func (m *TendermintHeader) GetDataHash() []byte

func (*TendermintHeader) GetEvidenceHash

func (m *TendermintHeader) GetEvidenceHash() []byte

func (*TendermintHeader) GetHeight

func (m *TendermintHeader) GetHeight() uint64

func (*TendermintHeader) GetLastBlockId

func (m *TendermintHeader) GetLastBlockId() BlockID

func (*TendermintHeader) GetLastCommitHash

func (m *TendermintHeader) GetLastCommitHash() []byte

func (*TendermintHeader) GetLastResultsHash

func (m *TendermintHeader) GetLastResultsHash() []byte

func (*TendermintHeader) GetLedgerID

func (m *TendermintHeader) GetLedgerID() string

func (*TendermintHeader) GetNextValidatorsHash

func (m *TendermintHeader) GetNextValidatorsHash() []byte

func (*TendermintHeader) GetProposerAddress

func (m *TendermintHeader) GetProposerAddress() []byte

func (*TendermintHeader) GetTime

func (m *TendermintHeader) GetTime() time.Time

func (*TendermintHeader) GetValidatorsHash

func (m *TendermintHeader) GetValidatorsHash() []byte

func (*TendermintHeader) GetVersion

func (m *TendermintHeader) GetVersion() ConsensusVersion

func (*TendermintHeader) Marshal

func (m *TendermintHeader) Marshal() (dAtA []byte, err error)

func (*TendermintHeader) MarshalTo

func (m *TendermintHeader) MarshalTo(dAtA []byte) (int, error)

func (*TendermintHeader) MarshalToSizedBuffer

func (m *TendermintHeader) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TendermintHeader) ProtoMessage

func (*TendermintHeader) ProtoMessage()

func (*TendermintHeader) Reset

func (m *TendermintHeader) Reset()

func (*TendermintHeader) Size

func (m *TendermintHeader) Size() (n int)

func (*TendermintHeader) String

func (m *TendermintHeader) String() string

func (*TendermintHeader) Unmarshal

func (m *TendermintHeader) Unmarshal(dAtA []byte) error

func (*TendermintHeader) XXX_DiscardUnknown

func (m *TendermintHeader) XXX_DiscardUnknown()

func (*TendermintHeader) XXX_Marshal

func (m *TendermintHeader) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TendermintHeader) XXX_Merge

func (m *TendermintHeader) XXX_Merge(src proto.Message)

func (*TendermintHeader) XXX_Size

func (m *TendermintHeader) XXX_Size() int

func (*TendermintHeader) XXX_Unmarshal

func (m *TendermintHeader) XXX_Unmarshal(b []byte) error

type TxResult

type TxResult struct {
	Height uint64            `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	Index  uint32            `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"`
	Tx     []byte            `protobuf:"bytes,3,opt,name=tx,proto3" json:"tx,omitempty"`
	Result ResponseDeliverTx `protobuf:"bytes,4,opt,name=result,proto3" json:"result"`
}

TxResult contains results of executing the transaction.

One usage is indexing transaction results.

func (*TxResult) Descriptor

func (*TxResult) Descriptor() ([]byte, []int)

func (*TxResult) GetHeight

func (m *TxResult) GetHeight() uint64

func (*TxResult) GetIndex

func (m *TxResult) GetIndex() uint32

func (*TxResult) GetResult

func (m *TxResult) GetResult() ResponseDeliverTx

func (*TxResult) GetTx

func (m *TxResult) GetTx() []byte

func (*TxResult) Marshal

func (m *TxResult) Marshal() (dAtA []byte, err error)

func (*TxResult) MarshalTo

func (m *TxResult) MarshalTo(dAtA []byte) (int, error)

func (*TxResult) MarshalToSizedBuffer

func (m *TxResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*TxResult) ProtoMessage

func (*TxResult) ProtoMessage()

func (*TxResult) Reset

func (m *TxResult) Reset()

func (*TxResult) Size

func (m *TxResult) Size() (n int)

func (*TxResult) String

func (m *TxResult) String() string

func (*TxResult) Unmarshal

func (m *TxResult) Unmarshal(dAtA []byte) error

func (*TxResult) XXX_DiscardUnknown

func (m *TxResult) XXX_DiscardUnknown()

func (*TxResult) XXX_Marshal

func (m *TxResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*TxResult) XXX_Merge

func (m *TxResult) XXX_Merge(src proto.Message)

func (*TxResult) XXX_Size

func (m *TxResult) XXX_Size() int

func (*TxResult) XXX_Unmarshal

func (m *TxResult) XXX_Unmarshal(b []byte) error

type UnimplementedACEIApplicationServer

type UnimplementedACEIApplicationServer struct {
}

UnimplementedACEIApplicationServer must be embedded to have forward compatible implementations.

func (UnimplementedACEIApplicationServer) ApplySnapshotChunk

func (UnimplementedACEIApplicationServer) BeginBlock

func (UnimplementedACEIApplicationServer) CheckTx

func (UnimplementedACEIApplicationServer) Commit

func (UnimplementedACEIApplicationServer) DeliverTx

func (UnimplementedACEIApplicationServer) Echo

func (UnimplementedACEIApplicationServer) EndBlock

func (UnimplementedACEIApplicationServer) Flush

func (UnimplementedACEIApplicationServer) Info

func (UnimplementedACEIApplicationServer) InitLedger

func (UnimplementedACEIApplicationServer) ListSnapshots

func (UnimplementedACEIApplicationServer) LoadSnapshotChunk

func (UnimplementedACEIApplicationServer) OfferSnapshot

func (UnimplementedACEIApplicationServer) Query

type UnsafeACEIApplicationServer

type UnsafeACEIApplicationServer interface {
	// contains filtered or unexported methods
}

UnsafeACEIApplicationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ACEIApplicationServer will result in compilation errors.

type ValidatorParams

type ValidatorParams struct {
	PubKeyTypes []string `protobuf:"bytes,1,rep,name=pub_key_types,json=pubKeyTypes,proto3" json:"pub_key_types,omitempty"`
}

ValidatorParams restrict the public key types validators can use. NOTE: uses ACEI pubkey naming.

func (*ValidatorParams) Descriptor

func (*ValidatorParams) Descriptor() ([]byte, []int)

func (*ValidatorParams) Equal

func (this *ValidatorParams) Equal(that interface{}) bool

func (*ValidatorParams) GetPubKeyTypes

func (m *ValidatorParams) GetPubKeyTypes() []string

func (*ValidatorParams) Marshal

func (m *ValidatorParams) Marshal() (dAtA []byte, err error)

func (*ValidatorParams) MarshalTo

func (m *ValidatorParams) MarshalTo(dAtA []byte) (int, error)

func (*ValidatorParams) MarshalToSizedBuffer

func (m *ValidatorParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValidatorParams) ProtoMessage

func (*ValidatorParams) ProtoMessage()

func (*ValidatorParams) Reset

func (m *ValidatorParams) Reset()

func (*ValidatorParams) Size

func (m *ValidatorParams) Size() (n int)

func (*ValidatorParams) String

func (m *ValidatorParams) String() string

func (*ValidatorParams) Unmarshal

func (m *ValidatorParams) Unmarshal(dAtA []byte) error

func (*ValidatorParams) XXX_DiscardUnknown

func (m *ValidatorParams) XXX_DiscardUnknown()

func (*ValidatorParams) XXX_Marshal

func (m *ValidatorParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValidatorParams) XXX_Merge

func (m *ValidatorParams) XXX_Merge(src proto.Message)

func (*ValidatorParams) XXX_Size

func (m *ValidatorParams) XXX_Size() int

func (*ValidatorParams) XXX_Unmarshal

func (m *ValidatorParams) XXX_Unmarshal(b []byte) error

type ValueOp

type ValueOp struct {
	// Encoded in ProofOp.Key.
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// To encode in ProofOp.Data
	Proof *Proof `protobuf:"bytes,2,opt,name=proof,proto3" json:"proof,omitempty"`
}

func (*ValueOp) Descriptor

func (*ValueOp) Descriptor() ([]byte, []int)

func (*ValueOp) GetKey

func (m *ValueOp) GetKey() []byte

func (*ValueOp) GetProof

func (m *ValueOp) GetProof() *Proof

func (*ValueOp) Marshal

func (m *ValueOp) Marshal() (dAtA []byte, err error)

func (*ValueOp) MarshalTo

func (m *ValueOp) MarshalTo(dAtA []byte) (int, error)

func (*ValueOp) MarshalToSizedBuffer

func (m *ValueOp) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ValueOp) ProtoMessage

func (*ValueOp) ProtoMessage()

func (*ValueOp) Reset

func (m *ValueOp) Reset()

func (*ValueOp) Size

func (m *ValueOp) Size() (n int)

func (*ValueOp) String

func (m *ValueOp) String() string

func (*ValueOp) Unmarshal

func (m *ValueOp) Unmarshal(dAtA []byte) error

func (*ValueOp) XXX_DiscardUnknown

func (m *ValueOp) XXX_DiscardUnknown()

func (*ValueOp) XXX_Marshal

func (m *ValueOp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ValueOp) XXX_Merge

func (m *ValueOp) XXX_Merge(src proto.Message)

func (*ValueOp) XXX_Size

func (m *ValueOp) XXX_Size() int

func (*ValueOp) XXX_Unmarshal

func (m *ValueOp) XXX_Unmarshal(b []byte) error

type VersionParams

type VersionParams struct {
	AppVersion uint64 `protobuf:"varint,1,opt,name=app_version,json=appVersion,proto3" json:"app_version,omitempty"`
}

VersionParams contains the ACEI application version.

func (*VersionParams) Descriptor

func (*VersionParams) Descriptor() ([]byte, []int)

func (*VersionParams) Equal

func (this *VersionParams) Equal(that interface{}) bool

func (*VersionParams) GetAppVersion

func (m *VersionParams) GetAppVersion() uint64

func (*VersionParams) Marshal

func (m *VersionParams) Marshal() (dAtA []byte, err error)

func (*VersionParams) MarshalTo

func (m *VersionParams) MarshalTo(dAtA []byte) (int, error)

func (*VersionParams) MarshalToSizedBuffer

func (m *VersionParams) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*VersionParams) ProtoMessage

func (*VersionParams) ProtoMessage()

func (*VersionParams) Reset

func (m *VersionParams) Reset()

func (*VersionParams) Size

func (m *VersionParams) Size() (n int)

func (*VersionParams) String

func (m *VersionParams) String() string

func (*VersionParams) Unmarshal

func (m *VersionParams) Unmarshal(dAtA []byte) error

func (*VersionParams) XXX_DiscardUnknown

func (m *VersionParams) XXX_DiscardUnknown()

func (*VersionParams) XXX_Marshal

func (m *VersionParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VersionParams) XXX_Merge

func (m *VersionParams) XXX_Merge(src proto.Message)

func (*VersionParams) XXX_Size

func (m *VersionParams) XXX_Size() int

func (*VersionParams) XXX_Unmarshal

func (m *VersionParams) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis
consensus

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL