types

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2023 License: Apache-2.0, Apache-2.0 Imports: 27 Imported by: 1

Documentation

Index

Constants

View Source
const (
	FlagCloseMutex            = "close-mutex"
	FlagDisableABCIQueryMutex = "disable-abci-query-mutex"
	FlagDisableCheckTx        = "disable-checktx"
)
View Source
const (
	CodeTypeOK       uint32 = 0
	CodeTypeNonceInc uint32 = 100000
)
View Source
const (
	PubKeyEd25519 = "ed25519"
)

Variables

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 CheckTxType_name = map[int32]string{
	0: "New",
	1: "Recheck",
	2: "WrappedCheck",
}
View Source
var CheckTxType_value = map[string]int32{
	"New":          0,
	"Recheck":      1,
	"WrappedCheck": 2,
}

Functions

func GetDisableABCIQueryMutex added in v1.0.0

func GetDisableABCIQueryMutex() bool

func GetDisableCheckTx

func GetDisableCheckTx() bool

func ReadMessage

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

ReadMessage reads a varint length-delimited protobuf message.

func RegisterABCIApplicationServer

func RegisterABCIApplicationServer(s *grpc.Server, srv ABCIApplicationServer)

func SetDisableABCIQueryMutex added in v1.0.0

func SetDisableABCIQueryMutex(isClose bool)

func SetDisableCheckTx

func SetDisableCheckTx(isRemove bool)

func WriteMessage

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

WriteMessage writes a varint length-delimited protobuf message.

Types

type ABCIApplicationClient

type ABCIApplicationClient 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)
	SetOption(ctx context.Context, in *RequestSetOption, opts ...grpc.CallOption) (*ResponseSetOption, 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)
	InitChain(ctx context.Context, in *RequestInitChain, opts ...grpc.CallOption) (*ResponseInitChain, error)
	BeginBlock(ctx context.Context, in *RequestBeginBlock, opts ...grpc.CallOption) (*ResponseBeginBlock, error)
	EndBlock(ctx context.Context, in *RequestEndBlock, opts ...grpc.CallOption) (*ResponseEndBlock, error)
}

ABCIApplicationClient is the client API for ABCIApplication service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewABCIApplicationClient

func NewABCIApplicationClient(cc *grpc.ClientConn) ABCIApplicationClient

type Application

type Application interface {
	// Info/Query Connection
	Info(RequestInfo) ResponseInfo                // Return application info
	SetOption(RequestSetOption) ResponseSetOption // Set application option
	Query(RequestQuery) ResponseQuery             // Query for state

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

	// Consensus Connection
	InitChain(RequestInitChain) ResponseInitChain    // Initialize blockchain w validators/other info from TendermintCore
	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(RequestCommit) ResponseCommit // Commit the state and return the application Merkle root hash
	ParallelTxs(txs [][]byte, onlyCalSender bool) []*ResponseDeliverTx
	// PreDeliverRealTx will try convert bytes of tx to TxEssentials, it should be thread safe,
	// if return nil, it means failed or this Application doesn't support PreDeliverRealTx and you must use DeliverTx,
	// else, you can call DeliverRealTx to process the TxEssentials
	PreDeliverRealTx([]byte) TxEssentials
	// DeliverRealTx deliver tx returned by PreDeliverRealTx, if PreDeliverRealTx returns nil, DeliverRealTx SHOULD NOT be called
	DeliverRealTx(TxEssentials) ResponseDeliverTx
}

Application is an interface that enables any finite, deterministic state machine to be driven by a blockchain-based replication engine via the ABCI. All methods take a RequestXxx argument and return a ResponseXxx argument, except CheckTx/DeliverTx, which take `tx []byte`, and `Commit`, which takes nothing.

type BaseApplication

type BaseApplication struct {
}

func NewBaseApplication

func NewBaseApplication() *BaseApplication

func (BaseApplication) BeginBlock

func (BaseApplication) CheckTx

func (BaseApplication) Commit

func (BaseApplication) DeliverRealTx added in v1.3.0

func (BaseApplication) DeliverTx

func (BaseApplication) EndBlock

func (BaseApplication) Info

func (BaseApplication) InitChain

func (BaseApplication) ParallelTxs

func (a BaseApplication) ParallelTxs(_ [][]byte, onlyCalSender bool) []*ResponseDeliverTx

func (BaseApplication) PreDeliverRealTx added in v1.3.0

func (BaseApplication) PreDeliverRealTx([]byte) TxEssentials

func (BaseApplication) Query

func (BaseApplication) SetOption

type BlockID

type BlockID struct {
	Hash                 []byte        `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	PartsHeader          PartSetHeader `protobuf:"bytes,2,opt,name=parts_header,json=partsHeader,proto3" json:"parts_header"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func NewPopulatedBlockID

func NewPopulatedBlockID(r randyTypes, easy bool) *BlockID

func (*BlockID) Descriptor

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

func (*BlockID) Equal

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

func (*BlockID) GetHash

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

func (*BlockID) GetPartsHeader

func (m *BlockID) GetPartsHeader() 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 {
	// Note: must be greater than 0
	MaxBytes int64 `protobuf:"varint,1,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
	// Note: must be greater or equal to -1
	MaxGas               int64    `protobuf:"varint,2,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

BlockParams contains limits on the block size.

func NewPopulatedBlockParams

func NewPopulatedBlockParams(r randyTypes, easy bool) *BlockParams

func (*BlockParams) AminoSize added in v1.1.9

func (m *BlockParams) AminoSize(_ *amino.Codec) int

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) MarshalAminoTo added in v1.5.6

func (params BlockParams) MarshalAminoTo(_ *amino.Codec, buf *bytes.Buffer) error

func (*BlockParams) MarshalTo

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

func (BlockParams) MarshalToAmino added in v1.1.6

func (params BlockParams) MarshalToAmino(cdc *amino.Codec) ([]byte, 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) UnmarshalFromAmino added in v1.1.6

func (bp *BlockParams) UnmarshalFromAmino(cdc *amino.Codec, data []byte) error

UnmarshalFromAmino unmarshal data from amino bytes.

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
	CheckTxType_WrappedCheck CheckTxType = 2
)

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"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

ConsensusParams contains all consensus-relevant parameters that can be adjusted by the abci app

func NewPopulatedConsensusParams

func NewPopulatedConsensusParams(r randyTypes, easy bool) *ConsensusParams

func (*ConsensusParams) AminoSize added in v1.1.9

func (m *ConsensusParams) AminoSize(cdc *amino.Codec) int

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) Marshal

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

func (*ConsensusParams) MarshalAminoTo added in v1.5.6

func (params *ConsensusParams) MarshalAminoTo(cdc *amino.Codec, buf *bytes.Buffer) error

func (*ConsensusParams) MarshalTo

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

func (ConsensusParams) MarshalToAmino added in v1.1.6

func (params ConsensusParams) MarshalToAmino(cdc *amino.Codec) ([]byte, 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) UnmarshalFromAmino added in v1.1.6

func (cp *ConsensusParams) UnmarshalFromAmino(cdc *amino.Codec, 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 Event

type Event struct {
	Type                 string    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Attributes           []kv.Pair `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedEvent

func NewPopulatedEvent(r randyTypes, easy bool) *Event

func (Event) AminoSize added in v1.1.9

func (event Event) AminoSize(cdc *amino.Codec) int

func (*Event) Descriptor

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

func (*Event) Equal

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

func (*Event) GetAttributes

func (m *Event) GetAttributes() []kv.Pair

func (*Event) GetType

func (m *Event) GetType() string

func (*Event) Marshal

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

func (*Event) MarshalAminoTo added in v1.5.6

func (event *Event) MarshalAminoTo(cdc *amino.Codec, buf *bytes.Buffer) error

func (*Event) MarshalTo

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

func (*Event) MarshalToAmino added in v1.1.6

func (event *Event) MarshalToAmino(cdc *amino.Codec) ([]byte, 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) UnmarshalFromAmino added in v1.1.5

func (event *Event) UnmarshalFromAmino(cdc *amino.Codec, 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 added in v1.3.0

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

func (*EventAttribute) Descriptor added in v1.3.0

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

func (*EventAttribute) GetIndex added in v1.3.0

func (m *EventAttribute) GetIndex() bool

func (*EventAttribute) GetKey added in v1.3.0

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

func (*EventAttribute) GetValue added in v1.3.0

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

func (*EventAttribute) Marshal added in v1.3.0

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

func (*EventAttribute) MarshalTo added in v1.3.0

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

func (*EventAttribute) MarshalToSizedBuffer added in v1.3.0

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

func (*EventAttribute) ProtoMessage added in v1.3.0

func (*EventAttribute) ProtoMessage()

func (*EventAttribute) Reset added in v1.3.0

func (m *EventAttribute) Reset()

func (*EventAttribute) Size added in v1.3.0

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

func (*EventAttribute) String added in v1.3.0

func (m *EventAttribute) String() string

func (*EventAttribute) Unmarshal added in v1.3.0

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

func (*EventAttribute) XXX_DiscardUnknown added in v1.3.0

func (m *EventAttribute) XXX_DiscardUnknown()

func (*EventAttribute) XXX_Marshal added in v1.3.0

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

func (*EventAttribute) XXX_Merge added in v1.3.0

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

func (*EventAttribute) XXX_Size added in v1.3.0

func (m *EventAttribute) XXX_Size() int

func (*EventAttribute) XXX_Unmarshal added in v1.3.0

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

type Evidence

type Evidence struct {
	Type                 string    `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Validator            Validator `protobuf:"bytes,2,opt,name=validator,proto3" json:"validator"`
	Height               int64     `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Time                 time.Time `protobuf:"bytes,4,opt,name=time,proto3,stdtime" json:"time"`
	TotalVotingPower     int64     `protobuf:"varint,5,opt,name=total_voting_power,json=totalVotingPower,proto3" json:"total_voting_power,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func NewPopulatedEvidence

func NewPopulatedEvidence(r randyTypes, easy bool) *Evidence

func (*Evidence) Descriptor

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

func (*Evidence) Equal

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

func (*Evidence) GetHeight

func (m *Evidence) GetHeight() int64

func (*Evidence) GetTime

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

func (*Evidence) GetTotalVotingPower

func (m *Evidence) GetTotalVotingPower() int64

func (*Evidence) GetType

func (m *Evidence) GetType() string

func (*Evidence) GetValidator

func (m *Evidence) GetValidator() Validator

func (*Evidence) Marshal

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

func (*Evidence) MarshalTo

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

func (*Evidence) MarshalToSizedBuffer

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

func (*Evidence) ProtoMessage

func (*Evidence) ProtoMessage()

func (*Evidence) Reset

func (m *Evidence) Reset()

func (*Evidence) Size

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

func (*Evidence) String

func (m *Evidence) String() string

func (*Evidence) Unmarshal

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

func (*Evidence) XXX_DiscardUnknown

func (m *Evidence) XXX_DiscardUnknown()

func (*Evidence) XXX_Marshal

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

func (*Evidence) XXX_Merge

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

func (*Evidence) XXX_Size

func (m *Evidence) XXX_Size() int

func (*Evidence) XXX_Unmarshal

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

type EvidenceParams

type EvidenceParams struct {
	// Note: must be greater than 0
	MaxAgeNumBlocks      int64         `protobuf:"varint,1,opt,name=max_age_num_blocks,json=maxAgeNumBlocks,proto3" json:"max_age_num_blocks,omitempty"`
	MaxAgeDuration       time.Duration `protobuf:"bytes,2,opt,name=max_age_duration,json=maxAgeDuration,proto3,stdduration" json:"max_age_duration"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func NewPopulatedEvidenceParams

func NewPopulatedEvidenceParams(r randyTypes, easy bool) *EvidenceParams

func (*EvidenceParams) AminoSize added in v1.1.9

func (m *EvidenceParams) AminoSize(_ *amino.Codec) int

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) Marshal

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

func (EvidenceParams) MarshalAminoTo added in v1.5.6

func (params EvidenceParams) MarshalAminoTo(_ *amino.Codec, buf *bytes.Buffer) error

func (*EvidenceParams) MarshalTo

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

func (EvidenceParams) MarshalToAmino added in v1.1.6

func (params EvidenceParams) MarshalToAmino(cdc *amino.Codec) ([]byte, 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) UnmarshalFromAmino added in v1.1.6

func (ep *EvidenceParams) UnmarshalFromAmino(cdc *amino.Codec, data []byte) error

UnmarshalFromAmino unmarshal data from amino bytes.

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 {
	// contains filtered or unexported fields
}

GRPCApplication is a GRPC wrapper for Application

func NewGRPCApplication

func NewGRPCApplication(app Application) *GRPCApplication

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) InitChain

func (*GRPCApplication) Query

func (app *GRPCApplication) Query(ctx context.Context, req *RequestQuery) (*ResponseQuery, error)

func (*GRPCApplication) SetOption

type Header struct {
	// basic block info
	Version Version   `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
	ChainID string    `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Height  int64     `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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedHeader

func NewPopulatedHeader(r randyTypes, easy bool) *Header

func (*Header) Descriptor

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

func (*Header) Equal

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

func (*Header) GetAppHash

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

func (*Header) GetChainID

func (m *Header) GetChainID() string

func (*Header) GetConsensusHash

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

func (*Header) GetDataHash

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

func (*Header) GetEvidenceHash

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

func (*Header) GetHeight

func (m *Header) GetHeight() int64

func (*Header) GetLastBlockId

func (m *Header) GetLastBlockId() BlockID

func (*Header) GetLastCommitHash

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

func (*Header) GetLastResultsHash

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

func (*Header) GetNextValidatorsHash

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

func (*Header) GetProposerAddress

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

func (*Header) GetTime

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

func (*Header) GetValidatorsHash

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

func (*Header) GetVersion

func (m *Header) GetVersion() Version

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 LastCommitInfo

type LastCommitInfo struct {
	Round                int32      `protobuf:"varint,1,opt,name=round,proto3" json:"round,omitempty"`
	Votes                []VoteInfo `protobuf:"bytes,2,rep,name=votes,proto3" json:"votes"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

func NewPopulatedLastCommitInfo

func NewPopulatedLastCommitInfo(r randyTypes, easy bool) *LastCommitInfo

func (*LastCommitInfo) Descriptor

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

func (*LastCommitInfo) Equal

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

func (*LastCommitInfo) GetRound

func (m *LastCommitInfo) GetRound() int32

func (*LastCommitInfo) GetVotes

func (m *LastCommitInfo) GetVotes() []VoteInfo

func (*LastCommitInfo) Marshal

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

func (*LastCommitInfo) MarshalTo

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

func (*LastCommitInfo) MarshalToSizedBuffer

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

func (*LastCommitInfo) ProtoMessage

func (*LastCommitInfo) ProtoMessage()

func (*LastCommitInfo) Reset

func (m *LastCommitInfo) Reset()

func (*LastCommitInfo) Size

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

func (*LastCommitInfo) String

func (m *LastCommitInfo) String() string

func (*LastCommitInfo) Unmarshal

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

func (*LastCommitInfo) XXX_DiscardUnknown

func (m *LastCommitInfo) XXX_DiscardUnknown()

func (*LastCommitInfo) XXX_Marshal

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

func (*LastCommitInfo) XXX_Merge

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

func (*LastCommitInfo) XXX_Size

func (m *LastCommitInfo) XXX_Size() int

func (*LastCommitInfo) XXX_Unmarshal

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

type MockTx added in v1.2.0

type MockTx struct {
	Raw      []byte
	Hash     []byte
	From     string
	Nonce    uint64
	GasPrice *big.Int
}

func (MockTx) GetFrom added in v1.2.0

func (tx MockTx) GetFrom() string

func (MockTx) GetGasPrice added in v1.2.0

func (tx MockTx) GetGasPrice() *big.Int

func (MockTx) GetNonce added in v1.2.0

func (tx MockTx) GetNonce() uint64

func (MockTx) GetRaw added in v1.2.0

func (tx MockTx) GetRaw() []byte

func (MockTx) TxHash added in v1.2.0

func (tx MockTx) TxHash() []byte

type ModuleUpgradeResp added in v1.3.0

type ModuleUpgradeResp struct {
}

type PartSetHeader

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

func NewPopulatedPartSetHeader

func NewPopulatedPartSetHeader(r randyTypes, easy bool) *PartSetHeader

func (*PartSetHeader) Descriptor

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

func (*PartSetHeader) Equal

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

func (*PartSetHeader) GetHash

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

func (*PartSetHeader) GetTotal

func (m *PartSetHeader) GetTotal() int32

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 PubKey

type PubKey struct {
	Type                 string   `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Data                 []byte   `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedPubKey

func NewPopulatedPubKey(r randyTypes, easy bool) *PubKey

func (*PubKey) AminoSize added in v1.1.9

func (m *PubKey) AminoSize(_ *amino.Codec) int

func (*PubKey) Descriptor

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

func (*PubKey) Equal

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

func (*PubKey) GetData

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

func (*PubKey) GetType

func (m *PubKey) GetType() string

func (*PubKey) Marshal

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

func (*PubKey) MarshalAminoTo added in v1.5.6

func (pubkey *PubKey) MarshalAminoTo(_ *amino.Codec, buf *bytes.Buffer) error

func (*PubKey) MarshalTo

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

func (PubKey) MarshalToAmino added in v1.1.6

func (pubkey PubKey) MarshalToAmino(cdc *amino.Codec) ([]byte, error)

func (*PubKey) MarshalToSizedBuffer

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

func (*PubKey) ProtoMessage

func (*PubKey) ProtoMessage()

func (*PubKey) Reset

func (m *PubKey) Reset()

func (*PubKey) Size

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

func (*PubKey) String

func (m *PubKey) String() string

func (*PubKey) Unmarshal

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

func (*PubKey) UnmarshalFromAmino added in v1.1.6

func (pub *PubKey) UnmarshalFromAmino(cdc *amino.Codec, data []byte) error

UnmarshalFromAmino unmarshal data from amino bytes.

func (*PubKey) XXX_DiscardUnknown

func (m *PubKey) XXX_DiscardUnknown()

func (*PubKey) XXX_Marshal

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

func (*PubKey) XXX_Merge

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

func (*PubKey) XXX_Size

func (m *PubKey) XXX_Size() int

func (*PubKey) XXX_Unmarshal

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

type Request

type Request struct {
	// Types that are valid to be assigned to Value:
	//	*Request_Echo
	//	*Request_Flush
	//	*Request_Info
	//	*Request_SetOption
	//	*Request_InitChain
	//	*Request_Query
	//	*Request_BeginBlock
	//	*Request_CheckTx
	//	*Request_DeliverTx
	//	*Request_EndBlock
	//	*Request_Commit
	Value                isRequest_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}        `json:"-"`
	XXX_unrecognized     []byte          `json:"-"`
	XXX_sizecache        int32           `json:"-"`
}

func NewPopulatedRequest

func NewPopulatedRequest(r randyTypes, easy bool) *Request

func ToRequestBeginBlock

func ToRequestBeginBlock(req RequestBeginBlock) *Request

func ToRequestCheckTx

func ToRequestCheckTx(req RequestCheckTx) *Request

func ToRequestCommit

func ToRequestCommit(req RequestCommit) *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 ToRequestInitChain

func ToRequestInitChain(req RequestInitChain) *Request

func ToRequestQuery

func ToRequestQuery(req RequestQuery) *Request

func ToRequestSetOption

func ToRequestSetOption(req RequestSetOption) *Request

func (*Request) Descriptor

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

func (*Request) Equal

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

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) GetInitChain

func (m *Request) GetInitChain() *RequestInitChain

func (*Request) GetQuery

func (m *Request) GetQuery() *RequestQuery

func (*Request) GetSetOption

func (m *Request) GetSetOption() *RequestSetOption

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 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"`
	LastCommitInfo       LastCommitInfo `protobuf:"bytes,3,opt,name=last_commit_info,json=lastCommitInfo,proto3" json:"last_commit_info"`
	ByzantineValidators  []Evidence     `protobuf:"bytes,4,rep,name=byzantine_validators,json=byzantineValidators,proto3" json:"byzantine_validators"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func NewPopulatedRequestBeginBlock

func NewPopulatedRequestBeginBlock(r randyTypes, easy bool) *RequestBeginBlock

func (*RequestBeginBlock) Descriptor

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

func (*RequestBeginBlock) Equal

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

func (*RequestBeginBlock) GetByzantineValidators

func (m *RequestBeginBlock) GetByzantineValidators() []Evidence

func (*RequestBeginBlock) GetHash

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

func (*RequestBeginBlock) GetHeader

func (m *RequestBeginBlock) GetHeader() Header

func (*RequestBeginBlock) GetLastCommitInfo

func (m *RequestBeginBlock) GetLastCommitInfo() LastCommitInfo

func (*RequestBeginBlock) Marshal

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

func (*RequestBeginBlock) MarshalTo

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

func (*RequestBeginBlock) MarshalToSizedBuffer

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

func (*RequestBeginBlock) ProtoMessage

func (*RequestBeginBlock) ProtoMessage()

func (*RequestBeginBlock) Reset

func (m *RequestBeginBlock) Reset()

func (*RequestBeginBlock) Size

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

func (*RequestBeginBlock) String

func (m *RequestBeginBlock) String() string

func (*RequestBeginBlock) Unmarshal

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

func (*RequestBeginBlock) XXX_DiscardUnknown

func (m *RequestBeginBlock) XXX_DiscardUnknown()

func (*RequestBeginBlock) XXX_Marshal

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

func (*RequestBeginBlock) XXX_Merge

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

func (*RequestBeginBlock) XXX_Size

func (m *RequestBeginBlock) XXX_Size() int

func (*RequestBeginBlock) XXX_Unmarshal

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

type 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=tendermint.abci.types.CheckTxType" json:"type,omitempty"`
	From                 string      `protobuf:"bytes,1,opt,name=from,proto3" json:"from,omitempty"`
	Nonce                uint64      `protobuf:"uint64,1,opt,name=nonce,proto3" json:"nonce,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func NewPopulatedRequestCheckTx

func NewPopulatedRequestCheckTx(r randyTypes, easy bool) *RequestCheckTx

func (*RequestCheckTx) Descriptor

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

func (*RequestCheckTx) Equal

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

func (*RequestCheckTx) GetFrom added in v1.1.6

func (m *RequestCheckTx) GetFrom() string

func (*RequestCheckTx) GetNonce added in v1.7.0

func (m *RequestCheckTx) GetNonce() uint64

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 {
	DeltaMap             interface{}
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedRequestCommit

func NewPopulatedRequestCommit(r randyTypes, easy bool) *RequestCommit

func (*RequestCommit) Descriptor

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

func (*RequestCommit) Equal

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedRequestDeliverTx

func NewPopulatedRequestDeliverTx(r randyTypes, easy bool) *RequestDeliverTx

func (*RequestDeliverTx) Descriptor

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

func (*RequestDeliverTx) Equal

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedRequestEcho

func NewPopulatedRequestEcho(r randyTypes, easy bool) *RequestEcho

func (*RequestEcho) Descriptor

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

func (*RequestEcho) Equal

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

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               int64    `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedRequestEndBlock

func NewPopulatedRequestEndBlock(r randyTypes, easy bool) *RequestEndBlock

func (*RequestEndBlock) Descriptor

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

func (*RequestEndBlock) Equal

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

func (*RequestEndBlock) GetHeight

func (m *RequestEndBlock) GetHeight() int64

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedRequestFlush

func NewPopulatedRequestFlush(r randyTypes, easy bool) *RequestFlush

func (*RequestFlush) Descriptor

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

func (*RequestFlush) Equal

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

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedRequestInfo

func NewPopulatedRequestInfo(r randyTypes, easy bool) *RequestInfo

func (*RequestInfo) Descriptor

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

func (*RequestInfo) Equal

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

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 RequestInitChain

type RequestInitChain struct {
	Time                 time.Time         `protobuf:"bytes,1,opt,name=time,proto3,stdtime" json:"time"`
	ChainId              string            `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	ConsensusParams      *ConsensusParams  `protobuf:"bytes,3,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"`
	Validators           []ValidatorUpdate `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators"`
	AppStateBytes        []byte            `protobuf:"bytes,5,opt,name=app_state_bytes,json=appStateBytes,proto3" json:"app_state_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func NewPopulatedRequestInitChain

func NewPopulatedRequestInitChain(r randyTypes, easy bool) *RequestInitChain

func (*RequestInitChain) Descriptor

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

func (*RequestInitChain) Equal

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

func (*RequestInitChain) GetAppStateBytes

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

func (*RequestInitChain) GetChainId

func (m *RequestInitChain) GetChainId() string

func (*RequestInitChain) GetConsensusParams

func (m *RequestInitChain) GetConsensusParams() *ConsensusParams

func (*RequestInitChain) GetTime

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

func (*RequestInitChain) GetValidators

func (m *RequestInitChain) GetValidators() []ValidatorUpdate

func (*RequestInitChain) Marshal

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

func (*RequestInitChain) MarshalTo

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

func (*RequestInitChain) MarshalToSizedBuffer

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

func (*RequestInitChain) ProtoMessage

func (*RequestInitChain) ProtoMessage()

func (*RequestInitChain) Reset

func (m *RequestInitChain) Reset()

func (*RequestInitChain) Size

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

func (*RequestInitChain) String

func (m *RequestInitChain) String() string

func (*RequestInitChain) Unmarshal

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

func (*RequestInitChain) XXX_DiscardUnknown

func (m *RequestInitChain) XXX_DiscardUnknown()

func (*RequestInitChain) XXX_Marshal

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

func (*RequestInitChain) XXX_Merge

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

func (*RequestInitChain) XXX_Size

func (m *RequestInitChain) XXX_Size() int

func (*RequestInitChain) XXX_Unmarshal

func (m *RequestInitChain) 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               int64    `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
	Prove                bool     `protobuf:"varint,4,opt,name=prove,proto3" json:"prove,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedRequestQuery

func NewPopulatedRequestQuery(r randyTypes, easy bool) *RequestQuery

func (*RequestQuery) Descriptor

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

func (*RequestQuery) Equal

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

func (*RequestQuery) GetData

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

func (*RequestQuery) GetHeight

func (m *RequestQuery) GetHeight() int64

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 RequestSetOption

type RequestSetOption 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

nondeterministic

func NewPopulatedRequestSetOption

func NewPopulatedRequestSetOption(r randyTypes, easy bool) *RequestSetOption

func (*RequestSetOption) Descriptor

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

func (*RequestSetOption) Equal

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

func (*RequestSetOption) GetKey

func (m *RequestSetOption) GetKey() string

func (*RequestSetOption) GetValue

func (m *RequestSetOption) GetValue() string

func (*RequestSetOption) Marshal

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

func (*RequestSetOption) MarshalTo

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

func (*RequestSetOption) MarshalToSizedBuffer

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

func (*RequestSetOption) ProtoMessage

func (*RequestSetOption) ProtoMessage()

func (*RequestSetOption) Reset

func (m *RequestSetOption) Reset()

func (*RequestSetOption) Size

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

func (*RequestSetOption) String

func (m *RequestSetOption) String() string

func (*RequestSetOption) Unmarshal

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

func (*RequestSetOption) XXX_DiscardUnknown

func (m *RequestSetOption) XXX_DiscardUnknown()

func (*RequestSetOption) XXX_Marshal

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

func (*RequestSetOption) XXX_Merge

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

func (*RequestSetOption) XXX_Size

func (m *RequestSetOption) XXX_Size() int

func (*RequestSetOption) XXX_Unmarshal

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

type Request_BeginBlock

type Request_BeginBlock struct {
	BeginBlock *RequestBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
}

func NewPopulatedRequest_BeginBlock

func NewPopulatedRequest_BeginBlock(r randyTypes, easy bool) *Request_BeginBlock

func (*Request_BeginBlock) Equal

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

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,9,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
}

func NewPopulatedRequest_CheckTx

func NewPopulatedRequest_CheckTx(r randyTypes, easy bool) *Request_CheckTx

func (*Request_CheckTx) Equal

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

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,12,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}

func NewPopulatedRequest_Commit

func NewPopulatedRequest_Commit(r randyTypes, easy bool) *Request_Commit

func (*Request_Commit) Equal

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

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,19,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
}

func NewPopulatedRequest_DeliverTx

func NewPopulatedRequest_DeliverTx(r randyTypes, easy bool) *Request_DeliverTx

func (*Request_DeliverTx) Equal

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

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,2,opt,name=echo,proto3,oneof" json:"echo,omitempty"`
}

func NewPopulatedRequest_Echo

func NewPopulatedRequest_Echo(r randyTypes, easy bool) *Request_Echo

func (*Request_Echo) Equal

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

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,11,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
}

func NewPopulatedRequest_EndBlock

func NewPopulatedRequest_EndBlock(r randyTypes, easy bool) *Request_EndBlock

func (*Request_EndBlock) Equal

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

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,3,opt,name=flush,proto3,oneof" json:"flush,omitempty"`
}

func NewPopulatedRequest_Flush

func NewPopulatedRequest_Flush(r randyTypes, easy bool) *Request_Flush

func (*Request_Flush) Equal

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

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

func NewPopulatedRequest_Info

func NewPopulatedRequest_Info(r randyTypes, easy bool) *Request_Info

func (*Request_Info) Equal

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

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_InitChain

type Request_InitChain struct {
	InitChain *RequestInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
}

func NewPopulatedRequest_InitChain

func NewPopulatedRequest_InitChain(r randyTypes, easy bool) *Request_InitChain

func (*Request_InitChain) Equal

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

func (*Request_InitChain) MarshalTo

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

func (*Request_InitChain) MarshalToSizedBuffer

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

func (*Request_InitChain) Size

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

type Request_Query

type Request_Query struct {
	Query *RequestQuery `protobuf:"bytes,7,opt,name=query,proto3,oneof" json:"query,omitempty"`
}

func NewPopulatedRequest_Query

func NewPopulatedRequest_Query(r randyTypes, easy bool) *Request_Query

func (*Request_Query) Equal

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

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 Request_SetOption

type Request_SetOption struct {
	SetOption *RequestSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,proto3,oneof" json:"set_option,omitempty"`
}

func NewPopulatedRequest_SetOption

func NewPopulatedRequest_SetOption(r randyTypes, easy bool) *Request_SetOption

func (*Request_SetOption) Equal

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

func (*Request_SetOption) MarshalTo

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

func (*Request_SetOption) MarshalToSizedBuffer

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

func (*Request_SetOption) Size

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

type Response

type Response struct {
	// Types that are valid to be assigned to Value:
	//	*Response_Exception
	//	*Response_Echo
	//	*Response_Flush
	//	*Response_Info
	//	*Response_SetOption
	//	*Response_InitChain
	//	*Response_Query
	//	*Response_BeginBlock
	//	*Response_CheckTx
	//	*Response_DeliverTx
	//	*Response_EndBlock
	//	*Response_Commit
	Value                isResponse_Value `protobuf_oneof:"value"`
	XXX_NoUnkeyedLiteral struct{}         `json:"-"`
	XXX_unrecognized     []byte           `json:"-"`
	XXX_sizecache        int32            `json:"-"`
}

func NewPopulatedResponse

func NewPopulatedResponse(r randyTypes, easy bool) *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 ToResponseInitChain

func ToResponseInitChain(res ResponseInitChain) *Response

func ToResponseQuery

func ToResponseQuery(res ResponseQuery) *Response

func ToResponseSetOption

func ToResponseSetOption(res ResponseSetOption) *Response

func (*Response) Descriptor

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

func (*Response) Equal

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

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) GetInitChain

func (m *Response) GetInitChain() *ResponseInitChain

func (*Response) GetQuery

func (m *Response) GetQuery() *ResponseQuery

func (*Response) GetSetOption

func (m *Response) GetSetOption() *ResponseSetOption

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 ResponseBeginBlock

type ResponseBeginBlock struct {
	Events               []Event  `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedResponseBeginBlock

func NewPopulatedResponseBeginBlock(r randyTypes, easy bool) *ResponseBeginBlock

func (*ResponseBeginBlock) AminoSize added in v1.1.9

func (beginBlock *ResponseBeginBlock) AminoSize(cdc *amino.Codec) int

func (*ResponseBeginBlock) Descriptor

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

func (*ResponseBeginBlock) Equal

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

func (*ResponseBeginBlock) GetEvents

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

func (*ResponseBeginBlock) Marshal

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

func (ResponseBeginBlock) MarshalAminoTo added in v1.5.6

func (beginBlock ResponseBeginBlock) MarshalAminoTo(cdc *amino.Codec, buf *bytes.Buffer) error

func (*ResponseBeginBlock) MarshalTo

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

func (ResponseBeginBlock) MarshalToAmino added in v1.1.6

func (beginBlock ResponseBeginBlock) MarshalToAmino(cdc *amino.Codec) ([]byte, 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) UnmarshalFromAmino added in v1.1.6

func (bb *ResponseBeginBlock) UnmarshalFromAmino(cdc *amino.Codec, 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 {
	Tx                   TxEssentials
	SenderNonce          uint64
	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,json=gasWanted,proto3" json:"gas_wanted,omitempty"`
	GasUsed              int64    `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedResponseCheckTx

func NewPopulatedResponseCheckTx(r randyTypes, easy bool) *ResponseCheckTx

func (*ResponseCheckTx) Descriptor

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

func (*ResponseCheckTx) Equal

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

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) 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         int64  `protobuf:"varint,3,opt,name=retain_height,json=retainHeight,proto3" json:"retain_height,omitempty"`
	DeltaMap             interface{}
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedResponseCommit

func NewPopulatedResponseCommit(r randyTypes, easy bool) *ResponseCommit

func (*ResponseCommit) Descriptor

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

func (*ResponseCommit) Equal

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

func (*ResponseCommit) GetData

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

func (*ResponseCommit) GetRetainHeight

func (m *ResponseCommit) GetRetainHeight() int64

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,json=gas_wanted,proto3" json:"gas_wanted,omitempty"`
	GasUsed              int64    `protobuf:"varint,6,opt,name=gas_used,json=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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedResponseDeliverTx

func NewPopulatedResponseDeliverTx(r randyTypes, easy bool) *ResponseDeliverTx

func (*ResponseDeliverTx) AminoSize added in v1.1.9

func (tx *ResponseDeliverTx) AminoSize(cdc *amino.Codec) int

func (*ResponseDeliverTx) Descriptor

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

func (*ResponseDeliverTx) Equal

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

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) MarshalAminoTo added in v1.5.6

func (tx *ResponseDeliverTx) MarshalAminoTo(cdc *amino.Codec, buf *bytes.Buffer) error

func (*ResponseDeliverTx) MarshalJSON

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

func (*ResponseDeliverTx) MarshalTo

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

func (*ResponseDeliverTx) MarshalToAmino added in v1.1.6

func (tx *ResponseDeliverTx) MarshalToAmino(cdc *amino.Codec) ([]byte, 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) UnmarshalFromAmino added in v1.1.5

func (tx *ResponseDeliverTx) UnmarshalFromAmino(cdc *amino.Codec, 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedResponseEcho

func NewPopulatedResponseEcho(r randyTypes, easy bool) *ResponseEcho

func (*ResponseEcho) Descriptor

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

func (*ResponseEcho) Equal

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

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 {
	ValidatorUpdates      []ValidatorUpdate `protobuf:"bytes,1,rep,name=validator_updates,json=validatorUpdates,proto3" json:"validator_updates"`
	ConsensusParamUpdates *ConsensusParams  `` /* 126-byte string literal not displayed */
	Events                []Event           `protobuf:"bytes,3,rep,name=events,proto3" json:"events,omitempty"`
	XXX_NoUnkeyedLiteral  struct{}          `json:"-"`
	XXX_unrecognized      []byte            `json:"-"`
	XXX_sizecache         int32             `json:"-"`
}

func NewPopulatedResponseEndBlock

func NewPopulatedResponseEndBlock(r randyTypes, easy bool) *ResponseEndBlock

func (*ResponseEndBlock) AminoSize added in v1.1.9

func (m *ResponseEndBlock) AminoSize(cdc *amino.Codec) int

func (*ResponseEndBlock) Descriptor

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

func (*ResponseEndBlock) Equal

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

func (*ResponseEndBlock) GetConsensusParamUpdates

func (m *ResponseEndBlock) GetConsensusParamUpdates() *ConsensusParams

func (*ResponseEndBlock) GetEvents

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

func (*ResponseEndBlock) GetValidatorUpdates

func (m *ResponseEndBlock) GetValidatorUpdates() []ValidatorUpdate

func (*ResponseEndBlock) Marshal

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

func (*ResponseEndBlock) MarshalAminoTo added in v1.5.6

func (endBlock *ResponseEndBlock) MarshalAminoTo(cdc *amino.Codec, buf *bytes.Buffer) error

func (*ResponseEndBlock) MarshalTo

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

func (ResponseEndBlock) MarshalToAmino added in v1.1.6

func (endBlock ResponseEndBlock) MarshalToAmino(cdc *amino.Codec) ([]byte, 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) UnmarshalFromAmino added in v1.1.6

func (eb *ResponseEndBlock) UnmarshalFromAmino(cdc *amino.Codec, 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

nondeterministic

func NewPopulatedResponseException

func NewPopulatedResponseException(r randyTypes, easy bool) *ResponseException

func (*ResponseException) Descriptor

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

func (*ResponseException) Equal

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

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 {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedResponseFlush

func NewPopulatedResponseFlush(r randyTypes, easy bool) *ResponseFlush

func (*ResponseFlush) Descriptor

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

func (*ResponseFlush) Equal

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

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"`
	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      int64    `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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedResponseInfo

func NewPopulatedResponseInfo(r randyTypes, easy bool) *ResponseInfo

func (*ResponseInfo) Descriptor

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

func (*ResponseInfo) Equal

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

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() int64

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 ResponseInitChain

type ResponseInitChain struct {
	ConsensusParams      *ConsensusParams  `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params,omitempty"`
	Validators           []ValidatorUpdate `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators"`
	XXX_NoUnkeyedLiteral struct{}          `json:"-"`
	XXX_unrecognized     []byte            `json:"-"`
	XXX_sizecache        int32             `json:"-"`
}

func NewPopulatedResponseInitChain

func NewPopulatedResponseInitChain(r randyTypes, easy bool) *ResponseInitChain

func (*ResponseInitChain) Descriptor

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

func (*ResponseInitChain) Equal

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

func (*ResponseInitChain) GetConsensusParams

func (m *ResponseInitChain) GetConsensusParams() *ConsensusParams

func (*ResponseInitChain) GetValidators

func (m *ResponseInitChain) GetValidators() []ValidatorUpdate

func (*ResponseInitChain) Marshal

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

func (*ResponseInitChain) MarshalTo

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

func (*ResponseInitChain) MarshalToSizedBuffer

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

func (*ResponseInitChain) ProtoMessage

func (*ResponseInitChain) ProtoMessage()

func (*ResponseInitChain) Reset

func (m *ResponseInitChain) Reset()

func (*ResponseInitChain) Size

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

func (*ResponseInitChain) String

func (m *ResponseInitChain) String() string

func (*ResponseInitChain) Unmarshal

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

func (*ResponseInitChain) XXX_DiscardUnknown

func (m *ResponseInitChain) XXX_DiscardUnknown()

func (*ResponseInitChain) XXX_Marshal

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

func (*ResponseInitChain) XXX_Merge

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

func (*ResponseInitChain) XXX_Size

func (m *ResponseInitChain) XXX_Size() int

func (*ResponseInitChain) XXX_Unmarshal

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

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"`
	Proof                *merkle.Proof `protobuf:"bytes,8,opt,name=proof_ops,json=proofOps,proto3" json:"proof_ops,omitempty"`
	Height               int64         `protobuf:"varint,9,opt,name=height,proto3" json:"height,omitempty"`
	Codespace            string        `protobuf:"bytes,10,opt,name=codespace,proto3" json:"codespace,omitempty"`
	XXX_NoUnkeyedLiteral struct{}      `json:"-"`
	XXX_unrecognized     []byte        `json:"-"`
	XXX_sizecache        int32         `json:"-"`
}

func NewPopulatedResponseQuery

func NewPopulatedResponseQuery(r randyTypes, easy bool) *ResponseQuery

func (*ResponseQuery) Descriptor

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

func (*ResponseQuery) Equal

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

func (*ResponseQuery) GetCode

func (m *ResponseQuery) GetCode() uint32

func (*ResponseQuery) GetCodespace

func (m *ResponseQuery) GetCodespace() string

func (*ResponseQuery) GetHeight

func (m *ResponseQuery) GetHeight() int64

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) GetProof

func (m *ResponseQuery) GetProof() *merkle.Proof

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 ResponseSetOption

type ResponseSetOption struct {
	Code uint32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
	// bytes data = 2;
	Log                  string   `protobuf:"bytes,3,opt,name=log,proto3" json:"log,omitempty"`
	Info                 string   `protobuf:"bytes,4,opt,name=info,proto3" json:"info,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

nondeterministic

func NewPopulatedResponseSetOption

func NewPopulatedResponseSetOption(r randyTypes, easy bool) *ResponseSetOption

func (*ResponseSetOption) Descriptor

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

func (*ResponseSetOption) Equal

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

func (*ResponseSetOption) GetCode

func (m *ResponseSetOption) GetCode() uint32

func (*ResponseSetOption) GetInfo

func (m *ResponseSetOption) GetInfo() string

func (*ResponseSetOption) GetLog

func (m *ResponseSetOption) GetLog() string

func (*ResponseSetOption) Marshal

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

func (*ResponseSetOption) MarshalJSON

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

func (*ResponseSetOption) MarshalTo

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

func (*ResponseSetOption) MarshalToSizedBuffer

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

func (*ResponseSetOption) ProtoMessage

func (*ResponseSetOption) ProtoMessage()

func (*ResponseSetOption) Reset

func (m *ResponseSetOption) Reset()

func (*ResponseSetOption) Size

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

func (*ResponseSetOption) String

func (m *ResponseSetOption) String() string

func (*ResponseSetOption) Unmarshal

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

func (*ResponseSetOption) UnmarshalJSON

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

func (*ResponseSetOption) XXX_DiscardUnknown

func (m *ResponseSetOption) XXX_DiscardUnknown()

func (*ResponseSetOption) XXX_Marshal

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

func (*ResponseSetOption) XXX_Merge

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

func (*ResponseSetOption) XXX_Size

func (m *ResponseSetOption) XXX_Size() int

func (*ResponseSetOption) XXX_Unmarshal

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

type Response_BeginBlock

type Response_BeginBlock struct {
	BeginBlock *ResponseBeginBlock `protobuf:"bytes,8,opt,name=begin_block,json=beginBlock,proto3,oneof" json:"begin_block,omitempty"`
}

func NewPopulatedResponse_BeginBlock

func NewPopulatedResponse_BeginBlock(r randyTypes, easy bool) *Response_BeginBlock

func (*Response_BeginBlock) Equal

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

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,9,opt,name=check_tx,json=checkTx,proto3,oneof" json:"check_tx,omitempty"`
}

func NewPopulatedResponse_CheckTx

func NewPopulatedResponse_CheckTx(r randyTypes, easy bool) *Response_CheckTx

func (*Response_CheckTx) Equal

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

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,12,opt,name=commit,proto3,oneof" json:"commit,omitempty"`
}

func NewPopulatedResponse_Commit

func NewPopulatedResponse_Commit(r randyTypes, easy bool) *Response_Commit

func (*Response_Commit) Equal

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

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,10,opt,name=deliver_tx,json=deliverTx,proto3,oneof" json:"deliver_tx,omitempty"`
}

func NewPopulatedResponse_DeliverTx

func NewPopulatedResponse_DeliverTx(r randyTypes, easy bool) *Response_DeliverTx

func (*Response_DeliverTx) Equal

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

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 NewPopulatedResponse_Echo

func NewPopulatedResponse_Echo(r randyTypes, easy bool) *Response_Echo

func (*Response_Echo) Equal

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

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,11,opt,name=end_block,json=endBlock,proto3,oneof" json:"end_block,omitempty"`
}

func NewPopulatedResponse_EndBlock

func NewPopulatedResponse_EndBlock(r randyTypes, easy bool) *Response_EndBlock

func (*Response_EndBlock) Equal

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

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 NewPopulatedResponse_Exception

func NewPopulatedResponse_Exception(r randyTypes, easy bool) *Response_Exception

func (*Response_Exception) Equal

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

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 NewPopulatedResponse_Flush

func NewPopulatedResponse_Flush(r randyTypes, easy bool) *Response_Flush

func (*Response_Flush) Equal

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

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 NewPopulatedResponse_Info

func NewPopulatedResponse_Info(r randyTypes, easy bool) *Response_Info

func (*Response_Info) Equal

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

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_InitChain

type Response_InitChain struct {
	InitChain *ResponseInitChain `protobuf:"bytes,6,opt,name=init_chain,json=initChain,proto3,oneof" json:"init_chain,omitempty"`
}

func NewPopulatedResponse_InitChain

func NewPopulatedResponse_InitChain(r randyTypes, easy bool) *Response_InitChain

func (*Response_InitChain) Equal

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

func (*Response_InitChain) MarshalTo

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

func (*Response_InitChain) MarshalToSizedBuffer

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

func (*Response_InitChain) Size

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

type Response_Query

type Response_Query struct {
	Query *ResponseQuery `protobuf:"bytes,7,opt,name=query,proto3,oneof" json:"query,omitempty"`
}

func NewPopulatedResponse_Query

func NewPopulatedResponse_Query(r randyTypes, easy bool) *Response_Query

func (*Response_Query) Equal

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

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 Response_SetOption

type Response_SetOption struct {
	SetOption *ResponseSetOption `protobuf:"bytes,5,opt,name=set_option,json=setOption,proto3,oneof" json:"set_option,omitempty"`
}

func NewPopulatedResponse_SetOption

func NewPopulatedResponse_SetOption(r randyTypes, easy bool) *Response_SetOption

func (*Response_SetOption) Equal

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

func (*Response_SetOption) MarshalTo

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

func (*Response_SetOption) MarshalToSizedBuffer

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

func (*Response_SetOption) Size

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

type TxEssentials added in v1.2.0

type TxEssentials interface {
	GetRaw() []byte
	TxHash() []byte
	GetFrom() string
	GetNonce() uint64
	GetGasPrice() *big.Int
}

type UnimplementedABCIApplicationServer

type UnimplementedABCIApplicationServer struct {
}

UnimplementedABCIApplicationServer can be embedded to have forward compatible implementations.

func (*UnimplementedABCIApplicationServer) BeginBlock

func (*UnimplementedABCIApplicationServer) CheckTx

func (*UnimplementedABCIApplicationServer) Commit

func (*UnimplementedABCIApplicationServer) DeliverTx

func (*UnimplementedABCIApplicationServer) Echo

func (*UnimplementedABCIApplicationServer) EndBlock

func (*UnimplementedABCIApplicationServer) Flush

func (*UnimplementedABCIApplicationServer) Info

func (*UnimplementedABCIApplicationServer) InitChain

func (*UnimplementedABCIApplicationServer) Query

func (*UnimplementedABCIApplicationServer) SetOption

type UpgradeReq added in v1.3.0

type UpgradeReq struct {
}

type UpgradeResp added in v1.3.0

type UpgradeResp struct {
	ModuleResults []*ModuleUpgradeResp
}

type Validator

type Validator struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// PubKey pub_key = 2 [(gogoproto.nullable)=false];
	Power                int64    `protobuf:"varint,3,opt,name=power,proto3" json:"power,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

Validator

func NewPopulatedValidator

func NewPopulatedValidator(r randyTypes, easy bool) *Validator

func (*Validator) Descriptor

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

func (*Validator) Equal

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

func (*Validator) GetAddress

func (m *Validator) GetAddress() []byte

func (*Validator) GetPower

func (m *Validator) GetPower() int64

func (*Validator) Marshal

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

func (*Validator) MarshalTo

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

func (*Validator) MarshalToSizedBuffer

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

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) Reset

func (m *Validator) Reset()

func (*Validator) Size

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

func (*Validator) String

func (m *Validator) String() string

func (*Validator) Unmarshal

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

func (*Validator) XXX_DiscardUnknown

func (m *Validator) XXX_DiscardUnknown()

func (*Validator) XXX_Marshal

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

func (*Validator) XXX_Merge

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

func (*Validator) XXX_Size

func (m *Validator) XXX_Size() int

func (*Validator) XXX_Unmarshal

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

type ValidatorParams

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

ValidatorParams contains limits on validators.

func NewPopulatedValidatorParams

func NewPopulatedValidatorParams(r randyTypes, easy bool) *ValidatorParams

func (*ValidatorParams) AminoSize added in v1.1.9

func (m *ValidatorParams) AminoSize(_ *amino.Codec) int

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) MarshalAminoTo added in v1.5.6

func (params ValidatorParams) MarshalAminoTo(_ *amino.Codec, buf *bytes.Buffer) error

func (*ValidatorParams) MarshalTo

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

func (ValidatorParams) MarshalToAmino added in v1.1.6

func (params ValidatorParams) MarshalToAmino(cdc *amino.Codec) ([]byte, 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) UnmarshalFromAmino added in v1.1.6

func (vp *ValidatorParams) UnmarshalFromAmino(cdc *amino.Codec, data []byte) error

UnmarshalFromAmino unmarshal data from amino bytes.

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 ValidatorUpdate

type ValidatorUpdate struct {
	PubKey               PubKey   `protobuf:"bytes,1,opt,name=pub_key,json=pubKey,proto3" json:"pub_key"`
	Power                int64    `protobuf:"varint,2,opt,name=power,proto3" json:"power,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

ValidatorUpdate

func Ed25519ValidatorUpdate

func Ed25519ValidatorUpdate(pubkey []byte, power int64) ValidatorUpdate

func NewPopulatedValidatorUpdate

func NewPopulatedValidatorUpdate(r randyTypes, easy bool) *ValidatorUpdate

func (*ValidatorUpdate) AminoSize added in v1.1.9

func (m *ValidatorUpdate) AminoSize(cdc *amino.Codec) int

func (*ValidatorUpdate) Descriptor

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

func (*ValidatorUpdate) Equal

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

func (*ValidatorUpdate) GetPower

func (m *ValidatorUpdate) GetPower() int64

func (*ValidatorUpdate) GetPubKey

func (m *ValidatorUpdate) GetPubKey() PubKey

func (*ValidatorUpdate) Marshal

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

func (ValidatorUpdate) MarshalAminoTo added in v1.5.6

func (valUpdate ValidatorUpdate) MarshalAminoTo(cdc *amino.Codec, buf *bytes.Buffer) error

func (*ValidatorUpdate) MarshalTo

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

func (ValidatorUpdate) MarshalToAmino added in v1.1.6

func (valUpdate ValidatorUpdate) MarshalToAmino(cdc *amino.Codec) ([]byte, error)

func (*ValidatorUpdate) MarshalToSizedBuffer

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

func (*ValidatorUpdate) ProtoMessage

func (*ValidatorUpdate) ProtoMessage()

func (*ValidatorUpdate) Reset

func (m *ValidatorUpdate) Reset()

func (*ValidatorUpdate) Size

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

func (*ValidatorUpdate) String

func (m *ValidatorUpdate) String() string

func (*ValidatorUpdate) Unmarshal

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

func (*ValidatorUpdate) UnmarshalFromAmino added in v1.1.6

func (vu *ValidatorUpdate) UnmarshalFromAmino(cdc *amino.Codec, data []byte) error

UnmarshalFromAmino unmarshal data from amino bytes.

func (*ValidatorUpdate) XXX_DiscardUnknown

func (m *ValidatorUpdate) XXX_DiscardUnknown()

func (*ValidatorUpdate) XXX_Marshal

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

func (*ValidatorUpdate) XXX_Merge

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

func (*ValidatorUpdate) XXX_Size

func (m *ValidatorUpdate) XXX_Size() int

func (*ValidatorUpdate) XXX_Unmarshal

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

type ValidatorUpdates

type ValidatorUpdates []ValidatorUpdate

ValidatorUpdates is a list of validators that implements the Sort interface

func (ValidatorUpdates) Len

func (v ValidatorUpdates) Len() int

func (ValidatorUpdates) Less

func (v ValidatorUpdates) Less(i, j int) bool

XXX: doesn't distinguish same validator with different power

func (ValidatorUpdates) Swap

func (v ValidatorUpdates) Swap(i, j int)

type Version

type Version 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func NewPopulatedVersion

func NewPopulatedVersion(r randyTypes, easy bool) *Version

func (*Version) Descriptor

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

func (*Version) Equal

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

func (*Version) GetApp

func (m *Version) GetApp() uint64

func (*Version) GetBlock

func (m *Version) GetBlock() uint64

func (*Version) Marshal

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

func (*Version) MarshalTo

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

func (*Version) MarshalToSizedBuffer

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

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) Reset

func (m *Version) Reset()

func (*Version) Size

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

func (*Version) String

func (m *Version) String() string

func (*Version) Unmarshal

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

func (*Version) XXX_DiscardUnknown

func (m *Version) XXX_DiscardUnknown()

func (*Version) XXX_Marshal

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

func (*Version) XXX_Merge

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

func (*Version) XXX_Size

func (m *Version) XXX_Size() int

func (*Version) XXX_Unmarshal

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

type VoteInfo

type VoteInfo struct {
	Validator            Validator `protobuf:"bytes,1,opt,name=validator,proto3" json:"validator"`
	SignedLastBlock      bool      `protobuf:"varint,2,opt,name=signed_last_block,json=signedLastBlock,proto3" json:"signed_last_block,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

VoteInfo

func NewPopulatedVoteInfo

func NewPopulatedVoteInfo(r randyTypes, easy bool) *VoteInfo

func (*VoteInfo) Descriptor

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

func (*VoteInfo) Equal

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

func (*VoteInfo) GetSignedLastBlock

func (m *VoteInfo) GetSignedLastBlock() bool

func (*VoteInfo) GetValidator

func (m *VoteInfo) GetValidator() Validator

func (*VoteInfo) Marshal

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

func (*VoteInfo) MarshalTo

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

func (*VoteInfo) MarshalToSizedBuffer

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

func (*VoteInfo) ProtoMessage

func (*VoteInfo) ProtoMessage()

func (*VoteInfo) Reset

func (m *VoteInfo) Reset()

func (*VoteInfo) Size

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

func (*VoteInfo) String

func (m *VoteInfo) String() string

func (*VoteInfo) Unmarshal

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

func (*VoteInfo) XXX_DiscardUnknown

func (m *VoteInfo) XXX_DiscardUnknown()

func (*VoteInfo) XXX_Marshal

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

func (*VoteInfo) XXX_Merge

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

func (*VoteInfo) XXX_Size

func (m *VoteInfo) XXX_Size() int

func (*VoteInfo) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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