v1

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2026 License: Apache-2.0 Imports: 7 Imported by: 3

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

View Source
var (
	FilterStatus_name = map[int32]string{
		0: "FILTER_OK",
		1: "FILTER_REMOVE",
		2: "FILTER_POSTPONE",
	}
	FilterStatus_value = map[string]int32{
		"FILTER_OK":       0,
		"FILTER_REMOVE":   1,
		"FILTER_POSTPONE": 2,
	}
)

Enum value maps for FilterStatus.

View Source
var File_evnode_v1_batch_proto protoreflect.FileDescriptor
View Source
var File_evnode_v1_config_proto protoreflect.FileDescriptor
View Source
var File_evnode_v1_da_proto protoreflect.FileDescriptor
View Source
var File_evnode_v1_evnode_proto protoreflect.FileDescriptor
View Source
var File_evnode_v1_execution_proto protoreflect.FileDescriptor
View Source
var File_evnode_v1_p2p_rpc_proto protoreflect.FileDescriptor
View Source
var File_evnode_v1_signer_proto protoreflect.FileDescriptor
View Source
var File_evnode_v1_state_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Batch.ProtoReflect.Descriptor instead.

func (*Batch) GetTxs ¶

func (x *Batch) GetTxs() [][]byte

func (*Batch) ProtoMessage ¶

func (*Batch) ProtoMessage()

func (*Batch) ProtoReflect ¶

func (x *Batch) ProtoReflect() protoreflect.Message

func (*Batch) Reset ¶

func (x *Batch) Reset()

func (*Batch) String ¶

func (x *Batch) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetData ¶

func (x *Block) GetData() *Data

func (*Block) GetHeader ¶

func (x *Block) GetHeader() *SignedHeader

func (*Block) ProtoMessage ¶

func (*Block) ProtoMessage()

func (*Block) ProtoReflect ¶

func (x *Block) ProtoReflect() protoreflect.Message

func (*Block) Reset ¶

func (x *Block) Reset()

func (*Block) String ¶

func (x *Block) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use BlockData.ProtoReflect.Descriptor instead.

func (*BlockData) GetBlobs ¶

func (x *BlockData) GetBlobs() [][]byte

func (*BlockData) GetHeight ¶

func (x *BlockData) GetHeight() uint64

func (*BlockData) GetTimestamp ¶

func (x *BlockData) GetTimestamp() int64

func (*BlockData) ProtoMessage ¶

func (*BlockData) ProtoMessage()

func (*BlockData) ProtoReflect ¶

func (x *BlockData) ProtoReflect() protoreflect.Message

func (*BlockData) Reset ¶

func (x *BlockData) Reset()

func (*BlockData) String ¶

func (x *BlockData) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetMetadata ¶

func (x *Data) GetMetadata() *Metadata

func (*Data) GetTxs ¶

func (x *Data) GetTxs() [][]byte

func (*Data) ProtoMessage ¶

func (*Data) ProtoMessage()

func (*Data) ProtoReflect ¶

func (x *Data) ProtoReflect() protoreflect.Message

func (*Data) Reset ¶

func (x *Data) Reset()

func (*Data) String ¶

func (x *Data) String() string

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 FilterStatus ¶

type FilterStatus int32

FilterStatus represents the result of filtering a transaction

const (
	// Transaction will make it to the next batch
	FilterStatus_FILTER_OK FilterStatus = 0
	// Transaction will be filtered out because invalid (too big, malformed, etc.)
	FilterStatus_FILTER_REMOVE FilterStatus = 1
	// Transaction is valid but postponed for later processing due to size/gas constraint
	FilterStatus_FILTER_POSTPONE FilterStatus = 2
)

func (FilterStatus) Descriptor ¶

func (FilterStatus) Enum ¶

func (x FilterStatus) Enum() *FilterStatus

func (FilterStatus) EnumDescriptor deprecated

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

Deprecated: Use FilterStatus.Descriptor instead.

func (FilterStatus) Number ¶

func (FilterStatus) String ¶

func (x FilterStatus) String() string

func (FilterStatus) Type ¶

type FilterTxsRequest ¶

type FilterTxsRequest struct {

	// All transactions (force-included + mempool)
	Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// Maximum cumulative size allowed (0 means no size limit)
	MaxBytes uint64 `protobuf:"varint,2,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
	// Maximum cumulative gas allowed (0 means no gas limit)
	MaxGas uint64 `protobuf:"varint,3,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
	// Whether force-included transactions are present
	HasForceIncludedTransaction bool `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

FilterTxsRequest contains transactions to validate and filter

func (*FilterTxsRequest) Descriptor deprecated

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

Deprecated: Use FilterTxsRequest.ProtoReflect.Descriptor instead.

func (*FilterTxsRequest) GetHasForceIncludedTransaction ¶

func (x *FilterTxsRequest) GetHasForceIncludedTransaction() bool

func (*FilterTxsRequest) GetMaxBytes ¶

func (x *FilterTxsRequest) GetMaxBytes() uint64

func (*FilterTxsRequest) GetMaxGas ¶

func (x *FilterTxsRequest) GetMaxGas() uint64

func (*FilterTxsRequest) GetTxs ¶

func (x *FilterTxsRequest) GetTxs() [][]byte

func (*FilterTxsRequest) ProtoMessage ¶

func (*FilterTxsRequest) ProtoMessage()

func (*FilterTxsRequest) ProtoReflect ¶

func (x *FilterTxsRequest) ProtoReflect() protoreflect.Message

func (*FilterTxsRequest) Reset ¶

func (x *FilterTxsRequest) Reset()

func (*FilterTxsRequest) String ¶

func (x *FilterTxsRequest) String() string

type FilterTxsResponse ¶

type FilterTxsResponse struct {

	// Filter status for each transaction (same length as txs in request)
	Statuses []FilterStatus `protobuf:"varint,1,rep,packed,name=statuses,proto3,enum=evnode.v1.FilterStatus" json:"statuses,omitempty"`
	// contains filtered or unexported fields
}

FilterTxsResponse contains the filter status for each transaction

func (*FilterTxsResponse) Descriptor deprecated

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

Deprecated: Use FilterTxsResponse.ProtoReflect.Descriptor instead.

func (*FilterTxsResponse) GetStatuses ¶

func (x *FilterTxsResponse) GetStatuses() []FilterStatus

func (*FilterTxsResponse) ProtoMessage ¶

func (*FilterTxsResponse) ProtoMessage()

func (*FilterTxsResponse) ProtoReflect ¶

func (x *FilterTxsResponse) ProtoReflect() protoreflect.Message

func (*FilterTxsResponse) Reset ¶

func (x *FilterTxsResponse) Reset()

func (*FilterTxsResponse) String ¶

func (x *FilterTxsResponse) 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 GetExecutionInfoRequest ¶

type GetExecutionInfoRequest struct {
	// contains filtered or unexported fields
}

GetExecutionInfoRequest requests execution layer parameters

func (*GetExecutionInfoRequest) Descriptor deprecated

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

Deprecated: Use GetExecutionInfoRequest.ProtoReflect.Descriptor instead.

func (*GetExecutionInfoRequest) ProtoMessage ¶

func (*GetExecutionInfoRequest) ProtoMessage()

func (*GetExecutionInfoRequest) ProtoReflect ¶

func (x *GetExecutionInfoRequest) ProtoReflect() protoreflect.Message

func (*GetExecutionInfoRequest) Reset ¶

func (x *GetExecutionInfoRequest) Reset()

func (*GetExecutionInfoRequest) String ¶

func (x *GetExecutionInfoRequest) String() string

type GetExecutionInfoResponse ¶

type GetExecutionInfoResponse struct {

	// Maximum gas allowed for transactions in a block
	// For non-gas-based execution layers, this should be 0
	MaxGas uint64 `protobuf:"varint,1,opt,name=max_gas,json=maxGas,proto3" json:"max_gas,omitempty"`
	// contains filtered or unexported fields
}

GetExecutionInfoResponse contains execution layer parameters

func (*GetExecutionInfoResponse) Descriptor deprecated

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

Deprecated: Use GetExecutionInfoResponse.ProtoReflect.Descriptor instead.

func (*GetExecutionInfoResponse) GetMaxGas ¶

func (x *GetExecutionInfoResponse) GetMaxGas() uint64

func (*GetExecutionInfoResponse) ProtoMessage ¶

func (*GetExecutionInfoResponse) ProtoMessage()

func (*GetExecutionInfoResponse) ProtoReflect ¶

func (x *GetExecutionInfoResponse) ProtoReflect() protoreflect.Message

func (*GetExecutionInfoResponse) Reset ¶

func (x *GetExecutionInfoResponse) Reset()

func (*GetExecutionInfoResponse) String ¶

func (x *GetExecutionInfoResponse) 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 (*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 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 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) Descriptor() ([]byte, []int)

Deprecated: Use Header.ProtoReflect.Descriptor instead.

func (*Header) GetAppHash ¶

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

func (*Header) GetChainId ¶

func (x *Header) GetChainId() string

func (*Header) GetDataHash ¶

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

func (*Header) GetHeight ¶

func (x *Header) GetHeight() uint64

func (*Header) GetLastHeaderHash ¶

func (x *Header) GetLastHeaderHash() []byte

func (*Header) GetProposerAddress ¶

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

func (*Header) GetTime ¶

func (x *Header) GetTime() uint64

func (*Header) GetValidatorHash ¶

func (x *Header) GetValidatorHash() []byte

func (*Header) GetVersion ¶

func (x *Header) GetVersion() *Version

func (*Header) ProtoMessage ¶

func (*Header) ProtoMessage()

func (*Header) ProtoReflect ¶

func (x *Header) ProtoReflect() protoreflect.Message

func (*Header) Reset ¶

func (x *Header) Reset()

func (*Header) String ¶

func (x *Header) String() string

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"`
	// 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) 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) Descriptor() ([]byte, []int)

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetChainId ¶

func (x *Metadata) GetChainId() string

func (*Metadata) GetHeight ¶

func (x *Metadata) GetHeight() uint64

func (*Metadata) GetLastDataHash ¶

func (x *Metadata) GetLastDataHash() []byte

func (*Metadata) GetTime ¶

func (x *Metadata) GetTime() uint64

func (*Metadata) ProtoMessage ¶

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect ¶

func (x *Metadata) ProtoReflect() protoreflect.Message

func (*Metadata) Reset ¶

func (x *Metadata) Reset()

func (*Metadata) String ¶

func (x *Metadata) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use NetInfo.ProtoReflect.Descriptor instead.

func (*NetInfo) GetConnectedPeers ¶

func (x *NetInfo) GetConnectedPeers() []string

func (*NetInfo) GetId ¶

func (x *NetInfo) GetId() string

func (*NetInfo) GetListenAddresses ¶

func (x *NetInfo) GetListenAddresses() []string

func (*NetInfo) ProtoMessage ¶

func (*NetInfo) ProtoMessage()

func (*NetInfo) ProtoReflect ¶

func (x *NetInfo) ProtoReflect() protoreflect.Message

func (*NetInfo) Reset ¶

func (x *NetInfo) Reset()

func (*NetInfo) String ¶

func (x *NetInfo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use P2PData.ProtoReflect.Descriptor instead.

func (*P2PData) GetDaHeightHint ¶

func (x *P2PData) GetDaHeightHint() uint64

func (*P2PData) GetMetadata ¶

func (x *P2PData) GetMetadata() *Metadata

func (*P2PData) GetTxs ¶

func (x *P2PData) GetTxs() [][]byte

func (*P2PData) ProtoMessage ¶

func (*P2PData) ProtoMessage()

func (*P2PData) ProtoReflect ¶

func (x *P2PData) ProtoReflect() protoreflect.Message

func (*P2PData) Reset ¶

func (x *P2PData) Reset()

func (*P2PData) String ¶

func (x *P2PData) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use PeerInfo.ProtoReflect.Descriptor instead.

func (*PeerInfo) GetAddress ¶

func (x *PeerInfo) GetAddress() string

func (*PeerInfo) GetId ¶

func (x *PeerInfo) GetId() string

func (*PeerInfo) ProtoMessage ¶

func (*PeerInfo) ProtoMessage()

func (*PeerInfo) ProtoReflect ¶

func (x *PeerInfo) ProtoReflect() protoreflect.Message

func (*PeerInfo) Reset ¶

func (x *PeerInfo) Reset()

func (*PeerInfo) String ¶

func (x *PeerInfo) String() string

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 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) Descriptor() ([]byte, []int)

Deprecated: Use Signer.ProtoReflect.Descriptor instead.

func (*Signer) GetAddress ¶

func (x *Signer) GetAddress() []byte

func (*Signer) GetPubKey ¶

func (x *Signer) GetPubKey() []byte

func (*Signer) ProtoMessage ¶

func (*Signer) ProtoMessage()

func (*Signer) ProtoReflect ¶

func (x *Signer) ProtoReflect() protoreflect.Message

func (*Signer) Reset ¶

func (x *Signer) Reset()

func (*Signer) String ¶

func (x *Signer) String() string

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

State is the state of the blockchain.

func (*State) Descriptor deprecated

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

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetAppHash ¶

func (x *State) GetAppHash() []byte

func (*State) GetChainId ¶

func (x *State) GetChainId() string

func (*State) GetDaHeight ¶

func (x *State) GetDaHeight() uint64

func (*State) GetInitialHeight ¶

func (x *State) GetInitialHeight() uint64

func (*State) GetLastBlockHeight ¶

func (x *State) GetLastBlockHeight() uint64

func (*State) GetLastBlockTime ¶

func (x *State) GetLastBlockTime() *timestamppb.Timestamp

func (*State) GetLastHeaderHash ¶

func (x *State) GetLastHeaderHash() []byte

func (*State) GetVersion ¶

func (x *State) GetVersion() *Version

func (*State) ProtoMessage ¶

func (*State) ProtoMessage()

func (*State) ProtoReflect ¶

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset ¶

func (x *State) Reset()

func (*State) String ¶

func (x *State) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetApp ¶

func (x *Version) GetApp() uint64

func (*Version) GetBlock ¶

func (x *Version) GetBlock() uint64

func (*Version) ProtoMessage ¶

func (*Version) ProtoMessage()

func (*Version) ProtoReflect ¶

func (x *Version) ProtoReflect() protoreflect.Message

func (*Version) Reset ¶

func (x *Version) Reset()

func (*Version) String ¶

func (x *Version) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Vote.ProtoReflect.Descriptor instead.

func (*Vote) GetBlockIdHash ¶

func (x *Vote) GetBlockIdHash() []byte

func (*Vote) GetChainId ¶

func (x *Vote) GetChainId() string

func (*Vote) GetHeight ¶

func (x *Vote) GetHeight() uint64

func (*Vote) GetTimestamp ¶

func (x *Vote) GetTimestamp() *timestamppb.Timestamp

func (*Vote) GetValidatorAddress ¶

func (x *Vote) GetValidatorAddress() []byte

func (*Vote) ProtoMessage ¶

func (*Vote) ProtoMessage()

func (*Vote) ProtoReflect ¶

func (x *Vote) ProtoReflect() protoreflect.Message

func (*Vote) Reset ¶

func (x *Vote) Reset()

func (*Vote) String ¶

func (x *Vote) String() string

Directories ¶

Path Synopsis

Jump to

Keyboard shortcuts

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