protos

package
v0.0.0-...-5d05a64 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LegacyMessage_FuncName_name = map[int32]string{
		0:  "VE",
		1:  "PL",
		2:  "PONG",
		3:  "MR",
		4:  "SFM",
		5:  "BA",
		6:  "BK",
		7:  "FB",
		8:  "PB",
		9:  "TT",
		10: "ST",
		11: "AT",
		12: "SYNC",
		13: "CHAINSTATE",
		14: "EBHREQ",
		15: "EBHRESP",
		16: "P2P_ACK",
	}
	LegacyMessage_FuncName_value = map[string]int32{
		"VE":         0,
		"PL":         1,
		"PONG":       2,
		"MR":         3,
		"SFM":        4,
		"BA":         5,
		"BK":         6,
		"FB":         7,
		"PB":         8,
		"TT":         9,
		"ST":         10,
		"AT":         11,
		"SYNC":       12,
		"CHAINSTATE": 13,
		"EBHREQ":     14,
		"EBHRESP":    15,
		"P2P_ACK":    16,
	}
)

Enum value maps for LegacyMessage_FuncName.

View Source
var File_protos_address_proto protoreflect.FileDescriptor
View Source
var File_protos_block_proto protoreflect.FileDescriptor
View Source
var File_protos_metadata_proto protoreflect.FileDescriptor
View Source
var File_protos_p2p_proto protoreflect.FileDescriptor
View Source
var File_protos_prestate_proto protoreflect.FileDescriptor
View Source
var File_protos_stakingkeys_proto protoreflect.FileDescriptor
View Source
var File_protos_transaction_proto protoreflect.FileDescriptor
View Source
var File_protos_wallet_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type AddressBalance

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

func (*AddressBalance) Descriptor deprecated

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

Deprecated: Use AddressBalance.ProtoReflect.Descriptor instead.

func (*AddressBalance) GetAddress

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

func (*AddressBalance) GetBalance

func (x *AddressBalance) GetBalance() uint64

func (*AddressBalance) ProtoMessage

func (*AddressBalance) ProtoMessage()

func (*AddressBalance) ProtoReflect

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

func (*AddressBalance) Reset

func (x *AddressBalance) Reset()

func (*AddressBalance) String

func (x *AddressBalance) String() string

type AddressState

type AddressState struct {
	Address      []byte `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Balance      uint64 `protobuf:"varint,2,opt,name=balance,proto3" json:"balance,omitempty"`
	StakeBalance uint64 `protobuf:"varint,3,opt,name=stake_balance,json=stakeBalance,proto3" json:"stake_balance,omitempty"`
	Nonce        uint64 `protobuf:"varint,4,opt,name=nonce,proto3" json:"nonce,omitempty"`
	// contains filtered or unexported fields
}

func (*AddressState) Descriptor deprecated

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

Deprecated: Use AddressState.ProtoReflect.Descriptor instead.

func (*AddressState) GetAddress

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

func (*AddressState) GetBalance

func (x *AddressState) GetBalance() uint64

func (*AddressState) GetNonce

func (x *AddressState) GetNonce() uint64

func (*AddressState) GetStakeBalance

func (x *AddressState) GetStakeBalance() uint64

func (*AddressState) ProtoMessage

func (*AddressState) ProtoMessage()

func (*AddressState) ProtoReflect

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

func (*AddressState) Reset

func (x *AddressState) Reset()

func (*AddressState) String

func (x *AddressState) String() string

type Attest

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

func (*Attest) Descriptor deprecated

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

Deprecated: Use Attest.ProtoReflect.Descriptor instead.

func (*Attest) ProtoMessage

func (*Attest) ProtoMessage()

func (*Attest) ProtoReflect

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

func (*Attest) Reset

func (x *Attest) Reset()

func (*Attest) String

func (x *Attest) String() string

type BKData

type BKData struct {
	MrData *MRData `protobuf:"bytes,1,opt,name=mrData,proto3" json:"mrData,omitempty"`
	Block  *Block  `protobuf:"bytes,2,opt,name=block,proto3" json:"block,omitempty"`
	// contains filtered or unexported fields
}

func (*BKData) Descriptor deprecated

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

Deprecated: Use BKData.ProtoReflect.Descriptor instead.

func (*BKData) GetBlock

func (x *BKData) GetBlock() *Block

func (*BKData) GetMrData

func (x *BKData) GetMrData() *MRData

func (*BKData) ProtoMessage

func (*BKData) ProtoMessage()

func (*BKData) ProtoReflect

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

func (*BKData) Reset

func (x *BKData) Reset()

func (*BKData) String

func (x *BKData) String() string

type Block

type Block struct {
	Header               *BlockHeader           `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	ProtocolTransactions []*ProtocolTransaction `protobuf:"bytes,2,rep,name=protocol_transactions,json=protocolTransactions,proto3" json:"protocol_transactions,omitempty"`
	Transactions         []*Transaction         `protobuf:"bytes,3,rep,name=transactions,proto3" json:"transactions,omitempty"`
	// contains filtered or unexported fields
}

func (*Block) Descriptor deprecated

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

Deprecated: Use Block.ProtoReflect.Descriptor instead.

func (*Block) GetHeader

func (x *Block) GetHeader() *BlockHeader

func (*Block) GetProtocolTransactions

func (x *Block) GetProtocolTransactions() []*ProtocolTransaction

func (*Block) GetTransactions

func (x *Block) GetTransactions() []*Transaction

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 BlockForAttestation

type BlockForAttestation struct {
	Block     *Block `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Signature []byte `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockForAttestation) Descriptor deprecated

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

Deprecated: Use BlockForAttestation.ProtoReflect.Descriptor instead.

func (*BlockForAttestation) GetBlock

func (x *BlockForAttestation) GetBlock() *Block

func (*BlockForAttestation) GetSignature

func (x *BlockForAttestation) GetSignature() []byte

func (*BlockForAttestation) ProtoMessage

func (*BlockForAttestation) ProtoMessage()

func (*BlockForAttestation) ProtoReflect

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

func (*BlockForAttestation) Reset

func (x *BlockForAttestation) Reset()

func (*BlockForAttestation) String

func (x *BlockForAttestation) String() string

type BlockHashesBySlotNumber

type BlockHashesBySlotNumber struct {
	SlotNumber   uint64   `protobuf:"varint,1,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
	HeaderHashes [][]byte `protobuf:"bytes,2,rep,name=header_hashes,json=headerHashes,proto3" json:"header_hashes,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHashesBySlotNumber) Descriptor deprecated

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

Deprecated: Use BlockHashesBySlotNumber.ProtoReflect.Descriptor instead.

func (*BlockHashesBySlotNumber) GetHeaderHashes

func (x *BlockHashesBySlotNumber) GetHeaderHashes() [][]byte

func (*BlockHashesBySlotNumber) GetSlotNumber

func (x *BlockHashesBySlotNumber) GetSlotNumber() uint64

func (*BlockHashesBySlotNumber) ProtoMessage

func (*BlockHashesBySlotNumber) ProtoMessage()

func (*BlockHashesBySlotNumber) ProtoReflect

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

func (*BlockHashesBySlotNumber) Reset

func (x *BlockHashesBySlotNumber) Reset()

func (*BlockHashesBySlotNumber) String

func (x *BlockHashesBySlotNumber) String() string

type BlockHeader

type BlockHeader struct {
	SlotNumber       uint64 `protobuf:"varint,1,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
	Hash             []byte `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	ParentHash       []byte `protobuf:"bytes,3,opt,name=parent_hash,json=parentHash,proto3" json:"parent_hash,omitempty"`
	BaseFee          uint64 `protobuf:"varint,4,opt,name=base_fee,json=baseFee,proto3" json:"base_fee,omitempty"`
	GasLimit         uint64 `protobuf:"varint,5,opt,name=gas_limit,json=gasLimit,proto3" json:"gas_limit,omitempty"`
	GasUsed          uint64 `protobuf:"varint,6,opt,name=gas_used,json=gasUsed,proto3" json:"gas_used,omitempty"`
	TimestampSeconds uint64 `protobuf:"varint,7,opt,name=timestamp_seconds,json=timestampSeconds,proto3" json:"timestamp_seconds,omitempty"`
	Root             []byte `protobuf:"bytes,8,opt,name=root,proto3" json:"root,omitempty"`
	TransactionsRoot []byte `protobuf:"bytes,9,opt,name=transactions_root,json=transactionsRoot,proto3" json:"transactions_root,omitempty"`
	ReceiptsRoot     []byte `protobuf:"bytes,10,opt,name=receipts_root,json=receiptsRoot,proto3" json:"receipts_root,omitempty"`
	ProtocolTxBloom  []byte `protobuf:"bytes,11,opt,name=protocol_tx_bloom,json=protocolTxBloom,proto3" json:"protocol_tx_bloom,omitempty"`
	TxBloom          []byte `protobuf:"bytes,12,opt,name=tx_bloom,json=txBloom,proto3" json:"tx_bloom,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockHeader) Descriptor deprecated

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

Deprecated: Use BlockHeader.ProtoReflect.Descriptor instead.

func (*BlockHeader) GetBaseFee

func (x *BlockHeader) GetBaseFee() uint64

func (*BlockHeader) GetGasLimit

func (x *BlockHeader) GetGasLimit() uint64

func (*BlockHeader) GetGasUsed

func (x *BlockHeader) GetGasUsed() uint64

func (*BlockHeader) GetHash

func (x *BlockHeader) GetHash() []byte

func (*BlockHeader) GetParentHash

func (x *BlockHeader) GetParentHash() []byte

func (*BlockHeader) GetProtocolTxBloom

func (x *BlockHeader) GetProtocolTxBloom() []byte

func (*BlockHeader) GetReceiptsRoot

func (x *BlockHeader) GetReceiptsRoot() []byte

func (*BlockHeader) GetRoot

func (x *BlockHeader) GetRoot() []byte

func (*BlockHeader) GetSlotNumber

func (x *BlockHeader) GetSlotNumber() uint64

func (*BlockHeader) GetTimestampSeconds

func (x *BlockHeader) GetTimestampSeconds() uint64

func (*BlockHeader) GetTransactionsRoot

func (x *BlockHeader) GetTransactionsRoot() []byte

func (*BlockHeader) GetTxBloom

func (x *BlockHeader) GetTxBloom() []byte

func (*BlockHeader) ProtoMessage

func (*BlockHeader) ProtoMessage()

func (*BlockHeader) ProtoReflect

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

func (*BlockHeader) Reset

func (x *BlockHeader) Reset()

func (*BlockHeader) String

func (x *BlockHeader) String() string

type BlockMetaData

type BlockMetaData struct {
	ParentHeaderHash         []byte   `protobuf:"bytes,1,opt,name=parent_header_hash,json=parentHeaderHash,proto3" json:"parent_header_hash,omitempty"`
	HeaderHash               []byte   `protobuf:"bytes,2,opt,name=header_hash,json=headerHash,proto3" json:"header_hash,omitempty"`
	SlotNumber               uint64   `protobuf:"varint,3,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
	ChildHeaderHashes        [][]byte `protobuf:"bytes,4,rep,name=child_header_hashes,json=childHeaderHashes,proto3" json:"child_header_hashes,omitempty"`
	FinalizedChildHeaderHash []byte   `` /* 137-byte string literal not displayed */
	TotalStakeAmount         []byte   `protobuf:"bytes,6,opt,name=total_stake_amount,json=totalStakeAmount,proto3" json:"total_stake_amount,omitempty"`
	TrieRoot                 []byte   `protobuf:"bytes,7,opt,name=trie_root,json=trieRoot,proto3" json:"trie_root,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockMetaData) Descriptor deprecated

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

Deprecated: Use BlockMetaData.ProtoReflect.Descriptor instead.

func (*BlockMetaData) GetChildHeaderHashes

func (x *BlockMetaData) GetChildHeaderHashes() [][]byte

func (*BlockMetaData) GetFinalizedChildHeaderHash

func (x *BlockMetaData) GetFinalizedChildHeaderHash() []byte

func (*BlockMetaData) GetHeaderHash

func (x *BlockMetaData) GetHeaderHash() []byte

func (*BlockMetaData) GetParentHeaderHash

func (x *BlockMetaData) GetParentHeaderHash() []byte

func (*BlockMetaData) GetSlotNumber

func (x *BlockMetaData) GetSlotNumber() uint64

func (*BlockMetaData) GetTotalStakeAmount

func (x *BlockMetaData) GetTotalStakeAmount() []byte

func (*BlockMetaData) GetTrieRoot

func (x *BlockMetaData) GetTrieRoot() []byte

func (*BlockMetaData) ProtoMessage

func (*BlockMetaData) ProtoMessage()

func (*BlockMetaData) ProtoReflect

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

func (*BlockMetaData) Reset

func (x *BlockMetaData) Reset()

func (*BlockMetaData) String

func (x *BlockMetaData) String() string

type BlockReceipts

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

func (*BlockReceipts) Descriptor deprecated

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

Deprecated: Use BlockReceipts.ProtoReflect.Descriptor instead.

func (*BlockReceipts) GetReceipts

func (x *BlockReceipts) GetReceipts() []byte

func (*BlockReceipts) ProtoMessage

func (*BlockReceipts) ProtoMessage()

func (*BlockReceipts) ProtoReflect

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

func (*BlockReceipts) Reset

func (x *BlockReceipts) Reset()

func (*BlockReceipts) String

func (x *BlockReceipts) String() string

type CoinBase

type CoinBase struct {
	BlockProposerReward uint64 `protobuf:"varint,1,opt,name=block_proposer_reward,json=blockProposerReward,proto3" json:"block_proposer_reward,omitempty"`
	AttestorReward      uint64 `protobuf:"varint,2,opt,name=attestor_reward,json=attestorReward,proto3" json:"attestor_reward,omitempty"`
	FeeReward           uint64 `protobuf:"varint,3,opt,name=fee_reward,json=feeReward,proto3" json:"fee_reward,omitempty"` // TODO: merge multiple rewards into a single reward variable
	// contains filtered or unexported fields
}

func (*CoinBase) Descriptor deprecated

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

Deprecated: Use CoinBase.ProtoReflect.Descriptor instead.

func (*CoinBase) GetAttestorReward

func (x *CoinBase) GetAttestorReward() uint64

func (*CoinBase) GetBlockProposerReward

func (x *CoinBase) GetBlockProposerReward() uint64

func (*CoinBase) GetFeeReward

func (x *CoinBase) GetFeeReward() uint64

func (*CoinBase) ProtoMessage

func (*CoinBase) ProtoMessage()

func (*CoinBase) ProtoReflect

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

func (*CoinBase) Reset

func (x *CoinBase) Reset()

func (*CoinBase) String

func (x *CoinBase) String() string

type DilithiumInfo

type DilithiumInfo struct {
	PK      string `protobuf:"bytes,1,opt,name=PK,proto3" json:"PK,omitempty"`
	SK      string `protobuf:"bytes,2,opt,name=SK,proto3" json:"SK,omitempty"`
	HexSeed string `protobuf:"bytes,3,opt,name=hex_seed,json=hexSeed,proto3" json:"hex_seed,omitempty"`
	// contains filtered or unexported fields
}

func (*DilithiumInfo) Descriptor deprecated

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

Deprecated: Use DilithiumInfo.ProtoReflect.Descriptor instead.

func (*DilithiumInfo) GetHexSeed

func (x *DilithiumInfo) GetHexSeed() string

func (*DilithiumInfo) GetPK

func (x *DilithiumInfo) GetPK() string

func (*DilithiumInfo) GetSK

func (x *DilithiumInfo) GetSK() string

func (*DilithiumInfo) ProtoMessage

func (*DilithiumInfo) ProtoMessage()

func (*DilithiumInfo) ProtoReflect

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

func (*DilithiumInfo) Reset

func (x *DilithiumInfo) Reset()

func (*DilithiumInfo) String

func (x *DilithiumInfo) String() string

type DilithiumMetaData

type DilithiumMetaData struct {

	// tx_hash, dilithium_pk, address must be updated only once, when the metadata is created for the first time
	TxHash      []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	DilithiumPk []byte `protobuf:"bytes,2,opt,name=dilithium_pk,json=dilithiumPk,proto3" json:"dilithium_pk,omitempty"`
	Address     []byte `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
	Stake       bool   `protobuf:"varint,4,opt,name=stake,proto3" json:"stake,omitempty"`
	Balance     uint64 `protobuf:"varint,5,opt,name=balance,proto3" json:"balance,omitempty"` // Balance allocated for staking
	// contains filtered or unexported fields
}

func (*DilithiumMetaData) Descriptor deprecated

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

Deprecated: Use DilithiumMetaData.ProtoReflect.Descriptor instead.

func (*DilithiumMetaData) GetAddress

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

func (*DilithiumMetaData) GetBalance

func (x *DilithiumMetaData) GetBalance() uint64

func (*DilithiumMetaData) GetDilithiumPk

func (x *DilithiumMetaData) GetDilithiumPk() []byte

func (*DilithiumMetaData) GetStake

func (x *DilithiumMetaData) GetStake() bool

func (*DilithiumMetaData) GetTxHash

func (x *DilithiumMetaData) GetTxHash() []byte

func (*DilithiumMetaData) ProtoMessage

func (*DilithiumMetaData) ProtoMessage()

func (*DilithiumMetaData) ProtoReflect

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

func (*DilithiumMetaData) Reset

func (x *DilithiumMetaData) Reset()

func (*DilithiumMetaData) String

func (x *DilithiumMetaData) String() string

type EpochBlockHashesMetaData

type EpochBlockHashesMetaData struct {
	Epoch                   uint64                     `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	BlockHashesBySlotNumber []*BlockHashesBySlotNumber `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EpochBlockHashesMetaData) Descriptor deprecated

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

Deprecated: Use EpochBlockHashesMetaData.ProtoReflect.Descriptor instead.

func (*EpochBlockHashesMetaData) GetBlockHashesBySlotNumber

func (x *EpochBlockHashesMetaData) GetBlockHashesBySlotNumber() []*BlockHashesBySlotNumber

func (*EpochBlockHashesMetaData) GetEpoch

func (x *EpochBlockHashesMetaData) GetEpoch() uint64

func (*EpochBlockHashesMetaData) ProtoMessage

func (*EpochBlockHashesMetaData) ProtoMessage()

func (*EpochBlockHashesMetaData) ProtoReflect

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

func (*EpochBlockHashesMetaData) Reset

func (x *EpochBlockHashesMetaData) Reset()

func (*EpochBlockHashesMetaData) String

func (x *EpochBlockHashesMetaData) String() string

type EpochBlockHashesRequest

type EpochBlockHashesRequest struct {
	Epoch               uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	FinalizedHeaderHash []byte `protobuf:"bytes,2,opt,name=finalized_header_hash,json=finalizedHeaderHash,proto3" json:"finalized_header_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*EpochBlockHashesRequest) Descriptor deprecated

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

Deprecated: Use EpochBlockHashesRequest.ProtoReflect.Descriptor instead.

func (*EpochBlockHashesRequest) GetEpoch

func (x *EpochBlockHashesRequest) GetEpoch() uint64

func (*EpochBlockHashesRequest) GetFinalizedHeaderHash

func (x *EpochBlockHashesRequest) GetFinalizedHeaderHash() []byte

func (*EpochBlockHashesRequest) ProtoMessage

func (*EpochBlockHashesRequest) ProtoMessage()

func (*EpochBlockHashesRequest) ProtoReflect

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

func (*EpochBlockHashesRequest) Reset

func (x *EpochBlockHashesRequest) Reset()

func (*EpochBlockHashesRequest) String

func (x *EpochBlockHashesRequest) String() string

type EpochBlockHashesResponse

type EpochBlockHashesResponse struct {
	IsHeaderHashFinalized    bool                      `` /* 129-byte string literal not displayed */
	EpochBlockHashesMetaData *EpochBlockHashesMetaData `` /* 139-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EpochBlockHashesResponse) Descriptor deprecated

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

Deprecated: Use EpochBlockHashesResponse.ProtoReflect.Descriptor instead.

func (*EpochBlockHashesResponse) GetEpochBlockHashesMetaData

func (x *EpochBlockHashesResponse) GetEpochBlockHashesMetaData() *EpochBlockHashesMetaData

func (*EpochBlockHashesResponse) GetIsHeaderHashFinalized

func (x *EpochBlockHashesResponse) GetIsHeaderHashFinalized() bool

func (*EpochBlockHashesResponse) ProtoMessage

func (*EpochBlockHashesResponse) ProtoMessage()

func (*EpochBlockHashesResponse) ProtoReflect

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

func (*EpochBlockHashesResponse) Reset

func (x *EpochBlockHashesResponse) Reset()

func (*EpochBlockHashesResponse) String

func (x *EpochBlockHashesResponse) String() string

type EpochMetaData

type EpochMetaData struct {
	Epoch                       uint64          `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	PrevSlotLastBlockHeaderHash []byte          `` /* 150-byte string literal not displayed */
	SlotInfo                    []*SlotInfo     `protobuf:"bytes,3,rep,name=slot_info,json=slotInfo,proto3" json:"slot_info,omitempty"`
	Validators                  [][]byte        `protobuf:"bytes,4,rep,name=validators,proto3" json:"validators,omitempty"`
	PrevEpochStakeData          *EpochStakeData `protobuf:"bytes,5,opt,name=prev_epoch_stake_data,json=prevEpochStakeData,proto3" json:"prev_epoch_stake_data,omitempty"`
	// contains filtered or unexported fields
}

func (*EpochMetaData) Descriptor deprecated

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

Deprecated: Use EpochMetaData.ProtoReflect.Descriptor instead.

func (*EpochMetaData) GetEpoch

func (x *EpochMetaData) GetEpoch() uint64

func (*EpochMetaData) GetPrevEpochStakeData

func (x *EpochMetaData) GetPrevEpochStakeData() *EpochStakeData

func (*EpochMetaData) GetPrevSlotLastBlockHeaderHash

func (x *EpochMetaData) GetPrevSlotLastBlockHeaderHash() []byte

func (*EpochMetaData) GetSlotInfo

func (x *EpochMetaData) GetSlotInfo() []*SlotInfo

func (*EpochMetaData) GetValidators

func (x *EpochMetaData) GetValidators() [][]byte

func (*EpochMetaData) ProtoMessage

func (*EpochMetaData) ProtoMessage()

func (*EpochMetaData) ProtoReflect

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

func (*EpochMetaData) Reset

func (x *EpochMetaData) Reset()

func (*EpochMetaData) String

func (x *EpochMetaData) String() string

type EpochStakeData

type EpochStakeData struct {
	TotalStakeAmountFound   uint64 `` /* 129-byte string literal not displayed */
	TotalStakeAmountAlloted uint64 `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*EpochStakeData) Descriptor deprecated

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

Deprecated: Use EpochStakeData.ProtoReflect.Descriptor instead.

func (*EpochStakeData) GetTotalStakeAmountAlloted

func (x *EpochStakeData) GetTotalStakeAmountAlloted() uint64

func (*EpochStakeData) GetTotalStakeAmountFound

func (x *EpochStakeData) GetTotalStakeAmountFound() uint64

func (*EpochStakeData) ProtoMessage

func (*EpochStakeData) ProtoMessage()

func (*EpochStakeData) ProtoReflect

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

func (*EpochStakeData) Reset

func (x *EpochStakeData) Reset()

func (*EpochStakeData) String

func (x *EpochStakeData) String() string

type FBData

type FBData struct {
	BlockHeaderHash []byte `protobuf:"bytes,1,opt,name=block_header_hash,json=blockHeaderHash,proto3" json:"block_header_hash,omitempty"`
	// contains filtered or unexported fields
}

func (*FBData) Descriptor deprecated

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

Deprecated: Use FBData.ProtoReflect.Descriptor instead.

func (*FBData) GetBlockHeaderHash

func (x *FBData) GetBlockHeaderHash() []byte

func (*FBData) ProtoMessage

func (*FBData) ProtoMessage()

func (*FBData) ProtoReflect

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

func (*FBData) Reset

func (x *FBData) Reset()

func (*FBData) String

func (x *FBData) String() string

type Info

type Info struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	HexSeed  string `protobuf:"bytes,2,opt,name=hex_seed,json=hexSeed,proto3" json:"hex_seed,omitempty"`
	Mnemonic string `protobuf:"bytes,3,opt,name=mnemonic,proto3" json:"mnemonic,omitempty"`
	Type     uint32 `protobuf:"varint,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

func (*Info) Descriptor deprecated

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

Deprecated: Use Info.ProtoReflect.Descriptor instead.

func (*Info) GetAddress

func (x *Info) GetAddress() string

func (*Info) GetHexSeed

func (x *Info) GetHexSeed() string

func (*Info) GetMnemonic

func (x *Info) GetMnemonic() string

func (*Info) GetType

func (x *Info) GetType() uint32

func (*Info) ProtoMessage

func (*Info) ProtoMessage()

func (*Info) ProtoReflect

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

func (*Info) Reset

func (x *Info) Reset()

func (*Info) String

func (x *Info) String() string

type LegacyMessage

type LegacyMessage struct {
	FuncName LegacyMessage_FuncName `protobuf:"varint,1,opt,name=func_name,json=funcName,proto3,enum=protos.LegacyMessage_FuncName" json:"func_name,omitempty"`
	// Types that are assignable to Data:
	//	*LegacyMessage_NoData
	//	*LegacyMessage_VeData
	//	*LegacyMessage_PlData
	//	*LegacyMessage_PongData
	//	*LegacyMessage_MrData
	//	*LegacyMessage_BlockForAttestation
	//	*LegacyMessage_Block
	//	*LegacyMessage_FbData
	//	*LegacyMessage_PbData
	//	*LegacyMessage_TtData
	//	*LegacyMessage_StData
	//	*LegacyMessage_AtData
	//	*LegacyMessage_SyncData
	//	*LegacyMessage_ChainStateData
	//	*LegacyMessage_EpochBlockHashesRequest
	//	*LegacyMessage_EpochBlockHashesResponse
	//	*LegacyMessage_P2PAckData
	Data isLegacyMessage_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*LegacyMessage) Descriptor deprecated

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

Deprecated: Use LegacyMessage.ProtoReflect.Descriptor instead.

func (*LegacyMessage) GetAtData

func (x *LegacyMessage) GetAtData() *ProtocolTransactionData

func (*LegacyMessage) GetBlock

func (x *LegacyMessage) GetBlock() *Block

func (*LegacyMessage) GetBlockForAttestation

func (x *LegacyMessage) GetBlockForAttestation() *BlockForAttestation

func (*LegacyMessage) GetChainStateData

func (x *LegacyMessage) GetChainStateData() *NodeChainState

func (*LegacyMessage) GetData

func (m *LegacyMessage) GetData() isLegacyMessage_Data

func (*LegacyMessage) GetEpochBlockHashesRequest

func (x *LegacyMessage) GetEpochBlockHashesRequest() *EpochBlockHashesRequest

func (*LegacyMessage) GetEpochBlockHashesResponse

func (x *LegacyMessage) GetEpochBlockHashesResponse() *EpochBlockHashesResponse

func (*LegacyMessage) GetFbData

func (x *LegacyMessage) GetFbData() *FBData

func (*LegacyMessage) GetFuncName

func (x *LegacyMessage) GetFuncName() LegacyMessage_FuncName

func (*LegacyMessage) GetMrData

func (x *LegacyMessage) GetMrData() *MRData

func (*LegacyMessage) GetNoData

func (x *LegacyMessage) GetNoData() *NoData

func (*LegacyMessage) GetP2PAckData

func (x *LegacyMessage) GetP2PAckData() *P2PAcknowledgement

func (*LegacyMessage) GetPbData

func (x *LegacyMessage) GetPbData() *PBData

func (*LegacyMessage) GetPlData

func (x *LegacyMessage) GetPlData() *PLData

func (*LegacyMessage) GetPongData

func (x *LegacyMessage) GetPongData() *PONGData

func (*LegacyMessage) GetStData

func (x *LegacyMessage) GetStData() *Transaction

func (*LegacyMessage) GetSyncData

func (x *LegacyMessage) GetSyncData() *SYNCData

func (*LegacyMessage) GetTtData

func (x *LegacyMessage) GetTtData() *Transaction

func (*LegacyMessage) GetVeData

func (x *LegacyMessage) GetVeData() *VEData

func (*LegacyMessage) ProtoMessage

func (*LegacyMessage) ProtoMessage()

func (*LegacyMessage) ProtoReflect

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

func (*LegacyMessage) Reset

func (x *LegacyMessage) Reset()

func (*LegacyMessage) String

func (x *LegacyMessage) String() string

type LegacyMessage_AtData

type LegacyMessage_AtData struct {
	AtData *ProtocolTransactionData `protobuf:"bytes,14,opt,name=at_data,json=atData,proto3,oneof"`
}

type LegacyMessage_Block

type LegacyMessage_Block struct {
	Block *Block `protobuf:"bytes,9,opt,name=block,proto3,oneof"`
}

type LegacyMessage_BlockForAttestation

type LegacyMessage_BlockForAttestation struct {
	BlockForAttestation *BlockForAttestation `protobuf:"bytes,8,opt,name=block_for_attestation,json=blockForAttestation,proto3,oneof"`
}

type LegacyMessage_ChainStateData

type LegacyMessage_ChainStateData struct {
	ChainStateData *NodeChainState `protobuf:"bytes,16,opt,name=chain_state_data,json=chainStateData,proto3,oneof"`
}

type LegacyMessage_EpochBlockHashesRequest

type LegacyMessage_EpochBlockHashesRequest struct {
	EpochBlockHashesRequest *EpochBlockHashesRequest `protobuf:"bytes,17,opt,name=epoch_block_hashes_request,json=epochBlockHashesRequest,proto3,oneof"`
}

type LegacyMessage_EpochBlockHashesResponse

type LegacyMessage_EpochBlockHashesResponse struct {
	EpochBlockHashesResponse *EpochBlockHashesResponse `protobuf:"bytes,18,opt,name=epoch_block_hashes_response,json=epochBlockHashesResponse,proto3,oneof"`
}

type LegacyMessage_FbData

type LegacyMessage_FbData struct {
	FbData *FBData `protobuf:"bytes,10,opt,name=fb_data,json=fbData,proto3,oneof"`
}

type LegacyMessage_FuncName

type LegacyMessage_FuncName int32
const (
	LegacyMessage_VE         LegacyMessage_FuncName = 0
	LegacyMessage_PL         LegacyMessage_FuncName = 1
	LegacyMessage_PONG       LegacyMessage_FuncName = 2
	LegacyMessage_MR         LegacyMessage_FuncName = 3
	LegacyMessage_SFM        LegacyMessage_FuncName = 4
	LegacyMessage_BA         LegacyMessage_FuncName = 5
	LegacyMessage_BK         LegacyMessage_FuncName = 6
	LegacyMessage_FB         LegacyMessage_FuncName = 7
	LegacyMessage_PB         LegacyMessage_FuncName = 8
	LegacyMessage_TT         LegacyMessage_FuncName = 9
	LegacyMessage_ST         LegacyMessage_FuncName = 10
	LegacyMessage_AT         LegacyMessage_FuncName = 11
	LegacyMessage_SYNC       LegacyMessage_FuncName = 12
	LegacyMessage_CHAINSTATE LegacyMessage_FuncName = 13
	LegacyMessage_EBHREQ     LegacyMessage_FuncName = 14
	LegacyMessage_EBHRESP    LegacyMessage_FuncName = 15
	LegacyMessage_P2P_ACK    LegacyMessage_FuncName = 16
)

func (LegacyMessage_FuncName) Descriptor

func (LegacyMessage_FuncName) Enum

func (LegacyMessage_FuncName) EnumDescriptor deprecated

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

Deprecated: Use LegacyMessage_FuncName.Descriptor instead.

func (LegacyMessage_FuncName) Number

func (LegacyMessage_FuncName) String

func (x LegacyMessage_FuncName) String() string

func (LegacyMessage_FuncName) Type

type LegacyMessage_MrData

type LegacyMessage_MrData struct {
	MrData *MRData `protobuf:"bytes,7,opt,name=mrData,proto3,oneof"`
}

type LegacyMessage_NoData

type LegacyMessage_NoData struct {
	NoData *NoData `protobuf:"bytes,3,opt,name=no_data,json=noData,proto3,oneof"`
}

type LegacyMessage_P2PAckData

type LegacyMessage_P2PAckData struct {
	P2PAckData *P2PAcknowledgement `protobuf:"bytes,19,opt,name=p2p_ack_data,json=p2pAckData,proto3,oneof"`
}

type LegacyMessage_PbData

type LegacyMessage_PbData struct {
	PbData *PBData `protobuf:"bytes,11,opt,name=pb_data,json=pbData,proto3,oneof"`
}

type LegacyMessage_PlData

type LegacyMessage_PlData struct {
	PlData *PLData `protobuf:"bytes,5,opt,name=pl_data,json=plData,proto3,oneof"`
}

type LegacyMessage_PongData

type LegacyMessage_PongData struct {
	PongData *PONGData `protobuf:"bytes,6,opt,name=pong_data,json=pongData,proto3,oneof"`
}

type LegacyMessage_StData

type LegacyMessage_StData struct {
	StData *Transaction `protobuf:"bytes,13,opt,name=st_data,json=stData,proto3,oneof"`
}

type LegacyMessage_SyncData

type LegacyMessage_SyncData struct {
	SyncData *SYNCData `protobuf:"bytes,15,opt,name=sync_data,json=syncData,proto3,oneof"`
}

type LegacyMessage_TtData

type LegacyMessage_TtData struct {
	TtData *Transaction `protobuf:"bytes,12,opt,name=tt_data,json=ttData,proto3,oneof"`
}

type LegacyMessage_VeData

type LegacyMessage_VeData struct {
	VeData *VEData `protobuf:"bytes,4,opt,name=ve_data,json=veData,proto3,oneof"`
}

type MRData

type MRData struct {
	Hash             []byte                 `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Type             LegacyMessage_FuncName `protobuf:"varint,2,opt,name=type,proto3,enum=protos.LegacyMessage_FuncName" json:"type,omitempty"`
	BlockProposer    []byte                 `protobuf:"bytes,3,opt,name=block_proposer,json=blockProposer,proto3" json:"block_proposer,omitempty"`
	ParentHeaderHash []byte                 `protobuf:"bytes,4,opt,name=parent_header_hash,json=parentHeaderHash,proto3" json:"parent_header_hash,omitempty"`
	SlotNumber       uint64                 `protobuf:"varint,5,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
	// contains filtered or unexported fields
}

func (*MRData) Descriptor deprecated

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

Deprecated: Use MRData.ProtoReflect.Descriptor instead.

func (*MRData) GetBlockProposer

func (x *MRData) GetBlockProposer() []byte

func (*MRData) GetHash

func (x *MRData) GetHash() []byte

func (*MRData) GetParentHeaderHash

func (x *MRData) GetParentHeaderHash() []byte

func (*MRData) GetSlotNumber

func (x *MRData) GetSlotNumber() uint64

func (*MRData) GetType

func (x *MRData) GetType() LegacyMessage_FuncName

func (*MRData) ProtoMessage

func (*MRData) ProtoMessage()

func (*MRData) ProtoReflect

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

func (*MRData) Reset

func (x *MRData) Reset()

func (*MRData) String

func (x *MRData) String() string

type MainChainMetaData

type MainChainMetaData struct {
	FinalizedBlockHeaderHash []byte `` /* 137-byte string literal not displayed */
	FinalizedBlockSlotNumber uint64 `` /* 138-byte string literal not displayed */
	LastBlockHeaderHash      []byte `protobuf:"bytes,3,opt,name=last_block_header_hash,json=lastBlockHeaderHash,proto3" json:"last_block_header_hash,omitempty"`
	LastBlockSlotNumber      uint64 `protobuf:"varint,4,opt,name=last_block_slot_number,json=lastBlockSlotNumber,proto3" json:"last_block_slot_number,omitempty"`
	// contains filtered or unexported fields
}

func (*MainChainMetaData) Descriptor deprecated

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

Deprecated: Use MainChainMetaData.ProtoReflect.Descriptor instead.

func (*MainChainMetaData) GetFinalizedBlockHeaderHash

func (x *MainChainMetaData) GetFinalizedBlockHeaderHash() []byte

func (*MainChainMetaData) GetFinalizedBlockSlotNumber

func (x *MainChainMetaData) GetFinalizedBlockSlotNumber() uint64

func (*MainChainMetaData) GetLastBlockHeaderHash

func (x *MainChainMetaData) GetLastBlockHeaderHash() []byte

func (*MainChainMetaData) GetLastBlockSlotNumber

func (x *MainChainMetaData) GetLastBlockSlotNumber() uint64

func (*MainChainMetaData) ProtoMessage

func (*MainChainMetaData) ProtoMessage()

func (*MainChainMetaData) ProtoReflect

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

func (*MainChainMetaData) Reset

func (x *MainChainMetaData) Reset()

func (*MainChainMetaData) String

func (x *MainChainMetaData) String() string

type NoData

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

func (*NoData) Descriptor deprecated

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

Deprecated: Use NoData.ProtoReflect.Descriptor instead.

func (*NoData) ProtoMessage

func (*NoData) ProtoMessage()

func (*NoData) ProtoReflect

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

func (*NoData) Reset

func (x *NoData) Reset()

func (*NoData) String

func (x *NoData) String() string

type NodeChainState

type NodeChainState struct {
	SlotNumber       uint64 `protobuf:"varint,1,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
	HeaderHash       []byte `protobuf:"bytes,2,opt,name=header_hash,json=headerHash,proto3" json:"header_hash,omitempty"`
	TotalStakeAmount []byte `protobuf:"bytes,3,opt,name=total_stake_amount,json=totalStakeAmount,proto3" json:"total_stake_amount,omitempty"`
	Version          string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
	Timestamp        uint64 `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeChainState) Descriptor deprecated

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

Deprecated: Use NodeChainState.ProtoReflect.Descriptor instead.

func (*NodeChainState) GetHeaderHash

func (x *NodeChainState) GetHeaderHash() []byte

func (*NodeChainState) GetSlotNumber

func (x *NodeChainState) GetSlotNumber() uint64

func (*NodeChainState) GetTimestamp

func (x *NodeChainState) GetTimestamp() uint64

func (*NodeChainState) GetTotalStakeAmount

func (x *NodeChainState) GetTotalStakeAmount() []byte

func (*NodeChainState) GetVersion

func (x *NodeChainState) GetVersion() string

func (*NodeChainState) ProtoMessage

func (*NodeChainState) ProtoMessage()

func (*NodeChainState) ProtoReflect

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

func (*NodeChainState) Reset

func (x *NodeChainState) Reset()

func (*NodeChainState) String

func (x *NodeChainState) String() string

type OTSIndexMetaData

type OTSIndexMetaData struct {

	// tx_hash, address, page_number must be updated only once, when the metadata is created for the first time
	TxHash     []byte   `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Address    []byte   `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	PageNumber uint64   `protobuf:"varint,3,opt,name=page_number,json=pageNumber,proto3" json:"page_number,omitempty"`
	Bitfield   [][]byte `protobuf:"bytes,4,rep,name=bitfield,proto3" json:"bitfield,omitempty"`
	// contains filtered or unexported fields
}

func (*OTSIndexMetaData) Descriptor deprecated

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

Deprecated: Use OTSIndexMetaData.ProtoReflect.Descriptor instead.

func (*OTSIndexMetaData) GetAddress

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

func (*OTSIndexMetaData) GetBitfield

func (x *OTSIndexMetaData) GetBitfield() [][]byte

func (*OTSIndexMetaData) GetPageNumber

func (x *OTSIndexMetaData) GetPageNumber() uint64

func (*OTSIndexMetaData) GetTxHash

func (x *OTSIndexMetaData) GetTxHash() []byte

func (*OTSIndexMetaData) ProtoMessage

func (*OTSIndexMetaData) ProtoMessage()

func (*OTSIndexMetaData) ProtoReflect

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

func (*OTSIndexMetaData) Reset

func (x *OTSIndexMetaData) Reset()

func (*OTSIndexMetaData) String

func (x *OTSIndexMetaData) String() string

type P2PAcknowledgement

type P2PAcknowledgement struct {
	BytesProcessed uint32 `protobuf:"varint,1,opt,name=bytes_processed,json=bytesProcessed,proto3" json:"bytes_processed,omitempty"`
	// contains filtered or unexported fields
}

func (*P2PAcknowledgement) Descriptor deprecated

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

Deprecated: Use P2PAcknowledgement.ProtoReflect.Descriptor instead.

func (*P2PAcknowledgement) GetBytesProcessed

func (x *P2PAcknowledgement) GetBytesProcessed() uint32

func (*P2PAcknowledgement) ProtoMessage

func (*P2PAcknowledgement) ProtoMessage()

func (*P2PAcknowledgement) ProtoReflect

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

func (*P2PAcknowledgement) Reset

func (x *P2PAcknowledgement) Reset()

func (*P2PAcknowledgement) String

func (x *P2PAcknowledgement) String() string

type PBData

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

func (*PBData) Descriptor deprecated

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

Deprecated: Use PBData.ProtoReflect.Descriptor instead.

func (*PBData) GetBlock

func (x *PBData) GetBlock() *Block

func (*PBData) ProtoMessage

func (*PBData) ProtoMessage()

func (*PBData) ProtoReflect

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

func (*PBData) Reset

func (x *PBData) Reset()

func (*PBData) String

func (x *PBData) String() string

type PLData

type PLData struct {
	PeerIps    []string `protobuf:"bytes,1,rep,name=peer_ips,json=peerIps,proto3" json:"peer_ips,omitempty"`
	PublicPort uint32   `protobuf:"varint,2,opt,name=public_port,json=publicPort,proto3" json:"public_port,omitempty"`
	// contains filtered or unexported fields
}

func (*PLData) Descriptor deprecated

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

Deprecated: Use PLData.ProtoReflect.Descriptor instead.

func (*PLData) GetPeerIps

func (x *PLData) GetPeerIps() []string

func (*PLData) GetPublicPort

func (x *PLData) GetPublicPort() uint32

func (*PLData) ProtoMessage

func (*PLData) ProtoMessage()

func (*PLData) ProtoReflect

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

func (*PLData) Reset

func (x *PLData) Reset()

func (*PLData) String

func (x *PLData) String() string

type PONGData

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

func (*PONGData) Descriptor deprecated

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

Deprecated: Use PONGData.ProtoReflect.Descriptor instead.

func (*PONGData) ProtoMessage

func (*PONGData) ProtoMessage()

func (*PONGData) ProtoReflect

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

func (*PONGData) Reset

func (x *PONGData) Reset()

func (*PONGData) String

func (x *PONGData) String() string

type PeerData

type PeerData struct {
	ConnectedPeers    []*PeerInfo `protobuf:"bytes,1,rep,name=connected_peers,json=connectedPeers,proto3" json:"connected_peers,omitempty"`
	DisconnectedPeers []*PeerInfo `protobuf:"bytes,2,rep,name=disconnected_peers,json=disconnectedPeers,proto3" json:"disconnected_peers,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerData) Descriptor deprecated

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

Deprecated: Use PeerData.ProtoReflect.Descriptor instead.

func (*PeerData) GetConnectedPeers

func (x *PeerData) GetConnectedPeers() []*PeerInfo

func (*PeerData) GetDisconnectedPeers

func (x *PeerData) GetDisconnectedPeers() []*PeerInfo

func (*PeerData) ProtoMessage

func (*PeerData) ProtoMessage()

func (*PeerData) ProtoReflect

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

func (*PeerData) Reset

func (x *PeerData) Reset()

func (*PeerData) String

func (x *PeerData) String() string

type PeerInfo

type PeerInfo struct {
	Ip        string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip,omitempty"`
	MultiAddr string `protobuf:"bytes,2,opt,name=multi_addr,json=multiAddr,proto3" json:"multi_addr,omitempty"`
	Identity  string `protobuf:"bytes,3,opt,name=identity,proto3" json:"identity,omitempty"`
	Timestamp uint64 `protobuf:"varint,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*PeerInfo) Descriptor deprecated

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

Deprecated: Use PeerInfo.ProtoReflect.Descriptor instead.

func (*PeerInfo) GetIdentity

func (x *PeerInfo) GetIdentity() string

func (*PeerInfo) GetIp

func (x *PeerInfo) GetIp() string

func (*PeerInfo) GetMultiAddr

func (x *PeerInfo) GetMultiAddr() string

func (*PeerInfo) GetTimestamp

func (x *PeerInfo) GetTimestamp() uint64

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 PreState

type PreState struct {
	Transactions   []*Transaction    `protobuf:"bytes,1,rep,name=transactions,proto3" json:"transactions,omitempty"`
	AddressBalance []*AddressBalance `protobuf:"bytes,2,rep,name=address_balance,json=addressBalance,proto3" json:"address_balance,omitempty"`
	// contains filtered or unexported fields
}

func (*PreState) Descriptor deprecated

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

Deprecated: Use PreState.ProtoReflect.Descriptor instead.

func (*PreState) GetAddressBalance

func (x *PreState) GetAddressBalance() []*AddressBalance

func (*PreState) GetTransactions

func (x *PreState) GetTransactions() []*Transaction

func (*PreState) ProtoMessage

func (*PreState) ProtoMessage()

func (*PreState) ProtoReflect

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

func (*PreState) Reset

func (x *PreState) Reset()

func (*PreState) String

func (x *PreState) String() string

type ProtocolTransaction

type ProtocolTransaction struct {
	ChainId   uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Nonce     uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Pk        []byte `protobuf:"bytes,3,opt,name=pk,proto3" json:"pk,omitempty"`
	Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	Hash      []byte `protobuf:"bytes,5,opt,name=hash,proto3" json:"hash,omitempty"`
	// Types that are assignable to Type:
	//	*ProtocolTransaction_CoinBase
	//	*ProtocolTransaction_Attest
	Type isProtocolTransaction_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*ProtocolTransaction) Descriptor deprecated

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

Deprecated: Use ProtocolTransaction.ProtoReflect.Descriptor instead.

func (*ProtocolTransaction) GetAttest

func (x *ProtocolTransaction) GetAttest() *Attest

func (*ProtocolTransaction) GetChainId

func (x *ProtocolTransaction) GetChainId() uint64

func (*ProtocolTransaction) GetCoinBase

func (x *ProtocolTransaction) GetCoinBase() *CoinBase

func (*ProtocolTransaction) GetHash

func (x *ProtocolTransaction) GetHash() []byte

func (*ProtocolTransaction) GetNonce

func (x *ProtocolTransaction) GetNonce() uint64

func (*ProtocolTransaction) GetPk

func (x *ProtocolTransaction) GetPk() []byte

func (*ProtocolTransaction) GetSignature

func (x *ProtocolTransaction) GetSignature() []byte

func (*ProtocolTransaction) GetType

func (m *ProtocolTransaction) GetType() isProtocolTransaction_Type

func (*ProtocolTransaction) ProtoMessage

func (*ProtocolTransaction) ProtoMessage()

func (*ProtocolTransaction) ProtoReflect

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

func (*ProtocolTransaction) Reset

func (x *ProtocolTransaction) Reset()

func (*ProtocolTransaction) String

func (x *ProtocolTransaction) String() string

type ProtocolTransactionData

type ProtocolTransactionData struct {
	Tx                      *ProtocolTransaction `protobuf:"bytes,1,opt,name=tx,proto3" json:"tx,omitempty"`
	SlotNumber              uint64               `protobuf:"varint,2,opt,name=slot_number,json=slotNumber,proto3" json:"slot_number,omitempty"`
	BlockProposer           []byte               `protobuf:"bytes,3,opt,name=block_proposer,json=blockProposer,proto3" json:"block_proposer,omitempty"`
	ParentHeaderHash        []byte               `protobuf:"bytes,4,opt,name=parent_header_hash,json=parentHeaderHash,proto3" json:"parent_header_hash,omitempty"`
	PartialBlockSigningHash []byte               `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProtocolTransactionData) Descriptor deprecated

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

Deprecated: Use ProtocolTransactionData.ProtoReflect.Descriptor instead.

func (*ProtocolTransactionData) GetBlockProposer

func (x *ProtocolTransactionData) GetBlockProposer() []byte

func (*ProtocolTransactionData) GetParentHeaderHash

func (x *ProtocolTransactionData) GetParentHeaderHash() []byte

func (*ProtocolTransactionData) GetPartialBlockSigningHash

func (x *ProtocolTransactionData) GetPartialBlockSigningHash() []byte

func (*ProtocolTransactionData) GetSlotNumber

func (x *ProtocolTransactionData) GetSlotNumber() uint64

func (*ProtocolTransactionData) GetTx

func (*ProtocolTransactionData) ProtoMessage

func (*ProtocolTransactionData) ProtoMessage()

func (*ProtocolTransactionData) ProtoReflect

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

func (*ProtocolTransactionData) Reset

func (x *ProtocolTransactionData) Reset()

func (*ProtocolTransactionData) String

func (x *ProtocolTransactionData) String() string

type ProtocolTransactionMetaData

type ProtocolTransactionMetaData struct {
	BlockHash           []byte               `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	BlockNumber         uint64               `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	Index               uint64               `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	ProtocolTransaction *ProtocolTransaction `protobuf:"bytes,4,opt,name=protocol_transaction,json=protocolTransaction,proto3" json:"protocol_transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolTransactionMetaData) Descriptor deprecated

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

Deprecated: Use ProtocolTransactionMetaData.ProtoReflect.Descriptor instead.

func (*ProtocolTransactionMetaData) GetBlockHash

func (x *ProtocolTransactionMetaData) GetBlockHash() []byte

func (*ProtocolTransactionMetaData) GetBlockNumber

func (x *ProtocolTransactionMetaData) GetBlockNumber() uint64

func (*ProtocolTransactionMetaData) GetIndex

func (x *ProtocolTransactionMetaData) GetIndex() uint64

func (*ProtocolTransactionMetaData) GetProtocolTransaction

func (x *ProtocolTransactionMetaData) GetProtocolTransaction() *ProtocolTransaction

func (*ProtocolTransactionMetaData) ProtoMessage

func (*ProtocolTransactionMetaData) ProtoMessage()

func (*ProtocolTransactionMetaData) ProtoReflect

func (*ProtocolTransactionMetaData) Reset

func (x *ProtocolTransactionMetaData) Reset()

func (*ProtocolTransactionMetaData) String

func (x *ProtocolTransactionMetaData) String() string

type ProtocolTransaction_Attest

type ProtocolTransaction_Attest struct {
	Attest *Attest `protobuf:"bytes,7,opt,name=attest,proto3,oneof"`
}

type ProtocolTransaction_CoinBase

type ProtocolTransaction_CoinBase struct {
	CoinBase *CoinBase `protobuf:"bytes,6,opt,name=coin_base,json=coinBase,proto3,oneof"`
}

type SYNCData

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

func (*SYNCData) Descriptor deprecated

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

Deprecated: Use SYNCData.ProtoReflect.Descriptor instead.

func (*SYNCData) GetState

func (x *SYNCData) GetState() string

func (*SYNCData) ProtoMessage

func (*SYNCData) ProtoMessage()

func (*SYNCData) ProtoReflect

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

func (*SYNCData) Reset

func (x *SYNCData) Reset()

func (*SYNCData) String

func (x *SYNCData) String() string

type SlaveMetaData

type SlaveMetaData struct {

	// tx_hash, address, slavePK must be updated only once, when the metadata is created for the first time
	TxHash  []byte `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
	Address []byte `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	SlavePk []byte `protobuf:"bytes,3,opt,name=slave_pk,json=slavePk,proto3" json:"slave_pk,omitempty"`
	// contains filtered or unexported fields
}

func (*SlaveMetaData) Descriptor deprecated

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

Deprecated: Use SlaveMetaData.ProtoReflect.Descriptor instead.

func (*SlaveMetaData) GetAddress

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

func (*SlaveMetaData) GetSlavePk

func (x *SlaveMetaData) GetSlavePk() []byte

func (*SlaveMetaData) GetTxHash

func (x *SlaveMetaData) GetTxHash() []byte

func (*SlaveMetaData) ProtoMessage

func (*SlaveMetaData) ProtoMessage()

func (*SlaveMetaData) ProtoReflect

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

func (*SlaveMetaData) Reset

func (x *SlaveMetaData) Reset()

func (*SlaveMetaData) String

func (x *SlaveMetaData) String() string

type SlotInfo

type SlotInfo struct {
	SlotLeader uint64   `protobuf:"varint,1,opt,name=slot_leader,json=slotLeader,proto3" json:"slot_leader,omitempty"`
	Attestors  []uint64 `protobuf:"varint,2,rep,packed,name=attestors,proto3" json:"attestors,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotInfo) Descriptor deprecated

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

Deprecated: Use SlotInfo.ProtoReflect.Descriptor instead.

func (*SlotInfo) GetAttestors

func (x *SlotInfo) GetAttestors() []uint64

func (*SlotInfo) GetSlotLeader

func (x *SlotInfo) GetSlotLeader() uint64

func (*SlotInfo) ProtoMessage

func (*SlotInfo) ProtoMessage()

func (*SlotInfo) ProtoReflect

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

func (*SlotInfo) Reset

func (x *SlotInfo) Reset()

func (*SlotInfo) String

func (x *SlotInfo) String() string

type Stake

type Stake struct {
	Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// contains filtered or unexported fields
}

This transaction must be rejected if the number of Dilithium pks is not proportional to the 10k funds

func (*Stake) Descriptor deprecated

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

Deprecated: Use Stake.ProtoReflect.Descriptor instead.

func (*Stake) GetAmount

func (x *Stake) GetAmount() uint64

func (*Stake) ProtoMessage

func (*Stake) ProtoMessage()

func (*Stake) ProtoReflect

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

func (*Stake) Reset

func (x *Stake) Reset()

func (*Stake) String

func (x *Stake) String() string

type StakingKeys

type StakingKeys struct {
	Version       string           `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	DilithiumInfo []*DilithiumInfo `protobuf:"bytes,2,rep,name=dilithium_info,json=dilithiumInfo,proto3" json:"dilithium_info,omitempty"`
	// contains filtered or unexported fields
}

func (*StakingKeys) Descriptor deprecated

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

Deprecated: Use StakingKeys.ProtoReflect.Descriptor instead.

func (*StakingKeys) GetDilithiumInfo

func (x *StakingKeys) GetDilithiumInfo() []*DilithiumInfo

func (*StakingKeys) GetVersion

func (x *StakingKeys) GetVersion() string

func (*StakingKeys) ProtoMessage

func (*StakingKeys) ProtoMessage()

func (*StakingKeys) ProtoReflect

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

func (*StakingKeys) Reset

func (x *StakingKeys) Reset()

func (*StakingKeys) String

func (x *StakingKeys) String() string

type Transaction

type Transaction struct {
	ChainId   uint64 `protobuf:"varint,1,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
	Nonce     uint64 `protobuf:"varint,2,opt,name=nonce,proto3" json:"nonce,omitempty"`
	Pk        []byte `protobuf:"bytes,3,opt,name=pk,proto3" json:"pk,omitempty"`
	Signature []byte `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	Gas       uint64 `protobuf:"varint,5,opt,name=gas,proto3" json:"gas,omitempty"`
	GasPrice  uint64 `protobuf:"varint,6,opt,name=gas_price,json=gasPrice,proto3" json:"gas_price,omitempty"`
	Hash      []byte `protobuf:"bytes,7,opt,name=hash,proto3" json:"hash,omitempty"`
	// Types that are assignable to Type:
	//	*Transaction_Stake
	//	*Transaction_Transfer
	Type isTransaction_Type `protobuf_oneof:"type"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetChainId

func (x *Transaction) GetChainId() uint64

func (*Transaction) GetGas

func (x *Transaction) GetGas() uint64

func (*Transaction) GetGasPrice

func (x *Transaction) GetGasPrice() uint64

func (*Transaction) GetHash

func (x *Transaction) GetHash() []byte

func (*Transaction) GetNonce

func (x *Transaction) GetNonce() uint64

func (*Transaction) GetPk

func (x *Transaction) GetPk() []byte

func (*Transaction) GetSignature

func (x *Transaction) GetSignature() []byte

func (*Transaction) GetStake

func (x *Transaction) GetStake() *Stake

func (*Transaction) GetTransfer

func (x *Transaction) GetTransfer() *Transfer

func (*Transaction) GetType

func (m *Transaction) GetType() isTransaction_Type

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

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

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TransactionList

type TransactionList struct {
	Txs []*Transaction `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionList) Descriptor deprecated

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

Deprecated: Use TransactionList.ProtoReflect.Descriptor instead.

func (*TransactionList) GetTxs

func (x *TransactionList) GetTxs() []*Transaction

func (*TransactionList) ProtoMessage

func (*TransactionList) ProtoMessage()

func (*TransactionList) ProtoReflect

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

func (*TransactionList) Reset

func (x *TransactionList) Reset()

func (*TransactionList) String

func (x *TransactionList) String() string

type TransactionMetaData

type TransactionMetaData struct {
	BlockHash   []byte       `protobuf:"bytes,1,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	BlockNumber uint64       `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	Index       uint64       `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	Transaction *Transaction `protobuf:"bytes,4,opt,name=transaction,proto3" json:"transaction,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionMetaData) Descriptor deprecated

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

Deprecated: Use TransactionMetaData.ProtoReflect.Descriptor instead.

func (*TransactionMetaData) GetBlockHash

func (x *TransactionMetaData) GetBlockHash() []byte

func (*TransactionMetaData) GetBlockNumber

func (x *TransactionMetaData) GetBlockNumber() uint64

func (*TransactionMetaData) GetIndex

func (x *TransactionMetaData) GetIndex() uint64

func (*TransactionMetaData) GetTransaction

func (x *TransactionMetaData) GetTransaction() *Transaction

func (*TransactionMetaData) ProtoMessage

func (*TransactionMetaData) ProtoMessage()

func (*TransactionMetaData) ProtoReflect

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

func (*TransactionMetaData) Reset

func (x *TransactionMetaData) Reset()

func (*TransactionMetaData) String

func (x *TransactionMetaData) String() string

type Transaction_Stake

type Transaction_Stake struct {
	Stake *Stake `protobuf:"bytes,8,opt,name=stake,proto3,oneof"`
}

type Transaction_Transfer

type Transaction_Transfer struct {
	Transfer *Transfer `protobuf:"bytes,9,opt,name=transfer,proto3,oneof"`
}

type Transfer

type Transfer struct {
	To    []byte `protobuf:"bytes,1,opt,name=to,proto3" json:"to,omitempty"`
	Value uint64 `protobuf:"varint,2,opt,name=value,proto3" json:"value,omitempty"`
	Data  []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*Transfer) Descriptor deprecated

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

Deprecated: Use Transfer.ProtoReflect.Descriptor instead.

func (*Transfer) GetData

func (x *Transfer) GetData() []byte

func (*Transfer) GetTo

func (x *Transfer) GetTo() []byte

func (*Transfer) GetValue

func (x *Transfer) GetValue() uint64

func (*Transfer) ProtoMessage

func (*Transfer) ProtoMessage()

func (*Transfer) ProtoReflect

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

func (*Transfer) Reset

func (x *Transfer) Reset()

func (*Transfer) String

func (x *Transfer) String() string

type VEData

type VEData struct {
	Version         string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	GenesisPrevHash []byte `protobuf:"bytes,2,opt,name=genesis_prev_hash,json=genesisPrevHash,proto3" json:"genesis_prev_hash,omitempty"`
	RateLimit       uint64 `protobuf:"varint,3,opt,name=rate_limit,json=rateLimit,proto3" json:"rate_limit,omitempty"`
	// contains filtered or unexported fields
}

func (*VEData) Descriptor deprecated

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

Deprecated: Use VEData.ProtoReflect.Descriptor instead.

func (*VEData) GetGenesisPrevHash

func (x *VEData) GetGenesisPrevHash() []byte

func (*VEData) GetRateLimit

func (x *VEData) GetRateLimit() uint64

func (*VEData) GetVersion

func (x *VEData) GetVersion() string

func (*VEData) ProtoMessage

func (*VEData) ProtoMessage()

func (*VEData) ProtoReflect

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

func (*VEData) Reset

func (x *VEData) Reset()

func (*VEData) String

func (x *VEData) String() string

type Wallet

type Wallet struct {
	Version string  `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	Info    []*Info `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*Wallet) Descriptor deprecated

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

Deprecated: Use Wallet.ProtoReflect.Descriptor instead.

func (*Wallet) GetInfo

func (x *Wallet) GetInfo() []*Info

func (*Wallet) GetVersion

func (x *Wallet) GetVersion() string

func (*Wallet) ProtoMessage

func (*Wallet) ProtoMessage()

func (*Wallet) ProtoReflect

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

func (*Wallet) Reset

func (x *Wallet) Reset()

func (*Wallet) String

func (x *Wallet) String() string

Jump to

Keyboard shortcuts

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