Documentation
¶
Index ¶
- Variables
- type Batch
- type Block
- type BlockData
- func (*BlockData) Descriptor() ([]byte, []int)deprecated
- func (x *BlockData) GetBlobs() [][]byte
- func (x *BlockData) GetHeight() uint64
- func (x *BlockData) GetTimestamp() int64
- func (*BlockData) ProtoMessage()
- func (x *BlockData) ProtoReflect() protoreflect.Message
- func (x *BlockData) Reset()
- func (x *BlockData) String() string
- type DAHeaderEnvelope
- func (*DAHeaderEnvelope) Descriptor() ([]byte, []int)deprecated
- func (x *DAHeaderEnvelope) GetEnvelopeSignature() []byte
- func (x *DAHeaderEnvelope) GetHeader() *Header
- func (x *DAHeaderEnvelope) GetSignature() []byte
- func (x *DAHeaderEnvelope) GetSigner() *Signer
- func (*DAHeaderEnvelope) ProtoMessage()
- func (x *DAHeaderEnvelope) ProtoReflect() protoreflect.Message
- func (x *DAHeaderEnvelope) Reset()
- func (x *DAHeaderEnvelope) String() string
- type Data
- 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 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 GetP2PStoreInfoResponse
- func (*GetP2PStoreInfoResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetP2PStoreInfoResponse) GetStores() []*P2PStoreSnapshot
- func (*GetP2PStoreInfoResponse) ProtoMessage()
- func (x *GetP2PStoreInfoResponse) ProtoReflect() protoreflect.Message
- func (x *GetP2PStoreInfoResponse) Reset()
- func (x *GetP2PStoreInfoResponse) 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 Header
- func (*Header) Descriptor() ([]byte, []int)deprecated
- func (x *Header) GetAppHash() []byte
- func (x *Header) GetChainId() string
- func (x *Header) GetDataHash() []byte
- func (x *Header) GetHeight() uint64
- func (x *Header) GetLastHeaderHash() []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 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 P2PData
- func (*P2PData) Descriptor() ([]byte, []int)deprecated
- func (x *P2PData) GetDaHeightHint() uint64
- func (x *P2PData) GetMetadata() *Metadata
- func (x *P2PData) GetTxs() [][]byte
- func (*P2PData) ProtoMessage()
- func (x *P2PData) ProtoReflect() protoreflect.Message
- func (x *P2PData) Reset()
- func (x *P2PData) String() string
- type P2PSignedHeader
- func (*P2PSignedHeader) Descriptor() ([]byte, []int)deprecated
- func (x *P2PSignedHeader) GetDaHeightHint() uint64
- func (x *P2PSignedHeader) GetHeader() *Header
- func (x *P2PSignedHeader) GetSignature() []byte
- func (x *P2PSignedHeader) GetSigner() *Signer
- func (*P2PSignedHeader) ProtoMessage()
- func (x *P2PSignedHeader) ProtoReflect() protoreflect.Message
- func (x *P2PSignedHeader) Reset()
- func (x *P2PSignedHeader) String() string
- type P2PStoreEntry
- func (*P2PStoreEntry) Descriptor() ([]byte, []int)deprecated
- func (x *P2PStoreEntry) GetHash() []byte
- func (x *P2PStoreEntry) GetHeight() uint64
- func (x *P2PStoreEntry) GetTime() *timestamppb.Timestamp
- func (*P2PStoreEntry) ProtoMessage()
- func (x *P2PStoreEntry) ProtoReflect() protoreflect.Message
- func (x *P2PStoreEntry) Reset()
- func (x *P2PStoreEntry) String() string
- type P2PStoreSnapshot
- func (*P2PStoreSnapshot) Descriptor() ([]byte, []int)deprecated
- func (x *P2PStoreSnapshot) GetHead() *P2PStoreEntry
- func (x *P2PStoreSnapshot) GetHeight() uint64
- func (x *P2PStoreSnapshot) GetLabel() string
- func (x *P2PStoreSnapshot) GetTail() *P2PStoreEntry
- func (*P2PStoreSnapshot) ProtoMessage()
- func (x *P2PStoreSnapshot) ProtoReflect() protoreflect.Message
- func (x *P2PStoreSnapshot) Reset()
- func (x *P2PStoreSnapshot) String() string
- type PeerInfo
- type RaftBlockState
- func (*RaftBlockState) Descriptor() ([]byte, []int)deprecated
- func (x *RaftBlockState) GetData() []byte
- func (x *RaftBlockState) GetHash() []byte
- func (x *RaftBlockState) GetHeader() []byte
- func (x *RaftBlockState) GetHeight() uint64
- func (x *RaftBlockState) GetLastSubmittedDaDataHeight() uint64
- func (x *RaftBlockState) GetLastSubmittedDaHeaderHeight() uint64
- func (x *RaftBlockState) GetTimestamp() uint64
- func (*RaftBlockState) ProtoMessage()
- func (x *RaftBlockState) ProtoReflect() protoreflect.Message
- func (x *RaftBlockState) Reset()
- func (x *RaftBlockState) String() string
- type SequencerDACheckpoint
- func (*SequencerDACheckpoint) Descriptor() ([]byte, []int)deprecated
- func (x *SequencerDACheckpoint) GetDaHeight() uint64
- func (x *SequencerDACheckpoint) GetTxIndex() uint64
- func (*SequencerDACheckpoint) ProtoMessage()
- func (x *SequencerDACheckpoint) ProtoReflect() protoreflect.Message
- func (x *SequencerDACheckpoint) Reset()
- func (x *SequencerDACheckpoint) String() string
- 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) GetLastHeaderHash() []byte
- func (x *State) GetNextProposerAddress() []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 File_evnode_v1_batch_proto protoreflect.FileDescriptor
var File_evnode_v1_config_proto protoreflect.FileDescriptor
var File_evnode_v1_da_proto protoreflect.FileDescriptor
var File_evnode_v1_evnode_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 BlockData ¶
type BlockData struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Timestamp int64 `protobuf:"varint,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // Unix timestamp in nanoseconds
Blobs [][]byte `protobuf:"bytes,3,rep,name=blobs,proto3" json:"blobs,omitempty"`
// contains filtered or unexported fields
}
BlockData contains data retrieved from a single DA height.
func (*BlockData) Descriptor
deprecated
func (*BlockData) GetTimestamp ¶
func (*BlockData) ProtoMessage ¶
func (*BlockData) ProtoMessage()
func (*BlockData) ProtoReflect ¶
func (x *BlockData) ProtoReflect() protoreflect.Message
type DAHeaderEnvelope ¶
type DAHeaderEnvelope 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"`
EnvelopeSignature []byte `protobuf:"bytes,4,opt,name=envelope_signature,json=envelopeSignature,proto3" json:"envelope_signature,omitempty"`
// contains filtered or unexported fields
}
DAHeaderEnvelope is a wrapper around SignedHeader for DA submission. It is binary compatible with SignedHeader (fields 1-3) but adds an envelope signature.
func (*DAHeaderEnvelope) Descriptor
deprecated
func (*DAHeaderEnvelope) Descriptor() ([]byte, []int)
Deprecated: Use DAHeaderEnvelope.ProtoReflect.Descriptor instead.
func (*DAHeaderEnvelope) GetEnvelopeSignature ¶
func (x *DAHeaderEnvelope) GetEnvelopeSignature() []byte
func (*DAHeaderEnvelope) GetHeader ¶
func (x *DAHeaderEnvelope) GetHeader() *Header
func (*DAHeaderEnvelope) GetSignature ¶
func (x *DAHeaderEnvelope) GetSignature() []byte
func (*DAHeaderEnvelope) GetSigner ¶
func (x *DAHeaderEnvelope) GetSigner() *Signer
func (*DAHeaderEnvelope) ProtoMessage ¶
func (*DAHeaderEnvelope) ProtoMessage()
func (*DAHeaderEnvelope) ProtoReflect ¶
func (x *DAHeaderEnvelope) ProtoReflect() protoreflect.Message
func (*DAHeaderEnvelope) Reset ¶
func (x *DAHeaderEnvelope) Reset()
func (*DAHeaderEnvelope) String ¶
func (x *DAHeaderEnvelope) String() string
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 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 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 GetP2PStoreInfoResponse ¶
type GetP2PStoreInfoResponse struct {
Stores []*P2PStoreSnapshot `protobuf:"bytes,1,rep,name=stores,proto3" json:"stores,omitempty"`
// contains filtered or unexported fields
}
GetP2PStoreInfoResponse holds the snapshots for configured go-header stores.
func (*GetP2PStoreInfoResponse) Descriptor
deprecated
func (*GetP2PStoreInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetP2PStoreInfoResponse.ProtoReflect.Descriptor instead.
func (*GetP2PStoreInfoResponse) GetStores ¶
func (x *GetP2PStoreInfoResponse) GetStores() []*P2PStoreSnapshot
func (*GetP2PStoreInfoResponse) ProtoMessage ¶
func (*GetP2PStoreInfoResponse) ProtoMessage()
func (*GetP2PStoreInfoResponse) ProtoReflect ¶
func (x *GetP2PStoreInfoResponse) ProtoReflect() protoreflect.Message
func (*GetP2PStoreInfoResponse) Reset ¶
func (x *GetP2PStoreInfoResponse) Reset()
func (*GetP2PStoreInfoResponse) String ¶
func (x *GetP2PStoreInfoResponse) 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 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"`
// Block.Data root aka Transactions
DataHash []byte `protobuf:"bytes,6,opt,name=data_hash,json=dataHash,proto3" json:"data_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"`
// 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) GetDataHash ¶
func (*Header) GetLastHeaderHash ¶
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 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 P2PData ¶
type P2PData 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"`
DaHeightHint *uint64 `protobuf:"varint,3,opt,name=da_height_hint,json=daHeightHint,proto3,oneof" json:"da_height_hint,omitempty"`
// contains filtered or unexported fields
}
P2PData
func (*P2PData) Descriptor
deprecated
func (*P2PData) GetDaHeightHint ¶
func (*P2PData) GetMetadata ¶
func (*P2PData) ProtoMessage ¶
func (*P2PData) ProtoMessage()
func (*P2PData) ProtoReflect ¶
func (x *P2PData) ProtoReflect() protoreflect.Message
type P2PSignedHeader ¶
type P2PSignedHeader 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"`
DaHeightHint *uint64 `protobuf:"varint,4,opt,name=da_height_hint,json=daHeightHint,proto3,oneof" json:"da_height_hint,omitempty"`
// contains filtered or unexported fields
}
P2PSignedHeader
func (*P2PSignedHeader) Descriptor
deprecated
func (*P2PSignedHeader) Descriptor() ([]byte, []int)
Deprecated: Use P2PSignedHeader.ProtoReflect.Descriptor instead.
func (*P2PSignedHeader) GetDaHeightHint ¶
func (x *P2PSignedHeader) GetDaHeightHint() uint64
func (*P2PSignedHeader) GetHeader ¶
func (x *P2PSignedHeader) GetHeader() *Header
func (*P2PSignedHeader) GetSignature ¶
func (x *P2PSignedHeader) GetSignature() []byte
func (*P2PSignedHeader) GetSigner ¶
func (x *P2PSignedHeader) GetSigner() *Signer
func (*P2PSignedHeader) ProtoMessage ¶
func (*P2PSignedHeader) ProtoMessage()
func (*P2PSignedHeader) ProtoReflect ¶
func (x *P2PSignedHeader) ProtoReflect() protoreflect.Message
func (*P2PSignedHeader) Reset ¶
func (x *P2PSignedHeader) Reset()
func (*P2PSignedHeader) String ¶
func (x *P2PSignedHeader) String() string
type P2PStoreEntry ¶
type P2PStoreEntry struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
Hash []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
Time *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=time,proto3" json:"time,omitempty"`
// contains filtered or unexported fields
}
P2PStoreEntry captures a single head or tail record from a go-header store.
func (*P2PStoreEntry) Descriptor
deprecated
func (*P2PStoreEntry) Descriptor() ([]byte, []int)
Deprecated: Use P2PStoreEntry.ProtoReflect.Descriptor instead.
func (*P2PStoreEntry) GetHash ¶
func (x *P2PStoreEntry) GetHash() []byte
func (*P2PStoreEntry) GetHeight ¶
func (x *P2PStoreEntry) GetHeight() uint64
func (*P2PStoreEntry) GetTime ¶
func (x *P2PStoreEntry) GetTime() *timestamppb.Timestamp
func (*P2PStoreEntry) ProtoMessage ¶
func (*P2PStoreEntry) ProtoMessage()
func (*P2PStoreEntry) ProtoReflect ¶
func (x *P2PStoreEntry) ProtoReflect() protoreflect.Message
func (*P2PStoreEntry) Reset ¶
func (x *P2PStoreEntry) Reset()
func (*P2PStoreEntry) String ¶
func (x *P2PStoreEntry) String() string
type P2PStoreSnapshot ¶
type P2PStoreSnapshot struct {
Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
Head *P2PStoreEntry `protobuf:"bytes,4,opt,name=head,proto3" json:"head,omitempty"`
Tail *P2PStoreEntry `protobuf:"bytes,6,opt,name=tail,proto3" json:"tail,omitempty"`
// contains filtered or unexported fields
}
P2PStoreSnapshot provides head/tail status for a go-header store.
func (*P2PStoreSnapshot) Descriptor
deprecated
func (*P2PStoreSnapshot) Descriptor() ([]byte, []int)
Deprecated: Use P2PStoreSnapshot.ProtoReflect.Descriptor instead.
func (*P2PStoreSnapshot) GetHead ¶
func (x *P2PStoreSnapshot) GetHead() *P2PStoreEntry
func (*P2PStoreSnapshot) GetHeight ¶
func (x *P2PStoreSnapshot) GetHeight() uint64
func (*P2PStoreSnapshot) GetLabel ¶
func (x *P2PStoreSnapshot) GetLabel() string
func (*P2PStoreSnapshot) GetTail ¶
func (x *P2PStoreSnapshot) GetTail() *P2PStoreEntry
func (*P2PStoreSnapshot) ProtoMessage ¶
func (*P2PStoreSnapshot) ProtoMessage()
func (*P2PStoreSnapshot) ProtoReflect ¶
func (x *P2PStoreSnapshot) ProtoReflect() protoreflect.Message
func (*P2PStoreSnapshot) Reset ¶
func (x *P2PStoreSnapshot) Reset()
func (*P2PStoreSnapshot) String ¶
func (x *P2PStoreSnapshot) String() string
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 RaftBlockState ¶
type RaftBlockState struct {
Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"`
LastSubmittedDaHeaderHeight uint64 `` /* 149-byte string literal not displayed */
LastSubmittedDaDataHeight uint64 `` /* 143-byte string literal not displayed */
Hash []byte `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"`
Timestamp uint64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
Header []byte `protobuf:"bytes,6,opt,name=header,proto3" json:"header,omitempty"`
Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"`
// contains filtered or unexported fields
}
RaftBlockState represents a replicated block state
func (*RaftBlockState) Descriptor
deprecated
func (*RaftBlockState) Descriptor() ([]byte, []int)
Deprecated: Use RaftBlockState.ProtoReflect.Descriptor instead.
func (*RaftBlockState) GetData ¶
func (x *RaftBlockState) GetData() []byte
func (*RaftBlockState) GetHash ¶
func (x *RaftBlockState) GetHash() []byte
func (*RaftBlockState) GetHeader ¶
func (x *RaftBlockState) GetHeader() []byte
func (*RaftBlockState) GetHeight ¶
func (x *RaftBlockState) GetHeight() uint64
func (*RaftBlockState) GetLastSubmittedDaDataHeight ¶
func (x *RaftBlockState) GetLastSubmittedDaDataHeight() uint64
func (*RaftBlockState) GetLastSubmittedDaHeaderHeight ¶
func (x *RaftBlockState) GetLastSubmittedDaHeaderHeight() uint64
func (*RaftBlockState) GetTimestamp ¶
func (x *RaftBlockState) GetTimestamp() uint64
func (*RaftBlockState) ProtoMessage ¶
func (*RaftBlockState) ProtoMessage()
func (*RaftBlockState) ProtoReflect ¶
func (x *RaftBlockState) ProtoReflect() protoreflect.Message
func (*RaftBlockState) Reset ¶
func (x *RaftBlockState) Reset()
func (*RaftBlockState) String ¶
func (x *RaftBlockState) String() string
type SequencerDACheckpoint ¶
type SequencerDACheckpoint struct {
// DA block height being processed
DaHeight uint64 `protobuf:"varint,1,opt,name=da_height,json=daHeight,proto3" json:"da_height,omitempty"`
// Index of the next transaction to process within the DA block's forced inclusion batch
TxIndex uint64 `protobuf:"varint,2,opt,name=tx_index,json=txIndex,proto3" json:"tx_index,omitempty"`
// contains filtered or unexported fields
}
SequencerDACheckpoint tracks the position in the DA where transactions were last processed
func (*SequencerDACheckpoint) Descriptor
deprecated
func (*SequencerDACheckpoint) Descriptor() ([]byte, []int)
Deprecated: Use SequencerDACheckpoint.ProtoReflect.Descriptor instead.
func (*SequencerDACheckpoint) GetDaHeight ¶
func (x *SequencerDACheckpoint) GetDaHeight() uint64
func (*SequencerDACheckpoint) GetTxIndex ¶
func (x *SequencerDACheckpoint) GetTxIndex() uint64
func (*SequencerDACheckpoint) ProtoMessage ¶
func (*SequencerDACheckpoint) ProtoMessage()
func (*SequencerDACheckpoint) ProtoReflect ¶
func (x *SequencerDACheckpoint) ProtoReflect() protoreflect.Message
func (*SequencerDACheckpoint) Reset ¶
func (x *SequencerDACheckpoint) Reset()
func (*SequencerDACheckpoint) String ¶
func (x *SequencerDACheckpoint) 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"`
AppHash []byte `protobuf:"bytes,8,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
LastHeaderHash []byte `protobuf:"bytes,9,opt,name=last_header_hash,json=lastHeaderHash,proto3" json:"last_header_hash,omitempty"`
NextProposerAddress []byte `protobuf:"bytes,10,opt,name=next_proposer_address,json=nextProposerAddress,proto3" json:"next_proposer_address,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) GetLastHeaderHash ¶
func (*State) GetNextProposerAddress ¶ added in v1.2.0
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