v1

package
v1.0.0-beta.4 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HealthStatus_name = map[int32]string{
		0: "UNKNOWN",
		1: "PASS",
		2: "WARN",
		3: "FAIL",
	}
	HealthStatus_value = map[string]int32{
		"UNKNOWN": 0,
		"PASS":    1,
		"WARN":    2,
		"FAIL":    3,
	}
)

Enum value maps for HealthStatus.

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_evnode_proto protoreflect.FileDescriptor
View Source
var File_evnode_v1_execution_proto protoreflect.FileDescriptor
View Source
var File_evnode_v1_health_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 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 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 (*GetGenesisDaHeightResponse) Reset

func (x *GetGenesisDaHeightResponse) Reset()

func (*GetGenesisDaHeightResponse) String

func (x *GetGenesisDaHeightResponse) String() string

type GetHealthResponse

type GetHealthResponse struct {

	// Health status
	Status HealthStatus `protobuf:"varint,1,opt,name=status,proto3,enum=evnode.v1.HealthStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

GetHealthResponse defines the response for retrieving health status

func (*GetHealthResponse) Descriptor deprecated

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

Deprecated: Use GetHealthResponse.ProtoReflect.Descriptor instead.

func (*GetHealthResponse) GetStatus

func (x *GetHealthResponse) GetStatus() HealthStatus

func (*GetHealthResponse) ProtoMessage

func (*GetHealthResponse) ProtoMessage()

func (*GetHealthResponse) ProtoReflect

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

func (*GetHealthResponse) Reset

func (x *GetHealthResponse) Reset()

func (*GetHealthResponse) String

func (x *GetHealthResponse) String() string

type GetMetadataRequest

type GetMetadataRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

GetMetadataRequest defines the request for retrieving metadata by key

func (*GetMetadataRequest) Descriptor deprecated

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

Deprecated: Use GetMetadataRequest.ProtoReflect.Descriptor instead.

func (*GetMetadataRequest) GetKey

func (x *GetMetadataRequest) GetKey() string

func (*GetMetadataRequest) ProtoMessage

func (*GetMetadataRequest) ProtoMessage()

func (*GetMetadataRequest) ProtoReflect

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

func (*GetMetadataRequest) Reset

func (x *GetMetadataRequest) Reset()

func (*GetMetadataRequest) String

func (x *GetMetadataRequest) String() string

type GetMetadataResponse

type GetMetadataResponse struct {
	Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

GetMetadataResponse defines the response for retrieving metadata

func (*GetMetadataResponse) Descriptor deprecated

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

Deprecated: Use GetMetadataResponse.ProtoReflect.Descriptor instead.

func (*GetMetadataResponse) GetValue

func (x *GetMetadataResponse) GetValue() []byte

func (*GetMetadataResponse) ProtoMessage

func (*GetMetadataResponse) ProtoMessage()

func (*GetMetadataResponse) ProtoReflect

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

func (*GetMetadataResponse) Reset

func (x *GetMetadataResponse) Reset()

func (*GetMetadataResponse) String

func (x *GetMetadataResponse) String() string

type GetNamespaceResponse

type GetNamespaceResponse struct {
	HeaderNamespace string `protobuf:"bytes,1,opt,name=header_namespace,json=headerNamespace,proto3" json:"header_namespace,omitempty"`
	DataNamespace   string `protobuf:"bytes,2,opt,name=data_namespace,json=dataNamespace,proto3" json:"data_namespace,omitempty"`
	// contains filtered or unexported fields
}

GetNamespaceResponse returns the namespace for this network

func (*GetNamespaceResponse) Descriptor deprecated

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

Deprecated: Use GetNamespaceResponse.ProtoReflect.Descriptor instead.

func (*GetNamespaceResponse) GetDataNamespace

func (x *GetNamespaceResponse) GetDataNamespace() string

func (*GetNamespaceResponse) GetHeaderNamespace

func (x *GetNamespaceResponse) GetHeaderNamespace() string

func (*GetNamespaceResponse) ProtoMessage

func (*GetNamespaceResponse) ProtoMessage()

func (*GetNamespaceResponse) ProtoReflect

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

func (*GetNamespaceResponse) Reset

func (x *GetNamespaceResponse) Reset()

func (*GetNamespaceResponse) String

func (x *GetNamespaceResponse) String() string

type GetNetInfoResponse

type GetNetInfoResponse struct {

	// Network information
	NetInfo *NetInfo `protobuf:"bytes,1,opt,name=net_info,json=netInfo,proto3" json:"net_info,omitempty"`
	// contains filtered or unexported fields
}

GetNetInfoResponse defines the response for retrieving network information

func (*GetNetInfoResponse) Descriptor deprecated

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

Deprecated: Use GetNetInfoResponse.ProtoReflect.Descriptor instead.

func (*GetNetInfoResponse) GetNetInfo

func (x *GetNetInfoResponse) GetNetInfo() *NetInfo

func (*GetNetInfoResponse) ProtoMessage

func (*GetNetInfoResponse) ProtoMessage()

func (*GetNetInfoResponse) ProtoReflect

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

func (*GetNetInfoResponse) Reset

func (x *GetNetInfoResponse) Reset()

func (*GetNetInfoResponse) String

func (x *GetNetInfoResponse) String() string

type GetPeerInfoResponse

type GetPeerInfoResponse struct {

	// List of connected peers
	Peers []*PeerInfo `protobuf:"bytes,1,rep,name=peers,proto3" json:"peers,omitempty"`
	// contains filtered or unexported fields
}

GetPeerInfoResponse defines the response for retrieving peer information

func (*GetPeerInfoResponse) Descriptor deprecated

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

Deprecated: Use GetPeerInfoResponse.ProtoReflect.Descriptor instead.

func (*GetPeerInfoResponse) GetPeers

func (x *GetPeerInfoResponse) GetPeers() []*PeerInfo

func (*GetPeerInfoResponse) ProtoMessage

func (*GetPeerInfoResponse) ProtoMessage()

func (*GetPeerInfoResponse) ProtoReflect

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

func (*GetPeerInfoResponse) Reset

func (x *GetPeerInfoResponse) Reset()

func (*GetPeerInfoResponse) String

func (x *GetPeerInfoResponse) String() string

type GetPublicRequest

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

The GetPublicRequest is an empty request.

func (*GetPublicRequest) Descriptor deprecated

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

Deprecated: Use GetPublicRequest.ProtoReflect.Descriptor instead.

func (*GetPublicRequest) ProtoMessage

func (*GetPublicRequest) ProtoMessage()

func (*GetPublicRequest) ProtoReflect

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

func (*GetPublicRequest) Reset

func (x *GetPublicRequest) Reset()

func (*GetPublicRequest) String

func (x *GetPublicRequest) String() string

type GetPublicResponse

type GetPublicResponse struct {
	PublicKey []byte `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	// contains filtered or unexported fields
}

The GetPublicResponse returns the public key.

func (*GetPublicResponse) Descriptor deprecated

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

Deprecated: Use GetPublicResponse.ProtoReflect.Descriptor instead.

func (*GetPublicResponse) GetPublicKey

func (x *GetPublicResponse) GetPublicKey() []byte

func (*GetPublicResponse) ProtoMessage

func (*GetPublicResponse) ProtoMessage()

func (*GetPublicResponse) ProtoReflect

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

func (*GetPublicResponse) Reset

func (x *GetPublicResponse) Reset()

func (*GetPublicResponse) String

func (x *GetPublicResponse) String() string

type GetSignerInfoResponse

type GetSignerInfoResponse struct {
	Address []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

GetSignerInfoResponse returns information about the signer

func (*GetSignerInfoResponse) Descriptor deprecated

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

Deprecated: Use GetSignerInfoResponse.ProtoReflect.Descriptor instead.

func (*GetSignerInfoResponse) GetAddress

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

func (*GetSignerInfoResponse) ProtoMessage

func (*GetSignerInfoResponse) ProtoMessage()

func (*GetSignerInfoResponse) ProtoReflect

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

func (*GetSignerInfoResponse) Reset

func (x *GetSignerInfoResponse) Reset()

func (*GetSignerInfoResponse) String

func (x *GetSignerInfoResponse) String() string

type GetStateResponse

type GetStateResponse struct {
	State *State `protobuf:"bytes,1,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

GetStateResponse defines the response for retrieving the current state

func (*GetStateResponse) Descriptor deprecated

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

Deprecated: Use GetStateResponse.ProtoReflect.Descriptor instead.

func (*GetStateResponse) GetState

func (x *GetStateResponse) GetState() *State

func (*GetStateResponse) ProtoMessage

func (*GetStateResponse) ProtoMessage()

func (*GetStateResponse) ProtoReflect

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

func (*GetStateResponse) Reset

func (x *GetStateResponse) Reset()

func (*GetStateResponse) String

func (x *GetStateResponse) String() string

type GetTxsRequest

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

GetTxsRequest is the request for fetching transactions

func (*GetTxsRequest) Descriptor deprecated

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

Deprecated: Use GetTxsRequest.ProtoReflect.Descriptor instead.

func (*GetTxsRequest) ProtoMessage

func (*GetTxsRequest) ProtoMessage()

func (*GetTxsRequest) ProtoReflect

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

func (*GetTxsRequest) Reset

func (x *GetTxsRequest) Reset()

func (*GetTxsRequest) String

func (x *GetTxsRequest) String() string

type GetTxsResponse

type GetTxsResponse struct {

	// Slice of valid transactions from mempool
	Txs [][]byte `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

GetTxsResponse contains the available transactions

func (*GetTxsResponse) Descriptor deprecated

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

Deprecated: Use GetTxsResponse.ProtoReflect.Descriptor instead.

func (*GetTxsResponse) GetTxs

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

func (*GetTxsResponse) ProtoMessage

func (*GetTxsResponse) ProtoMessage()

func (*GetTxsResponse) ProtoReflect

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

func (*GetTxsResponse) Reset

func (x *GetTxsResponse) Reset()

func (*GetTxsResponse) String

func (x *GetTxsResponse) String() string
type Header struct {

	// Block and App version
	Version *Version `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// Block height
	Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// Block creation time
	Time uint64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
	// Previous block info
	LastHeaderHash []byte `protobuf:"bytes,4,opt,name=last_header_hash,json=lastHeaderHash,proto3" json:"last_header_hash,omitempty"`
	// Commit from aggregator(s) from the last block
	LastCommitHash []byte `protobuf:"bytes,5,opt,name=last_commit_hash,json=lastCommitHash,proto3" json:"last_commit_hash,omitempty"`
	// Block.Data root aka Transactions
	DataHash []byte `protobuf:"bytes,6,opt,name=data_hash,json=dataHash,proto3" json:"data_hash,omitempty"`
	// Consensus params for current block
	ConsensusHash []byte `protobuf:"bytes,7,opt,name=consensus_hash,json=consensusHash,proto3" json:"consensus_hash,omitempty"`
	// State after applying txs from the current block
	AppHash []byte `protobuf:"bytes,8,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
	// Root hash of all results from the txs from the previous block.
	// This is ABCI specific but smart-contract chains require some way of committing
	// to transaction receipts/results.
	LastResultsHash []byte `protobuf:"bytes,9,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
	// Original proposer of the block
	// Note that the address can be derived from the pubkey which can be derived
	// from the signature when using secp256k.
	// We keep this in case users choose another signature format where the
	// pubkey can't be recovered by the signature (e.g. ed25519).
	ProposerAddress []byte `protobuf:"bytes,10,opt,name=proposer_address,json=proposerAddress,proto3" json:"proposer_address,omitempty"`
	// validatorhash for compatibility with tendermint light client.
	ValidatorHash []byte `protobuf:"bytes,11,opt,name=validator_hash,json=validatorHash,proto3" json:"validator_hash,omitempty"`
	// Chain ID the block belongs to
	ChainId string `protobuf:"bytes,12,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

Header is the header of a block in the blockchain.

func (*Header) Descriptor deprecated

func (*Header) 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) GetConsensusHash

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

func (*Header) GetDataHash

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

func (*Header) GetHeight

func (x *Header) GetHeight() uint64

func (*Header) GetLastCommitHash

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

func (*Header) GetLastHeaderHash

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

func (*Header) GetLastResultsHash

func (x *Header) GetLastResultsHash() []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 HealthStatus

type HealthStatus int32

HealthStatus defines the health status of the node

const (
	// Unknown health status
	HealthStatus_UNKNOWN HealthStatus = 0
	// Healthy status (Healthy)
	HealthStatus_PASS HealthStatus = 1
	// Degraded but still serving
	HealthStatus_WARN HealthStatus = 2
	// Hard fail
	HealthStatus_FAIL HealthStatus = 3
)

func (HealthStatus) Descriptor

func (HealthStatus) Enum

func (x HealthStatus) Enum() *HealthStatus

func (HealthStatus) EnumDescriptor deprecated

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

Deprecated: Use HealthStatus.Descriptor instead.

func (HealthStatus) Number

func (HealthStatus) String

func (x HealthStatus) String() string

func (HealthStatus) Type

type InitChainRequest

type InitChainRequest struct {

	// Timestamp marking chain start time in UTC
	GenesisTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=genesis_time,json=genesisTime,proto3" json:"genesis_time,omitempty"`
	// First block height (must be > 0)
	InitialHeight uint64 `protobuf:"varint,2,opt,name=initial_height,json=initialHeight,proto3" json:"initial_height,omitempty"`
	// Unique identifier string for the blockchain
	ChainId string `protobuf:"bytes,3,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// contains filtered or unexported fields
}

InitChainRequest contains the genesis parameters for chain initialization

func (*InitChainRequest) Descriptor deprecated

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

Deprecated: Use InitChainRequest.ProtoReflect.Descriptor instead.

func (*InitChainRequest) GetChainId

func (x *InitChainRequest) GetChainId() string

func (*InitChainRequest) GetGenesisTime

func (x *InitChainRequest) GetGenesisTime() *timestamppb.Timestamp

func (*InitChainRequest) GetInitialHeight

func (x *InitChainRequest) GetInitialHeight() uint64

func (*InitChainRequest) ProtoMessage

func (*InitChainRequest) ProtoMessage()

func (*InitChainRequest) ProtoReflect

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

func (*InitChainRequest) Reset

func (x *InitChainRequest) Reset()

func (*InitChainRequest) String

func (x *InitChainRequest) String() string

type InitChainResponse

type InitChainResponse struct {

	// Hash representing initial state
	StateRoot []byte `protobuf:"bytes,1,opt,name=state_root,json=stateRoot,proto3" json:"state_root,omitempty"`
	// Maximum allowed bytes for transactions in a block
	MaxBytes uint64 `protobuf:"varint,2,opt,name=max_bytes,json=maxBytes,proto3" json:"max_bytes,omitempty"`
	// contains filtered or unexported fields
}

InitChainResponse contains the initial state and configuration

func (*InitChainResponse) Descriptor deprecated

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

Deprecated: Use InitChainResponse.ProtoReflect.Descriptor instead.

func (*InitChainResponse) GetMaxBytes

func (x *InitChainResponse) GetMaxBytes() uint64

func (*InitChainResponse) GetStateRoot

func (x *InitChainResponse) GetStateRoot() []byte

func (*InitChainResponse) ProtoMessage

func (*InitChainResponse) ProtoMessage()

func (*InitChainResponse) ProtoReflect

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

func (*InitChainResponse) Reset

func (x *InitChainResponse) Reset()

func (*InitChainResponse) String

func (x *InitChainResponse) String() string

type Metadata

type Metadata struct {

	// chain id
	ChainId string `protobuf:"bytes,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	// Block height
	Height uint64 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	// Block creation time
	Time uint64 `protobuf:"varint,3,opt,name=time,proto3" json:"time,omitempty"`
	// Previous block info
	LastDataHash []byte `protobuf:"bytes,4,opt,name=last_data_hash,json=lastDataHash,proto3" json:"last_data_hash,omitempty"`
	// contains filtered or unexported fields
}

Metadata is the metadata of a block in the blockchain.

func (*Metadata) Descriptor deprecated

func (*Metadata) 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 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 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"`
	LastResultsHash []byte                 `protobuf:"bytes,7,opt,name=last_results_hash,json=lastResultsHash,proto3" json:"last_results_hash,omitempty"`
	AppHash         []byte                 `protobuf:"bytes,8,opt,name=app_hash,json=appHash,proto3" json:"app_hash,omitempty"`
	// contains filtered or unexported fields
}

State is the state of the blockchain.

func (*State) Descriptor deprecated

func (*State) 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) GetLastResultsHash

func (x *State) GetLastResultsHash() []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