 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
- Variables
- type ABCIResponses
- func (*ABCIResponses) Descriptor() ([]byte, []int)
- func (m *ABCIResponses) GetFinalizeBlock() []byte
- func (m *ABCIResponses) Marshal() (dAtA []byte, err error)
- func (m *ABCIResponses) MarshalTo(dAtA []byte) (int, error)
- func (m *ABCIResponses) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ABCIResponses) ProtoMessage()
- func (m *ABCIResponses) Reset()
- func (m *ABCIResponses) Size() (n int)
- func (m *ABCIResponses) String() string
- func (m *ABCIResponses) Unmarshal(dAtA []byte) error
- func (m *ABCIResponses) XXX_DiscardUnknown()
- func (m *ABCIResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ABCIResponses) XXX_Merge(src proto.Message)
- func (m *ABCIResponses) XXX_Size() int
- func (m *ABCIResponses) XXX_Unmarshal(b []byte) error
 
- type ABCIResponsesInfo
- func (*ABCIResponsesInfo) Descriptor() ([]byte, []int)
- func (m *ABCIResponsesInfo) GetAbciResponses() *ABCIResponses
- func (m *ABCIResponsesInfo) GetHeight() int64
- func (m *ABCIResponsesInfo) Marshal() (dAtA []byte, err error)
- func (m *ABCIResponsesInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ABCIResponsesInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ABCIResponsesInfo) ProtoMessage()
- func (m *ABCIResponsesInfo) Reset()
- func (m *ABCIResponsesInfo) Size() (n int)
- func (m *ABCIResponsesInfo) String() string
- func (m *ABCIResponsesInfo) Unmarshal(dAtA []byte) error
- func (m *ABCIResponsesInfo) XXX_DiscardUnknown()
- func (m *ABCIResponsesInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ABCIResponsesInfo) XXX_Merge(src proto.Message)
- func (m *ABCIResponsesInfo) XXX_Size() int
- func (m *ABCIResponsesInfo) XXX_Unmarshal(b []byte) error
 
- type ConsensusParamsInfo
- func (*ConsensusParamsInfo) Descriptor() ([]byte, []int)
- func (m *ConsensusParamsInfo) GetConsensusParams() types.ConsensusParams
- func (m *ConsensusParamsInfo) GetLastHeightChanged() int64
- func (m *ConsensusParamsInfo) Marshal() (dAtA []byte, err error)
- func (m *ConsensusParamsInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsensusParamsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsensusParamsInfo) ProtoMessage()
- func (m *ConsensusParamsInfo) Reset()
- func (m *ConsensusParamsInfo) Size() (n int)
- func (m *ConsensusParamsInfo) String() string
- func (m *ConsensusParamsInfo) Unmarshal(dAtA []byte) error
- func (m *ConsensusParamsInfo) XXX_DiscardUnknown()
- func (m *ConsensusParamsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsensusParamsInfo) XXX_Merge(src proto.Message)
- func (m *ConsensusParamsInfo) XXX_Size() int
- func (m *ConsensusParamsInfo) XXX_Unmarshal(b []byte) error
 
- type State
- func (*State) Descriptor() ([]byte, []int)
- func (m *State) GetAppHash() []byte
- func (m *State) GetChainID() string
- func (m *State) GetConsensusParams() types.ConsensusParams
- func (m *State) GetInitialHeight() int64
- func (m *State) GetLastBlockHeight() int64
- func (m *State) GetLastBlockID() types.BlockID
- func (m *State) GetLastBlockTime() time.Time
- func (m *State) GetLastHeightConsensusParamsChanged() int64
- func (m *State) GetLastHeightValidatorsChanged() int64
- func (m *State) GetLastResultsHash() []byte
- func (m *State) GetLastValidators() *types.ValidatorSet
- func (m *State) GetNextValidators() *types.ValidatorSet
- func (m *State) GetValidators() *types.ValidatorSet
- func (m *State) GetVersion() Version
- func (m *State) Marshal() (dAtA []byte, err error)
- func (m *State) MarshalTo(dAtA []byte) (int, error)
- func (m *State) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*State) ProtoMessage()
- func (m *State) Reset()
- func (m *State) Size() (n int)
- func (m *State) String() string
- func (m *State) Unmarshal(dAtA []byte) error
- func (m *State) XXX_DiscardUnknown()
- func (m *State) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *State) XXX_Merge(src proto.Message)
- func (m *State) XXX_Size() int
- func (m *State) XXX_Unmarshal(b []byte) error
 
- type ValidatorsInfo
- func (*ValidatorsInfo) Descriptor() ([]byte, []int)
- func (m *ValidatorsInfo) GetLastHeightChanged() int64
- func (m *ValidatorsInfo) GetValidatorSet() *types.ValidatorSet
- func (m *ValidatorsInfo) Marshal() (dAtA []byte, err error)
- func (m *ValidatorsInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ValidatorsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValidatorsInfo) ProtoMessage()
- func (m *ValidatorsInfo) Reset()
- func (m *ValidatorsInfo) Size() (n int)
- func (m *ValidatorsInfo) String() string
- func (m *ValidatorsInfo) Unmarshal(dAtA []byte) error
- func (m *ValidatorsInfo) XXX_DiscardUnknown()
- func (m *ValidatorsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValidatorsInfo) XXX_Merge(src proto.Message)
- func (m *ValidatorsInfo) XXX_Size() int
- func (m *ValidatorsInfo) XXX_Unmarshal(b []byte) error
 
- type Version
- func (*Version) Descriptor() ([]byte, []int)
- func (m *Version) GetConsensus() version.Consensus
- func (m *Version) GetSoftware() string
- func (m *Version) Marshal() (dAtA []byte, err error)
- func (m *Version) MarshalTo(dAtA []byte) (int, error)
- func (m *Version) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Version) ProtoMessage()
- func (m *Version) Reset()
- func (m *Version) Size() (n int)
- func (m *Version) String() string
- func (m *Version) Unmarshal(dAtA []byte) error
- func (m *Version) XXX_DiscardUnknown()
- func (m *Version) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Version) XXX_Merge(src proto.Message)
- func (m *Version) XXX_Size() int
- func (m *Version) XXX_Unmarshal(b []byte) error
 
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type ABCIResponses ¶
type ABCIResponses struct {
	FinalizeBlock []byte `protobuf:"bytes,1,opt,name=finalize_block,json=finalizeBlock,proto3" json:"finalize_block,omitempty"`
}
    ABCIResponses retains the responses of the various ABCI calls during block processing. It is persisted to disk for each height before calling Commit.
func (*ABCIResponses) Descriptor ¶
func (*ABCIResponses) Descriptor() ([]byte, []int)
func (*ABCIResponses) GetFinalizeBlock ¶
func (m *ABCIResponses) GetFinalizeBlock() []byte
func (*ABCIResponses) Marshal ¶
func (m *ABCIResponses) Marshal() (dAtA []byte, err error)
func (*ABCIResponses) MarshalToSizedBuffer ¶
func (m *ABCIResponses) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ABCIResponses) ProtoMessage ¶
func (*ABCIResponses) ProtoMessage()
func (*ABCIResponses) Reset ¶
func (m *ABCIResponses) Reset()
func (*ABCIResponses) Size ¶
func (m *ABCIResponses) Size() (n int)
func (*ABCIResponses) String ¶
func (m *ABCIResponses) String() string
func (*ABCIResponses) Unmarshal ¶
func (m *ABCIResponses) Unmarshal(dAtA []byte) error
func (*ABCIResponses) XXX_DiscardUnknown ¶
func (m *ABCIResponses) XXX_DiscardUnknown()
func (*ABCIResponses) XXX_Marshal ¶
func (m *ABCIResponses) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ABCIResponses) XXX_Merge ¶
func (m *ABCIResponses) XXX_Merge(src proto.Message)
func (*ABCIResponses) XXX_Size ¶
func (m *ABCIResponses) XXX_Size() int
func (*ABCIResponses) XXX_Unmarshal ¶
func (m *ABCIResponses) XXX_Unmarshal(b []byte) error
type ABCIResponsesInfo ¶
type ABCIResponsesInfo struct {
	AbciResponses *ABCIResponses `protobuf:"bytes,1,opt,name=abci_responses,json=abciResponses,proto3" json:"abci_responses,omitempty"`
	Height        int64          `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
}
    func (*ABCIResponsesInfo) Descriptor ¶
func (*ABCIResponsesInfo) Descriptor() ([]byte, []int)
func (*ABCIResponsesInfo) GetAbciResponses ¶
func (m *ABCIResponsesInfo) GetAbciResponses() *ABCIResponses
func (*ABCIResponsesInfo) GetHeight ¶
func (m *ABCIResponsesInfo) GetHeight() int64
func (*ABCIResponsesInfo) Marshal ¶
func (m *ABCIResponsesInfo) Marshal() (dAtA []byte, err error)
func (*ABCIResponsesInfo) MarshalTo ¶
func (m *ABCIResponsesInfo) MarshalTo(dAtA []byte) (int, error)
func (*ABCIResponsesInfo) MarshalToSizedBuffer ¶
func (m *ABCIResponsesInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ABCIResponsesInfo) ProtoMessage ¶
func (*ABCIResponsesInfo) ProtoMessage()
func (*ABCIResponsesInfo) Reset ¶
func (m *ABCIResponsesInfo) Reset()
func (*ABCIResponsesInfo) Size ¶
func (m *ABCIResponsesInfo) Size() (n int)
func (*ABCIResponsesInfo) String ¶
func (m *ABCIResponsesInfo) String() string
func (*ABCIResponsesInfo) Unmarshal ¶
func (m *ABCIResponsesInfo) Unmarshal(dAtA []byte) error
func (*ABCIResponsesInfo) XXX_DiscardUnknown ¶
func (m *ABCIResponsesInfo) XXX_DiscardUnknown()
func (*ABCIResponsesInfo) XXX_Marshal ¶
func (m *ABCIResponsesInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ABCIResponsesInfo) XXX_Merge ¶
func (m *ABCIResponsesInfo) XXX_Merge(src proto.Message)
func (*ABCIResponsesInfo) XXX_Size ¶
func (m *ABCIResponsesInfo) XXX_Size() int
func (*ABCIResponsesInfo) XXX_Unmarshal ¶
func (m *ABCIResponsesInfo) XXX_Unmarshal(b []byte) error
type ConsensusParamsInfo ¶
type ConsensusParamsInfo struct {
	ConsensusParams   types.ConsensusParams `protobuf:"bytes,1,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params"`
	LastHeightChanged int64                 `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
}
    ConsensusParamsInfo represents the latest consensus params, or the last height it changed
func (*ConsensusParamsInfo) Descriptor ¶
func (*ConsensusParamsInfo) Descriptor() ([]byte, []int)
func (*ConsensusParamsInfo) GetConsensusParams ¶
func (m *ConsensusParamsInfo) GetConsensusParams() types.ConsensusParams
func (*ConsensusParamsInfo) GetLastHeightChanged ¶
func (m *ConsensusParamsInfo) GetLastHeightChanged() int64
func (*ConsensusParamsInfo) Marshal ¶
func (m *ConsensusParamsInfo) Marshal() (dAtA []byte, err error)
func (*ConsensusParamsInfo) MarshalTo ¶
func (m *ConsensusParamsInfo) MarshalTo(dAtA []byte) (int, error)
func (*ConsensusParamsInfo) MarshalToSizedBuffer ¶
func (m *ConsensusParamsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ConsensusParamsInfo) ProtoMessage ¶
func (*ConsensusParamsInfo) ProtoMessage()
func (*ConsensusParamsInfo) Reset ¶
func (m *ConsensusParamsInfo) Reset()
func (*ConsensusParamsInfo) Size ¶
func (m *ConsensusParamsInfo) Size() (n int)
func (*ConsensusParamsInfo) String ¶
func (m *ConsensusParamsInfo) String() string
func (*ConsensusParamsInfo) Unmarshal ¶
func (m *ConsensusParamsInfo) Unmarshal(dAtA []byte) error
func (*ConsensusParamsInfo) XXX_DiscardUnknown ¶
func (m *ConsensusParamsInfo) XXX_DiscardUnknown()
func (*ConsensusParamsInfo) XXX_Marshal ¶
func (m *ConsensusParamsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ConsensusParamsInfo) XXX_Merge ¶
func (m *ConsensusParamsInfo) XXX_Merge(src proto.Message)
func (*ConsensusParamsInfo) XXX_Size ¶
func (m *ConsensusParamsInfo) XXX_Size() int
func (*ConsensusParamsInfo) XXX_Unmarshal ¶
func (m *ConsensusParamsInfo) XXX_Unmarshal(b []byte) error
type State ¶
type State struct {
	Version Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version"`
	// immutable
	ChainID       string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	InitialHeight int64  `protobuf:"varint,14,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
	// LastBlockHeight=0 at genesis (ie. block(H=0) does not exist)
	LastBlockHeight int64         `protobuf:"varint,3,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
	LastBlockID     types.BlockID `protobuf:"bytes,4,opt,name=last_block_id,json=lastBlockId,proto3" json:"last_block_id"`
	LastBlockTime   time.Time     `protobuf:"bytes,5,opt,name=last_block_time,json=lastBlockTime,proto3,stdtime" json:"last_block_time"`
	// LastValidators is used to validate block.LastCommit.
	// Validators are persisted to the database separately every time they change,
	// so we can query for historical validator sets.
	// Note that if s.LastBlockHeight causes a valset change,
	// we set s.LastHeightValidatorsChanged = s.LastBlockHeight + 1 + 1
	// Extra +1 due to nextValSet delay.
	NextValidators              *types.ValidatorSet `protobuf:"bytes,6,opt,name=next_validators,json=nextValidators,proto3" json:"next_validators,omitempty"`
	Validators                  *types.ValidatorSet `protobuf:"bytes,7,opt,name=validators,proto3" json:"validators,omitempty"`
	LastValidators              *types.ValidatorSet `protobuf:"bytes,8,opt,name=last_validators,json=lastValidators,proto3" json:"last_validators,omitempty"`
	LastHeightValidatorsChanged int64               `` /* 147-byte string literal not displayed */
	// Consensus parameters used for validating blocks.
	// Changes returned by EndBlock and updated after Commit.
	ConsensusParams                  types.ConsensusParams `protobuf:"bytes,10,opt,name=consensus_params,json=consensusParams,proto3" json:"consensus_params"`
	LastHeightConsensusParamsChanged int64                 `` /* 165-byte string literal not displayed */
	// Merkle root of the results from executing prev block
	LastResultsHash []byte `protobuf:"bytes,12,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
	// the latest AppHash we've received from calling abci.Commit()
	AppHash []byte `protobuf:"bytes,13,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
}
    func (*State) Descriptor ¶
func (*State) GetAppHash ¶
func (*State) GetChainID ¶
func (*State) GetConsensusParams ¶
func (m *State) GetConsensusParams() types.ConsensusParams
func (*State) GetInitialHeight ¶
func (*State) GetLastBlockHeight ¶
func (*State) GetLastBlockID ¶
func (*State) GetLastBlockTime ¶
func (*State) GetLastHeightConsensusParamsChanged ¶
func (*State) GetLastHeightValidatorsChanged ¶
func (*State) GetLastResultsHash ¶
func (*State) GetLastValidators ¶
func (m *State) GetLastValidators() *types.ValidatorSet
func (*State) GetNextValidators ¶
func (m *State) GetNextValidators() *types.ValidatorSet
func (*State) GetValidators ¶
func (m *State) GetValidators() *types.ValidatorSet
func (*State) GetVersion ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) XXX_DiscardUnknown ¶
func (m *State) XXX_DiscardUnknown()
func (*State) XXX_Marshal ¶
func (*State) XXX_Unmarshal ¶
type ValidatorsInfo ¶
type ValidatorsInfo struct {
	ValidatorSet      *types.ValidatorSet `protobuf:"bytes,1,opt,name=validator_set,json=validatorSet,proto3" json:"validator_set,omitempty"`
	LastHeightChanged int64               `protobuf:"varint,2,opt,name=last_height_changed,json=lastHeightChanged,proto3" json:"last_height_changed,omitempty"`
}
    ValidatorsInfo represents the latest validator set, or the last height it changed
func (*ValidatorsInfo) Descriptor ¶
func (*ValidatorsInfo) Descriptor() ([]byte, []int)
func (*ValidatorsInfo) GetLastHeightChanged ¶
func (m *ValidatorsInfo) GetLastHeightChanged() int64
func (*ValidatorsInfo) GetValidatorSet ¶
func (m *ValidatorsInfo) GetValidatorSet() *types.ValidatorSet
func (*ValidatorsInfo) Marshal ¶
func (m *ValidatorsInfo) Marshal() (dAtA []byte, err error)
func (*ValidatorsInfo) MarshalToSizedBuffer ¶
func (m *ValidatorsInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValidatorsInfo) ProtoMessage ¶
func (*ValidatorsInfo) ProtoMessage()
func (*ValidatorsInfo) Reset ¶
func (m *ValidatorsInfo) Reset()
func (*ValidatorsInfo) Size ¶
func (m *ValidatorsInfo) Size() (n int)
func (*ValidatorsInfo) String ¶
func (m *ValidatorsInfo) String() string
func (*ValidatorsInfo) Unmarshal ¶
func (m *ValidatorsInfo) Unmarshal(dAtA []byte) error
func (*ValidatorsInfo) XXX_DiscardUnknown ¶
func (m *ValidatorsInfo) XXX_DiscardUnknown()
func (*ValidatorsInfo) XXX_Marshal ¶
func (m *ValidatorsInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValidatorsInfo) XXX_Merge ¶
func (m *ValidatorsInfo) XXX_Merge(src proto.Message)
func (*ValidatorsInfo) XXX_Size ¶
func (m *ValidatorsInfo) XXX_Size() int
func (*ValidatorsInfo) XXX_Unmarshal ¶
func (m *ValidatorsInfo) XXX_Unmarshal(b []byte) error
type Version ¶
type Version struct {
	Consensus version.Consensus `protobuf:"bytes,1,opt,name=consensus,proto3" json:"consensus"`
	Software  string            `protobuf:"bytes,2,opt,name=software,proto3" json:"software,omitempty"`
}
    func (*Version) Descriptor ¶
func (*Version) GetConsensus ¶
func (*Version) GetSoftware ¶
func (*Version) MarshalToSizedBuffer ¶
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) XXX_DiscardUnknown ¶
func (m *Version) XXX_DiscardUnknown()
func (*Version) XXX_Marshal ¶
func (*Version) XXX_Unmarshal ¶
 Click to show internal directories. 
   Click to hide internal directories.