Documentation
¶
Index ¶
- Variables
- type Batch
- type Block
- type Data
- type ExecuteTxsRequest
- func (*ExecuteTxsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteTxsRequest) GetBlockHeight() uint64
- func (x *ExecuteTxsRequest) GetPrevStateRoot() []byte
- func (x *ExecuteTxsRequest) GetTimestamp() *timestamppb.Timestamp
- func (x *ExecuteTxsRequest) GetTxs() [][]byte
- func (*ExecuteTxsRequest) ProtoMessage()
- func (x *ExecuteTxsRequest) ProtoReflect() protoreflect.Message
- func (x *ExecuteTxsRequest) Reset()
- func (x *ExecuteTxsRequest) String() string
- type ExecuteTxsResponse
- func (*ExecuteTxsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ExecuteTxsResponse) GetMaxBytes() uint64
- func (x *ExecuteTxsResponse) GetUpdatedStateRoot() []byte
- func (*ExecuteTxsResponse) ProtoMessage()
- func (x *ExecuteTxsResponse) ProtoReflect() protoreflect.Message
- func (x *ExecuteTxsResponse) Reset()
- func (x *ExecuteTxsResponse) String() string
- type GetBlockRequest
- func (*GetBlockRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockRequest) GetHash() []byte
- func (x *GetBlockRequest) GetHeight() uint64
- func (x *GetBlockRequest) GetIdentifier() isGetBlockRequest_Identifier
- func (*GetBlockRequest) ProtoMessage()
- func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
- func (x *GetBlockRequest) Reset()
- func (x *GetBlockRequest) String() string
- type GetBlockRequest_Hash
- type GetBlockRequest_Height
- type GetBlockResponse
- func (*GetBlockResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetBlockResponse) GetBlock() *Block
- func (x *GetBlockResponse) GetDataDaHeight() uint64
- func (x *GetBlockResponse) GetHeaderDaHeight() uint64
- func (*GetBlockResponse) ProtoMessage()
- func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
- func (x *GetBlockResponse) Reset()
- func (x *GetBlockResponse) String() string
- type GetGenesisDaHeightResponse
- func (*GetGenesisDaHeightResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetGenesisDaHeightResponse) GetHeight() uint64
- func (*GetGenesisDaHeightResponse) ProtoMessage()
- func (x *GetGenesisDaHeightResponse) ProtoReflect() protoreflect.Message
- func (x *GetGenesisDaHeightResponse) Reset()
- func (x *GetGenesisDaHeightResponse) String() string
- type GetHealthResponse
- func (*GetHealthResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHealthResponse) GetStatus() HealthStatus
- func (*GetHealthResponse) ProtoMessage()
- func (x *GetHealthResponse) ProtoReflect() protoreflect.Message
- func (x *GetHealthResponse) Reset()
- func (x *GetHealthResponse) String() string
- type GetMetadataRequest
- type GetMetadataResponse
- func (*GetMetadataResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetMetadataResponse) GetValue() []byte
- func (*GetMetadataResponse) ProtoMessage()
- func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message
- func (x *GetMetadataResponse) Reset()
- func (x *GetMetadataResponse) String() string
- type GetNamespaceResponse
- func (*GetNamespaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNamespaceResponse) GetDataNamespace() string
- func (x *GetNamespaceResponse) GetHeaderNamespace() string
- func (*GetNamespaceResponse) ProtoMessage()
- func (x *GetNamespaceResponse) ProtoReflect() protoreflect.Message
- func (x *GetNamespaceResponse) Reset()
- func (x *GetNamespaceResponse) String() string
- type GetNetInfoResponse
- func (*GetNetInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetNetInfoResponse) GetNetInfo() *NetInfo
- func (*GetNetInfoResponse) ProtoMessage()
- func (x *GetNetInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetNetInfoResponse) Reset()
- func (x *GetNetInfoResponse) String() string
- type GetPeerInfoResponse
- func (*GetPeerInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPeerInfoResponse) GetPeers() []*PeerInfo
- func (*GetPeerInfoResponse) ProtoMessage()
- func (x *GetPeerInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetPeerInfoResponse) Reset()
- func (x *GetPeerInfoResponse) String() string
- type GetPublicRequest
- type GetPublicResponse
- type GetSignerInfoResponse
- func (*GetSignerInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSignerInfoResponse) GetAddress() []byte
- func (*GetSignerInfoResponse) ProtoMessage()
- func (x *GetSignerInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetSignerInfoResponse) Reset()
- func (x *GetSignerInfoResponse) String() string
- type GetStateResponse
- type GetTxsRequest
- type GetTxsResponse
- type Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetAppHash() []byte
- func (x *Header) GetChainId() string
- func (x *Header) GetConsensusHash() []byte
- func (x *Header) GetDataHash() []byte
- func (x *Header) GetHeight() uint64
- func (x *Header) GetLastCommitHash() []byte
- func (x *Header) GetLastHeaderHash() []byte
- func (x *Header) GetLastResultsHash() []byte
- func (x *Header) GetProposerAddress() []byte
- func (x *Header) GetTime() uint64
- func (x *Header) GetValidatorHash() []byte
- func (x *Header) GetVersion() *Version
- func (*Header) ProtoMessage()
- func (x *Header) ProtoReflect() protoreflect.Message
- func (x *Header) Reset()
- func (x *Header) String() string
- type HealthStatus
- func (HealthStatus) Descriptor() protoreflect.EnumDescriptor
- func (x HealthStatus) Enum() *HealthStatus
- func (HealthStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x HealthStatus) Number() protoreflect.EnumNumber
- func (x HealthStatus) String() string
- func (HealthStatus) Type() protoreflect.EnumType
- type InitChainRequest
- func (*InitChainRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitChainRequest) GetChainId() string
- func (x *InitChainRequest) GetGenesisTime() *timestamppb.Timestamp
- func (x *InitChainRequest) GetInitialHeight() uint64
- func (*InitChainRequest) ProtoMessage()
- func (x *InitChainRequest) ProtoReflect() protoreflect.Message
- func (x *InitChainRequest) Reset()
- func (x *InitChainRequest) String() string
- type InitChainResponse
- func (*InitChainResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitChainResponse) GetMaxBytes() uint64
- func (x *InitChainResponse) GetStateRoot() []byte
- func (*InitChainResponse) ProtoMessage()
- func (x *InitChainResponse) ProtoReflect() protoreflect.Message
- func (x *InitChainResponse) Reset()
- func (x *InitChainResponse) String() string
- type Metadata
- func (*Metadata) Descriptor() ([]byte, []int)deprecated
- func (x *Metadata) GetChainId() string
- func (x *Metadata) GetHeight() uint64
- func (x *Metadata) GetLastDataHash() []byte
- func (x *Metadata) GetTime() uint64
- func (*Metadata) ProtoMessage()
- func (x *Metadata) ProtoReflect() protoreflect.Message
- func (x *Metadata) Reset()
- func (x *Metadata) String() string
- type NetInfo
- func (*NetInfo) Descriptor() ([]byte, []int)deprecated
- func (x *NetInfo) GetConnectedPeers() []string
- func (x *NetInfo) GetId() string
- func (x *NetInfo) GetListenAddresses() []string
- func (*NetInfo) ProtoMessage()
- func (x *NetInfo) ProtoReflect() protoreflect.Message
- func (x *NetInfo) Reset()
- func (x *NetInfo) String() string
- type PeerInfo
- type SetFinalRequest
- type SetFinalResponse
- type SignRequest
- type SignResponse
- type SignedData
- func (*SignedData) Descriptor() ([]byte, []int)deprecated
- func (x *SignedData) GetData() *Data
- func (x *SignedData) GetSignature() []byte
- func (x *SignedData) GetSigner() *Signer
- func (*SignedData) ProtoMessage()
- func (x *SignedData) ProtoReflect() protoreflect.Message
- func (x *SignedData) Reset()
- func (x *SignedData) String() string
- type SignedHeader
- func (*SignedHeader) Descriptor() ([]byte, []int)deprecated
- func (x *SignedHeader) GetHeader() *Header
- func (x *SignedHeader) GetSignature() []byte
- func (x *SignedHeader) GetSigner() *Signer
- func (*SignedHeader) ProtoMessage()
- func (x *SignedHeader) ProtoReflect() protoreflect.Message
- func (x *SignedHeader) Reset()
- func (x *SignedHeader) String() string
- type Signer
- type State
- func (*State) Descriptor() ([]byte, []int)deprecated
- func (x *State) GetAppHash() []byte
- func (x *State) GetChainId() string
- func (x *State) GetDaHeight() uint64
- func (x *State) GetInitialHeight() uint64
- func (x *State) GetLastBlockHeight() uint64
- func (x *State) GetLastBlockTime() *timestamppb.Timestamp
- func (x *State) GetLastResultsHash() []byte
- func (x *State) GetVersion() *Version
- func (*State) ProtoMessage()
- func (x *State) ProtoReflect() protoreflect.Message
- func (x *State) Reset()
- func (x *State) String() string
- type Version
- type Vote
- func (*Vote) Descriptor() ([]byte, []int)deprecated
- func (x *Vote) GetBlockIdHash() []byte
- func (x *Vote) GetChainId() string
- func (x *Vote) GetHeight() uint64
- func (x *Vote) GetTimestamp() *timestamppb.Timestamp
- func (x *Vote) GetValidatorAddress() []byte
- func (*Vote) ProtoMessage()
- func (x *Vote) ProtoReflect() protoreflect.Message
- func (x *Vote) Reset()
- func (x *Vote) String() string
Constants ¶
This section is empty.
Variables ¶
var ( HealthStatus_name = map[int32]string{ 0: "UNKNOWN", 1: "PASS", 2: "WARN", 3: "FAIL", } HealthStatus_value = map[string]int32{ "UNKNOWN": 0, "PASS": 1, "WARN": 2, "FAIL": 3, } )
Enum value maps for HealthStatus.
var File_evnode_v1_batch_proto protoreflect.FileDescriptor
var File_evnode_v1_config_proto protoreflect.FileDescriptor
var File_evnode_v1_evnode_proto protoreflect.FileDescriptor
var File_evnode_v1_execution_proto protoreflect.FileDescriptor
var File_evnode_v1_health_proto protoreflect.FileDescriptor
var File_evnode_v1_p2p_rpc_proto protoreflect.FileDescriptor
var File_evnode_v1_signer_proto protoreflect.FileDescriptor
var File_evnode_v1_state_proto protoreflect.FileDescriptor
var File_evnode_v1_state_rpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type Batch ¶
type Batch struct {
Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
// contains filtered or unexported fields
}
Batch is a collection of transactions.
func (*Batch) Descriptor
deprecated
func (*Batch) ProtoMessage ¶
func (*Batch) ProtoMessage()
func (*Batch) ProtoReflect ¶
func (x *Batch) ProtoReflect() protoreflect.Message
type Block ¶
type Block struct {
Header *SignedHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Data *Data `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
Block contains all the components of a complete block
func (*Block) Descriptor
deprecated
func (*Block) GetHeader ¶
func (x *Block) GetHeader() *SignedHeader
func (*Block) ProtoMessage ¶
func (*Block) ProtoMessage()
func (*Block) ProtoReflect ¶
func (x *Block) ProtoReflect() protoreflect.Message
type Data ¶
type Data struct {
Metadata *Metadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
Txs [][]byte `protobuf:"bytes,2,rep,name=txs,proto3" json:"txs,omitempty"`
// contains filtered or unexported fields
}
Data is the data of a block in the blockchain.
func (*Data) Descriptor
deprecated
func (*Data) GetMetadata ¶
func (*Data) ProtoMessage ¶
func (*Data) ProtoMessage()
func (*Data) ProtoReflect ¶
func (x *Data) ProtoReflect() protoreflect.Message
type ExecuteTxsRequest ¶
type ExecuteTxsRequest struct {
// Ordered list of transactions to execute
Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
// Height of block being created (must be > 0)
BlockHeight uint64 `protobuf:"varint,2,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
// Block creation time in UTC
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Previous block's state root hash
PrevStateRoot []byte `protobuf:"bytes,4,opt,name=prev_state_root,json=prevStateRoot,proto3" json:"prev_state_root,omitempty"`
// contains filtered or unexported fields
}
ExecuteTxsRequest contains transactions and block context for execution
func (*ExecuteTxsRequest) Descriptor
deprecated
func (*ExecuteTxsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteTxsRequest.ProtoReflect.Descriptor instead.
func (*ExecuteTxsRequest) GetBlockHeight ¶
func (x *ExecuteTxsRequest) GetBlockHeight() uint64
func (*ExecuteTxsRequest) GetPrevStateRoot ¶
func (x *ExecuteTxsRequest) GetPrevStateRoot() []byte
func (*ExecuteTxsRequest) GetTimestamp ¶
func (x *ExecuteTxsRequest) GetTimestamp() *timestamppb.Timestamp
func (*ExecuteTxsRequest) GetTxs ¶
func (x *ExecuteTxsRequest) GetTxs() [][]byte
func (*ExecuteTxsRequest) ProtoMessage ¶
func (*ExecuteTxsRequest) ProtoMessage()
func (*ExecuteTxsRequest) ProtoReflect ¶
func (x *ExecuteTxsRequest) ProtoReflect() protoreflect.Message
func (*ExecuteTxsRequest) Reset ¶
func (x *ExecuteTxsRequest) Reset()
func (*ExecuteTxsRequest) String ¶
func (x *ExecuteTxsRequest) String() string
type ExecuteTxsResponse ¶
type ExecuteTxsResponse struct {
// New state root after executing transactions
UpdatedStateRoot []byte `protobuf:"bytes,1,opt,name=updated_state_root,json=updatedStateRoot,proto3" json:"updated_state_root,omitempty"`
// Maximum allowed transaction size (may change with protocol updates)
MaxBytes uint64 `protobuf:"varint,2,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
// contains filtered or unexported fields
}
ExecuteTxsResponse contains the result of transaction execution
func (*ExecuteTxsResponse) Descriptor
deprecated
func (*ExecuteTxsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecuteTxsResponse.ProtoReflect.Descriptor instead.
func (*ExecuteTxsResponse) GetMaxBytes ¶
func (x *ExecuteTxsResponse) GetMaxBytes() uint64
func (*ExecuteTxsResponse) GetUpdatedStateRoot ¶
func (x *ExecuteTxsResponse) GetUpdatedStateRoot() []byte
func (*ExecuteTxsResponse) ProtoMessage ¶
func (*ExecuteTxsResponse) ProtoMessage()
func (*ExecuteTxsResponse) ProtoReflect ¶
func (x *ExecuteTxsResponse) ProtoReflect() protoreflect.Message
func (*ExecuteTxsResponse) Reset ¶
func (x *ExecuteTxsResponse) Reset()
func (*ExecuteTxsResponse) String ¶
func (x *ExecuteTxsResponse) String() string
type GetBlockRequest ¶
type GetBlockRequest struct {
// The height or hash of the block to retrieve
//
// Types that are valid to be assigned to Identifier:
//
// *GetBlockRequest_Height
// *GetBlockRequest_Hash
Identifier isGetBlockRequest_Identifier `protobuf_oneof:"identifier"`
// contains filtered or unexported fields
}
GetBlockRequest defines the request for retrieving a block
func (*GetBlockRequest) Descriptor
deprecated
func (*GetBlockRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockRequest.ProtoReflect.Descriptor instead.
func (*GetBlockRequest) GetHash ¶
func (x *GetBlockRequest) GetHash() []byte
func (*GetBlockRequest) GetHeight ¶
func (x *GetBlockRequest) GetHeight() uint64
func (*GetBlockRequest) GetIdentifier ¶
func (x *GetBlockRequest) GetIdentifier() isGetBlockRequest_Identifier
func (*GetBlockRequest) ProtoMessage ¶
func (*GetBlockRequest) ProtoMessage()
func (*GetBlockRequest) ProtoReflect ¶
func (x *GetBlockRequest) ProtoReflect() protoreflect.Message
func (*GetBlockRequest) Reset ¶
func (x *GetBlockRequest) Reset()
func (*GetBlockRequest) String ¶
func (x *GetBlockRequest) String() string
type GetBlockRequest_Hash ¶
type GetBlockRequest_Hash struct {
Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3,oneof"`
}
type GetBlockRequest_Height ¶
type GetBlockRequest_Height struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3,oneof"`
}
type GetBlockResponse ¶
type GetBlockResponse struct {
Block *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
HeaderDaHeight uint64 `protobuf:"varint,2,opt,name=header_da_height,json=headerDaHeight,proto3" json:"header_da_height,omitempty"`
DataDaHeight uint64 `protobuf:"varint,3,opt,name=data_da_height,json=dataDaHeight,proto3" json:"data_da_height,omitempty"`
// contains filtered or unexported fields
}
GetBlockResponse defines the response for retrieving a block
func (*GetBlockResponse) Descriptor
deprecated
func (*GetBlockResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetBlockResponse.ProtoReflect.Descriptor instead.
func (*GetBlockResponse) GetBlock ¶
func (x *GetBlockResponse) GetBlock() *Block
func (*GetBlockResponse) GetDataDaHeight ¶
func (x *GetBlockResponse) GetDataDaHeight() uint64
func (*GetBlockResponse) GetHeaderDaHeight ¶
func (x *GetBlockResponse) GetHeaderDaHeight() uint64
func (*GetBlockResponse) ProtoMessage ¶
func (*GetBlockResponse) ProtoMessage()
func (*GetBlockResponse) ProtoReflect ¶
func (x *GetBlockResponse) ProtoReflect() protoreflect.Message
func (*GetBlockResponse) Reset ¶
func (x *GetBlockResponse) Reset()
func (*GetBlockResponse) String ¶
func (x *GetBlockResponse) String() string
type GetGenesisDaHeightResponse ¶
type GetGenesisDaHeightResponse struct {
Height uint64 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"`
// contains filtered or unexported fields
}
GetGenesisDaHeightResponse defines the DA height at which the first Evolve block was included.
func (*GetGenesisDaHeightResponse) Descriptor
deprecated
func (*GetGenesisDaHeightResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetGenesisDaHeightResponse.ProtoReflect.Descriptor instead.
func (*GetGenesisDaHeightResponse) GetHeight ¶
func (x *GetGenesisDaHeightResponse) GetHeight() uint64
func (*GetGenesisDaHeightResponse) ProtoMessage ¶
func (*GetGenesisDaHeightResponse) ProtoMessage()
func (*GetGenesisDaHeightResponse) ProtoReflect ¶
func (x *GetGenesisDaHeightResponse) ProtoReflect() protoreflect.Message
func (*GetGenesisDaHeightResponse) Reset ¶
func (x *GetGenesisDaHeightResponse) Reset()
func (*GetGenesisDaHeightResponse) String ¶
func (x *GetGenesisDaHeightResponse) String() string
type GetHealthResponse ¶
type GetHealthResponse struct {
// Health status
Status HealthStatus `protobuf:"varint,1,opt,name=status,proto3,enum=evnode.v1.HealthStatus" json:"status,omitempty"`
// contains filtered or unexported fields
}
GetHealthResponse defines the response for retrieving health status
func (*GetHealthResponse) Descriptor
deprecated
func (*GetHealthResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHealthResponse.ProtoReflect.Descriptor instead.
func (*GetHealthResponse) GetStatus ¶
func (x *GetHealthResponse) GetStatus() HealthStatus
func (*GetHealthResponse) ProtoMessage ¶
func (*GetHealthResponse) ProtoMessage()
func (*GetHealthResponse) ProtoReflect ¶
func (x *GetHealthResponse) ProtoReflect() protoreflect.Message
func (*GetHealthResponse) Reset ¶
func (x *GetHealthResponse) Reset()
func (*GetHealthResponse) String ¶
func (x *GetHealthResponse) String() string
type GetMetadataRequest ¶
type GetMetadataRequest struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
// contains filtered or unexported fields
}
GetMetadataRequest defines the request for retrieving metadata by key
func (*GetMetadataRequest) Descriptor
deprecated
func (*GetMetadataRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetMetadataRequest) GetKey ¶
func (x *GetMetadataRequest) GetKey() string
func (*GetMetadataRequest) ProtoMessage ¶
func (*GetMetadataRequest) ProtoMessage()
func (*GetMetadataRequest) ProtoReflect ¶
func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message
func (*GetMetadataRequest) Reset ¶
func (x *GetMetadataRequest) Reset()
func (*GetMetadataRequest) String ¶
func (x *GetMetadataRequest) String() string
type GetMetadataResponse ¶
type GetMetadataResponse struct {
Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
GetMetadataResponse defines the response for retrieving metadata
func (*GetMetadataResponse) Descriptor
deprecated
func (*GetMetadataResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetMetadataResponse) GetValue ¶
func (x *GetMetadataResponse) GetValue() []byte
func (*GetMetadataResponse) ProtoMessage ¶
func (*GetMetadataResponse) ProtoMessage()
func (*GetMetadataResponse) ProtoReflect ¶
func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message
func (*GetMetadataResponse) Reset ¶
func (x *GetMetadataResponse) Reset()
func (*GetMetadataResponse) String ¶
func (x *GetMetadataResponse) String() string
type GetNamespaceResponse ¶
type GetNamespaceResponse struct {
HeaderNamespace string `protobuf:"bytes,1,opt,name=header_namespace,json=headerNamespace,proto3" json:"header_namespace,omitempty"`
DataNamespace string `protobuf:"bytes,2,opt,name=data_namespace,json=dataNamespace,proto3" json:"data_namespace,omitempty"`
// contains filtered or unexported fields
}
GetNamespaceResponse returns the namespace for this network
func (*GetNamespaceResponse) Descriptor
deprecated
func (*GetNamespaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNamespaceResponse.ProtoReflect.Descriptor instead.
func (*GetNamespaceResponse) GetDataNamespace ¶
func (x *GetNamespaceResponse) GetDataNamespace() string
func (*GetNamespaceResponse) GetHeaderNamespace ¶
func (x *GetNamespaceResponse) GetHeaderNamespace() string
func (*GetNamespaceResponse) ProtoMessage ¶
func (*GetNamespaceResponse) ProtoMessage()
func (*GetNamespaceResponse) ProtoReflect ¶
func (x *GetNamespaceResponse) ProtoReflect() protoreflect.Message
func (*GetNamespaceResponse) Reset ¶
func (x *GetNamespaceResponse) Reset()
func (*GetNamespaceResponse) String ¶
func (x *GetNamespaceResponse) String() string
type GetNetInfoResponse ¶
type GetNetInfoResponse struct {
// Network information
NetInfo *NetInfo `protobuf:"bytes,1,opt,name=net_info,json=netInfo,proto3" json:"net_info,omitempty"`
// contains filtered or unexported fields
}
GetNetInfoResponse defines the response for retrieving network information
func (*GetNetInfoResponse) Descriptor
deprecated
func (*GetNetInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetNetInfoResponse.ProtoReflect.Descriptor instead.
func (*GetNetInfoResponse) GetNetInfo ¶
func (x *GetNetInfoResponse) GetNetInfo() *NetInfo
func (*GetNetInfoResponse) ProtoMessage ¶
func (*GetNetInfoResponse) ProtoMessage()
func (*GetNetInfoResponse) ProtoReflect ¶
func (x *GetNetInfoResponse) ProtoReflect() protoreflect.Message
func (*GetNetInfoResponse) Reset ¶
func (x *GetNetInfoResponse) Reset()
func (*GetNetInfoResponse) String ¶
func (x *GetNetInfoResponse) String() string
type GetPeerInfoResponse ¶
type GetPeerInfoResponse struct {
// List of connected peers
Peers []*PeerInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
// contains filtered or unexported fields
}
GetPeerInfoResponse defines the response for retrieving peer information
func (*GetPeerInfoResponse) Descriptor
deprecated
func (*GetPeerInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPeerInfoResponse.ProtoReflect.Descriptor instead.
func (*GetPeerInfoResponse) GetPeers ¶
func (x *GetPeerInfoResponse) GetPeers() []*PeerInfo
func (*GetPeerInfoResponse) ProtoMessage ¶
func (*GetPeerInfoResponse) ProtoMessage()
func (*GetPeerInfoResponse) ProtoReflect ¶
func (x *GetPeerInfoResponse) ProtoReflect() protoreflect.Message
func (*GetPeerInfoResponse) Reset ¶
func (x *GetPeerInfoResponse) Reset()
func (*GetPeerInfoResponse) String ¶
func (x *GetPeerInfoResponse) String() string
type GetPublicRequest ¶
type GetPublicRequest struct {
// contains filtered or unexported fields
}
The GetPublicRequest is an empty request.
func (*GetPublicRequest) Descriptor
deprecated
func (*GetPublicRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicRequest.ProtoReflect.Descriptor instead.
func (*GetPublicRequest) ProtoMessage ¶
func (*GetPublicRequest) ProtoMessage()
func (*GetPublicRequest) ProtoReflect ¶
func (x *GetPublicRequest) ProtoReflect() protoreflect.Message
func (*GetPublicRequest) Reset ¶
func (x *GetPublicRequest) Reset()
func (*GetPublicRequest) String ¶
func (x *GetPublicRequest) String() string
type GetPublicResponse ¶
type GetPublicResponse struct {
PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
// contains filtered or unexported fields
}
The GetPublicResponse returns the public key.
func (*GetPublicResponse) Descriptor
deprecated
func (*GetPublicResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPublicResponse.ProtoReflect.Descriptor instead.
func (*GetPublicResponse) GetPublicKey ¶
func (x *GetPublicResponse) GetPublicKey() []byte
func (*GetPublicResponse) ProtoMessage ¶
func (*GetPublicResponse) ProtoMessage()
func (*GetPublicResponse) ProtoReflect ¶
func (x *GetPublicResponse) ProtoReflect() protoreflect.Message
func (*GetPublicResponse) Reset ¶
func (x *GetPublicResponse) Reset()
func (*GetPublicResponse) String ¶
func (x *GetPublicResponse) String() string
type GetSignerInfoResponse ¶
type GetSignerInfoResponse struct {
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
GetSignerInfoResponse returns information about the signer
func (*GetSignerInfoResponse) Descriptor
deprecated
func (*GetSignerInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSignerInfoResponse.ProtoReflect.Descriptor instead.
func (*GetSignerInfoResponse) GetAddress ¶
func (x *GetSignerInfoResponse) GetAddress() []byte
func (*GetSignerInfoResponse) ProtoMessage ¶
func (*GetSignerInfoResponse) ProtoMessage()
func (*GetSignerInfoResponse) ProtoReflect ¶
func (x *GetSignerInfoResponse) ProtoReflect() protoreflect.Message
func (*GetSignerInfoResponse) Reset ¶
func (x *GetSignerInfoResponse) Reset()
func (*GetSignerInfoResponse) String ¶
func (x *GetSignerInfoResponse) String() string
type GetStateResponse ¶
type GetStateResponse struct {
State *State `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
// contains filtered or unexported fields
}
GetStateResponse defines the response for retrieving the current state
func (*GetStateResponse) Descriptor
deprecated
func (*GetStateResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetStateResponse.ProtoReflect.Descriptor instead.
func (*GetStateResponse) GetState ¶
func (x *GetStateResponse) GetState() *State
func (*GetStateResponse) ProtoMessage ¶
func (*GetStateResponse) ProtoMessage()
func (*GetStateResponse) ProtoReflect ¶
func (x *GetStateResponse) ProtoReflect() protoreflect.Message
func (*GetStateResponse) Reset ¶
func (x *GetStateResponse) Reset()
func (*GetStateResponse) String ¶
func (x *GetStateResponse) String() string
type GetTxsRequest ¶
type GetTxsRequest struct {
// contains filtered or unexported fields
}
GetTxsRequest is the request for fetching transactions
func (*GetTxsRequest) Descriptor
deprecated
func (*GetTxsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTxsRequest.ProtoReflect.Descriptor instead.
func (*GetTxsRequest) ProtoMessage ¶
func (*GetTxsRequest) ProtoMessage()
func (*GetTxsRequest) ProtoReflect ¶
func (x *GetTxsRequest) ProtoReflect() protoreflect.Message
func (*GetTxsRequest) Reset ¶
func (x *GetTxsRequest) Reset()
func (*GetTxsRequest) String ¶
func (x *GetTxsRequest) String() string
type GetTxsResponse ¶
type GetTxsResponse struct {
// Slice of valid transactions from mempool
Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
// contains filtered or unexported fields
}
GetTxsResponse contains the available transactions
func (*GetTxsResponse) Descriptor
deprecated
func (*GetTxsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTxsResponse.ProtoReflect.Descriptor instead.
func (*GetTxsResponse) GetTxs ¶
func (x *GetTxsResponse) GetTxs() [][]byte
func (*GetTxsResponse) ProtoMessage ¶
func (*GetTxsResponse) ProtoMessage()
func (*GetTxsResponse) ProtoReflect ¶
func (x *GetTxsResponse) ProtoReflect() protoreflect.Message
func (*GetTxsResponse) Reset ¶
func (x *GetTxsResponse) Reset()
func (*GetTxsResponse) String ¶
func (x *GetTxsResponse) String() string
type Header ¶
type Header struct {
// Block and App version
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
// Block height
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
// Block creation time
Time uint64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
// Previous block info
LastHeaderHash []byte `protobuf:"bytes,4,opt,name=last_header_hash,json=lastHeaderHash,proto3" json:"last_header_hash,omitempty"`
// Commit from aggregator(s) from the last block
LastCommitHash []byte `protobuf:"bytes,5,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
// Block.Data root aka Transactions
DataHash []byte `protobuf:"bytes,6,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
// Consensus params for current block
ConsensusHash []byte `protobuf:"bytes,7,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"`
// State after applying txs from the current block
AppHash []byte `protobuf:"bytes,8,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
// Root hash of all results from the txs from the previous block.
// This is ABCI specific but smart-contract chains require some way of committing
// to transaction receipts/results.
LastResultsHash []byte `protobuf:"bytes,9,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
// Original proposer of the block
// Note that the address can be derived from the pubkey which can be derived
// from the signature when using secp256k.
// We keep this in case users choose another signature format where the
// pubkey can't be recovered by the signature (e.g. ed25519).
ProposerAddress []byte `protobuf:"bytes,10,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
// validatorhash for compatibility with tendermint light client.
ValidatorHash []byte `protobuf:"bytes,11,opt,name=validator_hash,json=validatorHash,proto3" json:"validator_hash,omitempty"`
// Chain ID the block belongs to
ChainId string `protobuf:"bytes,12,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// contains filtered or unexported fields
}
Header is the header of a block in the blockchain.
func (*Header) Descriptor
deprecated
func (*Header) GetAppHash ¶
func (*Header) GetChainId ¶
func (*Header) GetConsensusHash ¶
func (*Header) GetDataHash ¶
func (*Header) GetLastCommitHash ¶
func (*Header) GetLastHeaderHash ¶
func (*Header) GetLastResultsHash ¶
func (*Header) GetProposerAddress ¶
func (*Header) GetValidatorHash ¶
func (*Header) GetVersion ¶
func (*Header) ProtoMessage ¶
func (*Header) ProtoMessage()
func (*Header) ProtoReflect ¶
func (x *Header) ProtoReflect() protoreflect.Message
type HealthStatus ¶
type HealthStatus int32
HealthStatus defines the health status of the node
const ( // Unknown health status HealthStatus_UNKNOWN HealthStatus = 0 // Healthy status (Healthy) HealthStatus_PASS HealthStatus = 1 // Degraded but still serving HealthStatus_WARN HealthStatus = 2 // Hard fail HealthStatus_FAIL HealthStatus = 3 )
func (HealthStatus) Descriptor ¶
func (HealthStatus) Descriptor() protoreflect.EnumDescriptor
func (HealthStatus) Enum ¶
func (x HealthStatus) Enum() *HealthStatus
func (HealthStatus) EnumDescriptor
deprecated
func (HealthStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use HealthStatus.Descriptor instead.
func (HealthStatus) Number ¶
func (x HealthStatus) Number() protoreflect.EnumNumber
func (HealthStatus) String ¶
func (x HealthStatus) String() string
func (HealthStatus) Type ¶
func (HealthStatus) Type() protoreflect.EnumType
type InitChainRequest ¶
type InitChainRequest struct {
// Timestamp marking chain start time in UTC
GenesisTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"`
// First block height (must be > 0)
InitialHeight uint64 `protobuf:"varint,2,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
// Unique identifier string for the blockchain
ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// contains filtered or unexported fields
}
InitChainRequest contains the genesis parameters for chain initialization
func (*InitChainRequest) Descriptor
deprecated
func (*InitChainRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitChainRequest.ProtoReflect.Descriptor instead.
func (*InitChainRequest) GetChainId ¶
func (x *InitChainRequest) GetChainId() string
func (*InitChainRequest) GetGenesisTime ¶
func (x *InitChainRequest) GetGenesisTime() *timestamppb.Timestamp
func (*InitChainRequest) GetInitialHeight ¶
func (x *InitChainRequest) GetInitialHeight() uint64
func (*InitChainRequest) ProtoMessage ¶
func (*InitChainRequest) ProtoMessage()
func (*InitChainRequest) ProtoReflect ¶
func (x *InitChainRequest) ProtoReflect() protoreflect.Message
func (*InitChainRequest) Reset ¶
func (x *InitChainRequest) Reset()
func (*InitChainRequest) String ¶
func (x *InitChainRequest) String() string
type InitChainResponse ¶
type InitChainResponse struct {
// Hash representing initial state
StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
// Maximum allowed bytes for transactions in a block
MaxBytes uint64 `protobuf:"varint,2,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
// contains filtered or unexported fields
}
InitChainResponse contains the initial state and configuration
func (*InitChainResponse) Descriptor
deprecated
func (*InitChainResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitChainResponse.ProtoReflect.Descriptor instead.
func (*InitChainResponse) GetMaxBytes ¶
func (x *InitChainResponse) GetMaxBytes() uint64
func (*InitChainResponse) GetStateRoot ¶
func (x *InitChainResponse) GetStateRoot() []byte
func (*InitChainResponse) ProtoMessage ¶
func (*InitChainResponse) ProtoMessage()
func (*InitChainResponse) ProtoReflect ¶
func (x *InitChainResponse) ProtoReflect() protoreflect.Message
func (*InitChainResponse) Reset ¶
func (x *InitChainResponse) Reset()
func (*InitChainResponse) String ¶
func (x *InitChainResponse) String() string
type Metadata ¶
type Metadata struct {
// chain id
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// Block height
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
// Block creation time
Time uint64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
// Previous block info
LastDataHash []byte `protobuf:"bytes,4,opt,name=last_data_hash,json=lastDataHash,proto3" json:"last_data_hash,omitempty"`
// contains filtered or unexported fields
}
Metadata is the metadata of a block in the blockchain.
func (*Metadata) Descriptor
deprecated
func (*Metadata) GetChainId ¶
func (*Metadata) GetLastDataHash ¶
func (*Metadata) ProtoMessage ¶
func (*Metadata) ProtoMessage()
func (*Metadata) ProtoReflect ¶
func (x *Metadata) ProtoReflect() protoreflect.Message
type NetInfo ¶
type NetInfo struct {
// Network ID
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Listen address
ListenAddresses []string `protobuf:"bytes,2,rep,name=listen_addresses,json=listenAddresses,proto3" json:"listen_addresses,omitempty"`
// List of connected peers
ConnectedPeers []string `protobuf:"bytes,3,rep,name=connected_peers,json=connectedPeers,proto3" json:"connected_peers,omitempty"`
// contains filtered or unexported fields
}
NetInfo contains information about the network
func (*NetInfo) Descriptor
deprecated
func (*NetInfo) GetConnectedPeers ¶
func (*NetInfo) GetListenAddresses ¶
func (*NetInfo) ProtoMessage ¶
func (*NetInfo) ProtoMessage()
func (*NetInfo) ProtoReflect ¶
func (x *NetInfo) ProtoReflect() protoreflect.Message
type PeerInfo ¶
type PeerInfo struct {
// Peer ID
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Peer address
Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
// contains filtered or unexported fields
}
PeerInfo contains information about a connected peer
func (*PeerInfo) Descriptor
deprecated
func (*PeerInfo) GetAddress ¶
func (*PeerInfo) ProtoMessage ¶
func (*PeerInfo) ProtoMessage()
func (*PeerInfo) ProtoReflect ¶
func (x *PeerInfo) ProtoReflect() protoreflect.Message
type SetFinalRequest ¶
type SetFinalRequest struct {
// Height of block to finalize
BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
// contains filtered or unexported fields
}
SetFinalRequest marks a block as finalized
func (*SetFinalRequest) Descriptor
deprecated
func (*SetFinalRequest) Descriptor() ([]byte, []int)
Deprecated: Use SetFinalRequest.ProtoReflect.Descriptor instead.
func (*SetFinalRequest) GetBlockHeight ¶
func (x *SetFinalRequest) GetBlockHeight() uint64
func (*SetFinalRequest) ProtoMessage ¶
func (*SetFinalRequest) ProtoMessage()
func (*SetFinalRequest) ProtoReflect ¶
func (x *SetFinalRequest) ProtoReflect() protoreflect.Message
func (*SetFinalRequest) Reset ¶
func (x *SetFinalRequest) Reset()
func (*SetFinalRequest) String ¶
func (x *SetFinalRequest) String() string
type SetFinalResponse ¶
type SetFinalResponse struct {
// contains filtered or unexported fields
}
SetFinalResponse indicates whether finalization was successful
func (*SetFinalResponse) Descriptor
deprecated
func (*SetFinalResponse) Descriptor() ([]byte, []int)
Deprecated: Use SetFinalResponse.ProtoReflect.Descriptor instead.
func (*SetFinalResponse) ProtoMessage ¶
func (*SetFinalResponse) ProtoMessage()
func (*SetFinalResponse) ProtoReflect ¶
func (x *SetFinalResponse) ProtoReflect() protoreflect.Message
func (*SetFinalResponse) Reset ¶
func (x *SetFinalResponse) Reset()
func (*SetFinalResponse) String ¶
func (x *SetFinalResponse) String() string
type SignRequest ¶
type SignRequest struct {
Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// contains filtered or unexported fields
}
The SignRequest holds the bytes we want to sign.
func (*SignRequest) Descriptor
deprecated
func (*SignRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignRequest.ProtoReflect.Descriptor instead.
func (*SignRequest) GetMessage ¶
func (x *SignRequest) GetMessage() []byte
func (*SignRequest) ProtoMessage ¶
func (*SignRequest) ProtoMessage()
func (*SignRequest) ProtoReflect ¶
func (x *SignRequest) ProtoReflect() protoreflect.Message
func (*SignRequest) Reset ¶
func (x *SignRequest) Reset()
func (*SignRequest) String ¶
func (x *SignRequest) String() string
type SignResponse ¶
type SignResponse struct {
Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
// contains filtered or unexported fields
}
The SignResponse returns the signature bytes.
func (*SignResponse) Descriptor
deprecated
func (*SignResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignResponse.ProtoReflect.Descriptor instead.
func (*SignResponse) GetSignature ¶
func (x *SignResponse) GetSignature() []byte
func (*SignResponse) ProtoMessage ¶
func (*SignResponse) ProtoMessage()
func (*SignResponse) ProtoReflect ¶
func (x *SignResponse) ProtoReflect() protoreflect.Message
func (*SignResponse) Reset ¶
func (x *SignResponse) Reset()
func (*SignResponse) String ¶
func (x *SignResponse) String() string
type SignedData ¶
type SignedData struct {
Data *Data `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
Signer *Signer `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
// contains filtered or unexported fields
}
SignedData is a data with a signature and a signer.
func (*SignedData) Descriptor
deprecated
func (*SignedData) Descriptor() ([]byte, []int)
Deprecated: Use SignedData.ProtoReflect.Descriptor instead.
func (*SignedData) GetData ¶
func (x *SignedData) GetData() *Data
func (*SignedData) GetSignature ¶
func (x *SignedData) GetSignature() []byte
func (*SignedData) GetSigner ¶
func (x *SignedData) GetSigner() *Signer
func (*SignedData) ProtoMessage ¶
func (*SignedData) ProtoMessage()
func (*SignedData) ProtoReflect ¶
func (x *SignedData) ProtoReflect() protoreflect.Message
func (*SignedData) Reset ¶
func (x *SignedData) Reset()
func (*SignedData) String ¶
func (x *SignedData) String() string
type SignedHeader ¶
type SignedHeader struct {
Header *Header `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
Signer *Signer `protobuf:"bytes,3,opt,name=signer,proto3" json:"signer,omitempty"`
// contains filtered or unexported fields
}
SignedHeader is a header with a signature and a signer.
func (*SignedHeader) Descriptor
deprecated
func (*SignedHeader) Descriptor() ([]byte, []int)
Deprecated: Use SignedHeader.ProtoReflect.Descriptor instead.
func (*SignedHeader) GetHeader ¶
func (x *SignedHeader) GetHeader() *Header
func (*SignedHeader) GetSignature ¶
func (x *SignedHeader) GetSignature() []byte
func (*SignedHeader) GetSigner ¶
func (x *SignedHeader) GetSigner() *Signer
func (*SignedHeader) ProtoMessage ¶
func (*SignedHeader) ProtoMessage()
func (*SignedHeader) ProtoReflect ¶
func (x *SignedHeader) ProtoReflect() protoreflect.Message
func (*SignedHeader) Reset ¶
func (x *SignedHeader) Reset()
func (*SignedHeader) String ¶
func (x *SignedHeader) String() string
type Signer ¶
type Signer struct {
// Address of the signer
Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
// Public key of the signer
PubKey []byte `protobuf:"bytes,2,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
// contains filtered or unexported fields
}
Signer is a signer of a block in the blockchain.
func (*Signer) Descriptor
deprecated
func (*Signer) GetAddress ¶
func (*Signer) ProtoMessage ¶
func (*Signer) ProtoMessage()
func (*Signer) ProtoReflect ¶
func (x *Signer) ProtoReflect() protoreflect.Message
type State ¶
type State struct {
Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
ChainId string `protobuf:"bytes,2,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
InitialHeight uint64 `protobuf:"varint,3,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
LastBlockHeight uint64 `protobuf:"varint,4,opt,name=last_block_height,json=lastBlockHeight,proto3" json:"last_block_height,omitempty"`
LastBlockTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=last_block_time,json=lastBlockTime,proto3" json:"last_block_time,omitempty"`
DaHeight uint64 `protobuf:"varint,6,opt,name=da_height,json=daHeight,proto3" json:"da_height,omitempty"`
LastResultsHash []byte `protobuf:"bytes,7,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
AppHash []byte `protobuf:"bytes,8,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
// contains filtered or unexported fields
}
State is the state of the blockchain.
func (*State) Descriptor
deprecated
func (*State) GetAppHash ¶
func (*State) GetChainId ¶
func (*State) GetDaHeight ¶
func (*State) GetInitialHeight ¶
func (*State) GetLastBlockHeight ¶
func (*State) GetLastBlockTime ¶
func (x *State) GetLastBlockTime() *timestamppb.Timestamp
func (*State) GetLastResultsHash ¶
func (*State) GetVersion ¶
func (*State) ProtoMessage ¶
func (*State) ProtoMessage()
func (*State) ProtoReflect ¶
func (x *State) ProtoReflect() protoreflect.Message
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"`
// contains filtered or unexported fields
}
Version captures the consensus rules for processing a block in the blockchain, including all blockchain data structures and the rules of the application's state transition machine. This is equivalent to the tmversion.Consensus type in Tendermint.
func (*Version) Descriptor
deprecated
func (*Version) ProtoMessage ¶
func (*Version) ProtoMessage()
func (*Version) ProtoReflect ¶
func (x *Version) ProtoReflect() protoreflect.Message
type Vote ¶
type Vote struct {
// Chain ID
ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
// Block height
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
// Timestamp
Timestamp *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
// Block ID hash
BlockIdHash []byte `protobuf:"bytes,4,opt,name=block_id_hash,json=blockIdHash,proto3" json:"block_id_hash,omitempty"`
// Validator address
ValidatorAddress []byte `protobuf:"bytes,5,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
// contains filtered or unexported fields
}
Vote is a vote for a block in the blockchain.
func (*Vote) Descriptor
deprecated
func (*Vote) GetBlockIdHash ¶
func (*Vote) GetChainId ¶
func (*Vote) GetTimestamp ¶
func (x *Vote) GetTimestamp() *timestamppb.Timestamp
func (*Vote) GetValidatorAddress ¶
func (*Vote) ProtoMessage ¶
func (*Vote) ProtoMessage()
func (*Vote) ProtoReflect ¶
func (x *Vote) ProtoReflect() protoreflect.Message