types

package
v0.0.1-beta Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var File_network_types_ibc_proto protoreflect.FileDescriptor
View Source
var File_network_types_monitoring_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ConsensusState

type ConsensusState struct {
	NextValidatorsHash string      `protobuf:"bytes,1,opt,name=next_validators_hash,json=nextValidatorsHash,proto3" json:"next_validators_hash,omitempty"`
	Timestamp          string      `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	Root               *MerkleRoot `protobuf:"bytes,3,opt,name=root,proto3" json:"root,omitempty"`
	// contains filtered or unexported fields
}

ConsensusState represents a Consensus State it is compatible with the dumped state from `appd q ibc client self-consensus-state` command

func (*ConsensusState) Descriptor deprecated

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

Deprecated: Use ConsensusState.ProtoReflect.Descriptor instead.

func (*ConsensusState) GetNextValidatorsHash

func (x *ConsensusState) GetNextValidatorsHash() string

func (*ConsensusState) GetRoot

func (x *ConsensusState) GetRoot() *MerkleRoot

func (*ConsensusState) GetTimestamp

func (x *ConsensusState) GetTimestamp() string

func (*ConsensusState) ProtoMessage

func (*ConsensusState) ProtoMessage()

func (*ConsensusState) ProtoReflect

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

func (*ConsensusState) Reset

func (x *ConsensusState) Reset()

func (*ConsensusState) String

func (x *ConsensusState) String() string

type MerkleRoot

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

MerkleRoot represents a Merkle Root in ConsensusState

func (*MerkleRoot) Descriptor deprecated

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

Deprecated: Use MerkleRoot.ProtoReflect.Descriptor instead.

func (*MerkleRoot) GetHash

func (x *MerkleRoot) GetHash() string

func (*MerkleRoot) ProtoMessage

func (*MerkleRoot) ProtoMessage()

func (*MerkleRoot) ProtoReflect

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

func (*MerkleRoot) Reset

func (x *MerkleRoot) Reset()

func (*MerkleRoot) String

func (x *MerkleRoot) String() string

type MonitoringPacket

type MonitoringPacket struct {
	BlockHeight     int64            `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"`
	SignatureCounts *SignatureCounts `protobuf:"bytes,2,opt,name=signature_counts,json=signatureCounts,proto3" json:"signature_counts,omitempty"`
	// contains filtered or unexported fields
}

MonitoringPacket is the packet sent over IBC that contains all the signature counts

func (*MonitoringPacket) Descriptor deprecated

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

Deprecated: Use MonitoringPacket.ProtoReflect.Descriptor instead.

func (*MonitoringPacket) GetBlockHeight

func (x *MonitoringPacket) GetBlockHeight() int64

func (*MonitoringPacket) GetSignatureCounts

func (x *MonitoringPacket) GetSignatureCounts() *SignatureCounts

func (*MonitoringPacket) ProtoMessage

func (*MonitoringPacket) ProtoMessage()

func (*MonitoringPacket) ProtoReflect

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

func (*MonitoringPacket) Reset

func (x *MonitoringPacket) Reset()

func (*MonitoringPacket) String

func (x *MonitoringPacket) String() string

type MonitoringPacketAck

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

MonitoringPacketAck defines a struct for the packet acknowledgment

func (*MonitoringPacketAck) Descriptor deprecated

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

Deprecated: Use MonitoringPacketAck.ProtoReflect.Descriptor instead.

func (*MonitoringPacketAck) ProtoMessage

func (*MonitoringPacketAck) ProtoMessage()

func (*MonitoringPacketAck) ProtoReflect

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

func (*MonitoringPacketAck) Reset

func (x *MonitoringPacketAck) Reset()

func (*MonitoringPacketAck) String

func (x *MonitoringPacketAck) String() string

type MonitoringPacketData

type MonitoringPacketData struct {

	// Types that are assignable to Packet:
	//
	//	*MonitoringPacketData_MonitoringPacket
	Packet isMonitoringPacketData_Packet `protobuf_oneof:"packet"`
	// contains filtered or unexported fields
}

MonitoringPacketData is the IBC packet for monitoring modules

func (*MonitoringPacketData) Descriptor deprecated

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

Deprecated: Use MonitoringPacketData.ProtoReflect.Descriptor instead.

func (*MonitoringPacketData) GetMonitoringPacket

func (x *MonitoringPacketData) GetMonitoringPacket() *MonitoringPacket

func (*MonitoringPacketData) GetPacket

func (x *MonitoringPacketData) GetPacket() isMonitoringPacketData_Packet

func (*MonitoringPacketData) ProtoMessage

func (*MonitoringPacketData) ProtoMessage()

func (*MonitoringPacketData) ProtoReflect

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

func (*MonitoringPacketData) Reset

func (x *MonitoringPacketData) Reset()

func (*MonitoringPacketData) String

func (x *MonitoringPacketData) String() string

type MonitoringPacketData_MonitoringPacket

type MonitoringPacketData_MonitoringPacket struct {
	// this line is used by starport scaffolding # ibc/packet/proto/field
	MonitoringPacket *MonitoringPacket `protobuf:"bytes,1,opt,name=monitoring_packet,json=monitoringPacket,proto3,oneof"`
}

type PubKey

type PubKey struct {
	Type_ string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

PubKey represents a public key in Validator

func (*PubKey) Descriptor deprecated

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

Deprecated: Use PubKey.ProtoReflect.Descriptor instead.

func (*PubKey) GetType_

func (x *PubKey) GetType_() string

func (*PubKey) GetValue

func (x *PubKey) GetValue() string

func (*PubKey) ProtoMessage

func (*PubKey) ProtoMessage()

func (*PubKey) ProtoReflect

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

func (*PubKey) Reset

func (x *PubKey) Reset()

func (*PubKey) String

func (x *PubKey) String() string

type SignatureCount

type SignatureCount struct {
	OpAddress          string `protobuf:"bytes,1,opt,name=op_address,json=opAddress,proto3" json:"op_address,omitempty"`
	RelativeSignatures string `protobuf:"bytes,2,opt,name=relative_signatures,json=relativeSignatures,proto3" json:"relative_signatures,omitempty"`
	// contains filtered or unexported fields
}

SignatureCount contains information of signature reporting for one specific validator with consensus address RelativeSignatures is the sum of all signatures relative to the validator set size

func (*SignatureCount) Descriptor deprecated

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

Deprecated: Use SignatureCount.ProtoReflect.Descriptor instead.

func (*SignatureCount) GetOpAddress

func (x *SignatureCount) GetOpAddress() string

func (*SignatureCount) GetRelativeSignatures

func (x *SignatureCount) GetRelativeSignatures() string

func (*SignatureCount) ProtoMessage

func (*SignatureCount) ProtoMessage()

func (*SignatureCount) ProtoReflect

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

func (*SignatureCount) Reset

func (x *SignatureCount) Reset()

func (*SignatureCount) String

func (x *SignatureCount) String() string

type SignatureCounts

type SignatureCounts struct {
	BlockCount uint64            `protobuf:"varint,1,opt,name=block_count,json=blockCount,proto3" json:"block_count,omitempty"`
	Counts     []*SignatureCount `protobuf:"bytes,2,rep,name=counts,proto3" json:"counts,omitempty"`
	// contains filtered or unexported fields
}

SignatureCounts contains information about signature reporting for a number of blocks

func (*SignatureCounts) Descriptor deprecated

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

Deprecated: Use SignatureCounts.ProtoReflect.Descriptor instead.

func (*SignatureCounts) GetBlockCount

func (x *SignatureCounts) GetBlockCount() uint64

func (*SignatureCounts) GetCounts

func (x *SignatureCounts) GetCounts() []*SignatureCount

func (*SignatureCounts) ProtoMessage

func (*SignatureCounts) ProtoMessage()

func (*SignatureCounts) ProtoReflect

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

func (*SignatureCounts) Reset

func (x *SignatureCounts) Reset()

func (*SignatureCounts) String

func (x *SignatureCounts) String() string

type Validator

type Validator struct {
	ProposerPriority string  `protobuf:"bytes,1,opt,name=proposer_priority,json=proposerPriority,proto3" json:"proposer_priority,omitempty"`
	VotingPower      string  `protobuf:"bytes,2,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"`
	PubKey           *PubKey `protobuf:"bytes,3,opt,name=pub_key,json=pubKey,proto3" json:"pub_key,omitempty"`
	// contains filtered or unexported fields
}

Validator represents a validator in ValSet

func (*Validator) Descriptor deprecated

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

Deprecated: Use Validator.ProtoReflect.Descriptor instead.

func (*Validator) GetProposerPriority

func (x *Validator) GetProposerPriority() string

func (*Validator) GetPubKey

func (x *Validator) GetPubKey() *PubKey

func (*Validator) GetVotingPower

func (x *Validator) GetVotingPower() string

func (*Validator) ProtoMessage

func (*Validator) ProtoMessage()

func (*Validator) ProtoReflect

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

func (*Validator) Reset

func (x *Validator) Reset()

func (*Validator) String

func (x *Validator) String() string

type ValidatorSet

type ValidatorSet struct {
	Validators []*Validator `protobuf:"bytes,1,rep,name=validators,proto3" json:"validators,omitempty"`
	// contains filtered or unexported fields
}

ValidatorSet represents a Validator Set it is compatible with the dumped set from `appd q tendermint-validator-set n` command

func (*ValidatorSet) Descriptor deprecated

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

Deprecated: Use ValidatorSet.ProtoReflect.Descriptor instead.

func (*ValidatorSet) GetValidators

func (x *ValidatorSet) GetValidators() []*Validator

func (*ValidatorSet) ProtoMessage

func (*ValidatorSet) ProtoMessage()

func (*ValidatorSet) ProtoReflect

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

func (*ValidatorSet) Reset

func (x *ValidatorSet) Reset()

func (*ValidatorSet) String

func (x *ValidatorSet) String() string

Jump to

Keyboard shortcuts

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