serialization

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_offchainreporting3_messages_proto protoreflect.FileDescriptor
View Source
var File_offchainreporting3_telemetry_proto protoreflect.FileDescriptor

Functions

Types

type AttributedCommitSignature

type AttributedCommitSignature struct {
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	Signer    uint32 `protobuf:"varint,2,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributedCommitSignature) Descriptor deprecated

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

Deprecated: Use AttributedCommitSignature.ProtoReflect.Descriptor instead.

func (*AttributedCommitSignature) GetSignature

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

func (*AttributedCommitSignature) GetSigner

func (x *AttributedCommitSignature) GetSigner() uint32

func (*AttributedCommitSignature) ProtoMessage

func (*AttributedCommitSignature) ProtoMessage()

func (*AttributedCommitSignature) ProtoReflect

func (*AttributedCommitSignature) Reset

func (x *AttributedCommitSignature) Reset()

func (*AttributedCommitSignature) String

func (x *AttributedCommitSignature) String() string

type AttributedPrepareSignature

type AttributedPrepareSignature struct {
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	Signer    uint32 `protobuf:"varint,2,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributedPrepareSignature) Descriptor deprecated

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

Deprecated: Use AttributedPrepareSignature.ProtoReflect.Descriptor instead.

func (*AttributedPrepareSignature) GetSignature

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

func (*AttributedPrepareSignature) GetSigner

func (x *AttributedPrepareSignature) GetSigner() uint32

func (*AttributedPrepareSignature) ProtoMessage

func (*AttributedPrepareSignature) ProtoMessage()

func (*AttributedPrepareSignature) ProtoReflect

func (*AttributedPrepareSignature) Reset

func (x *AttributedPrepareSignature) Reset()

func (*AttributedPrepareSignature) String

func (x *AttributedPrepareSignature) String() string

type AttributedSignedHighestCertifiedTimestamp

type AttributedSignedHighestCertifiedTimestamp struct {
	SignedHighestCertifiedTimestamp *SignedHighestCertifiedTimestamp `` /* 158-byte string literal not displayed */
	Signer                          uint32                           `protobuf:"varint,2,opt,name=signer,proto3" json:"signer,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributedSignedHighestCertifiedTimestamp) Descriptor deprecated

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

Deprecated: Use AttributedSignedHighestCertifiedTimestamp.ProtoReflect.Descriptor instead.

func (*AttributedSignedHighestCertifiedTimestamp) GetSignedHighestCertifiedTimestamp

func (x *AttributedSignedHighestCertifiedTimestamp) GetSignedHighestCertifiedTimestamp() *SignedHighestCertifiedTimestamp

func (*AttributedSignedHighestCertifiedTimestamp) GetSigner

func (*AttributedSignedHighestCertifiedTimestamp) ProtoMessage

func (*AttributedSignedHighestCertifiedTimestamp) ProtoReflect

func (*AttributedSignedHighestCertifiedTimestamp) Reset

func (*AttributedSignedHighestCertifiedTimestamp) String

type AttributedSignedObservation

type AttributedSignedObservation struct {
	SignedObservation *SignedObservation `protobuf:"bytes,1,opt,name=signed_observation,json=signedObservation,proto3" json:"signed_observation,omitempty"`
	Observer          uint32             `protobuf:"varint,2,opt,name=observer,proto3" json:"observer,omitempty"`
	// contains filtered or unexported fields
}

func (*AttributedSignedObservation) Descriptor deprecated

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

Deprecated: Use AttributedSignedObservation.ProtoReflect.Descriptor instead.

func (*AttributedSignedObservation) GetObserver

func (x *AttributedSignedObservation) GetObserver() uint32

func (*AttributedSignedObservation) GetSignedObservation

func (x *AttributedSignedObservation) GetSignedObservation() *SignedObservation

func (*AttributedSignedObservation) ProtoMessage

func (*AttributedSignedObservation) ProtoMessage()

func (*AttributedSignedObservation) ProtoReflect

func (*AttributedSignedObservation) Reset

func (x *AttributedSignedObservation) Reset()

func (*AttributedSignedObservation) String

func (x *AttributedSignedObservation) String() string

type CertifiedPrepareOrCommit

type CertifiedPrepareOrCommit struct {

	// Types that are assignable to PrepareOrCommit:
	//
	//	*CertifiedPrepareOrCommit_Prepare
	//	*CertifiedPrepareOrCommit_Commit
	PrepareOrCommit isCertifiedPrepareOrCommit_PrepareOrCommit `protobuf_oneof:"prepare_or_commit"`
	// contains filtered or unexported fields
}

func (*CertifiedPrepareOrCommit) Descriptor deprecated

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

Deprecated: Use CertifiedPrepareOrCommit.ProtoReflect.Descriptor instead.

func (*CertifiedPrepareOrCommit) GetCommit

func (*CertifiedPrepareOrCommit) GetPrepare

func (*CertifiedPrepareOrCommit) GetPrepareOrCommit

func (m *CertifiedPrepareOrCommit) GetPrepareOrCommit() isCertifiedPrepareOrCommit_PrepareOrCommit

func (*CertifiedPrepareOrCommit) ProtoMessage

func (*CertifiedPrepareOrCommit) ProtoMessage()

func (*CertifiedPrepareOrCommit) ProtoReflect

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

func (*CertifiedPrepareOrCommit) Reset

func (x *CertifiedPrepareOrCommit) Reset()

func (*CertifiedPrepareOrCommit) String

func (x *CertifiedPrepareOrCommit) String() string

type CertifiedPrepareOrCommitCommit

type CertifiedPrepareOrCommitCommit struct {
	CommitEpoch             uint64                       `protobuf:"varint,1,opt,name=commit_epoch,json=commitEpoch,proto3" json:"commit_epoch,omitempty"`
	SeqNr                   uint64                       `protobuf:"varint,2,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	Outcome                 []byte                       `protobuf:"bytes,3,opt,name=outcome,proto3" json:"outcome,omitempty"`
	CommitQuorumCertificate []*AttributedCommitSignature `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CertifiedPrepareOrCommitCommit) Descriptor deprecated

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

Deprecated: Use CertifiedPrepareOrCommitCommit.ProtoReflect.Descriptor instead.

func (*CertifiedPrepareOrCommitCommit) GetCommitEpoch

func (x *CertifiedPrepareOrCommitCommit) GetCommitEpoch() uint64

func (*CertifiedPrepareOrCommitCommit) GetCommitQuorumCertificate

func (x *CertifiedPrepareOrCommitCommit) GetCommitQuorumCertificate() []*AttributedCommitSignature

func (*CertifiedPrepareOrCommitCommit) GetOutcome

func (x *CertifiedPrepareOrCommitCommit) GetOutcome() []byte

func (*CertifiedPrepareOrCommitCommit) GetSeqNr

func (x *CertifiedPrepareOrCommitCommit) GetSeqNr() uint64

func (*CertifiedPrepareOrCommitCommit) ProtoMessage

func (*CertifiedPrepareOrCommitCommit) ProtoMessage()

func (*CertifiedPrepareOrCommitCommit) ProtoReflect

func (*CertifiedPrepareOrCommitCommit) Reset

func (x *CertifiedPrepareOrCommitCommit) Reset()

func (*CertifiedPrepareOrCommitCommit) String

type CertifiedPrepareOrCommitPrepare

type CertifiedPrepareOrCommitPrepare struct {
	PrepareEpoch             uint64                        `protobuf:"varint,1,opt,name=prepare_epoch,json=prepareEpoch,proto3" json:"prepare_epoch,omitempty"`
	SeqNr                    uint64                        `protobuf:"varint,2,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	OutcomeInputsDigest      []byte                        `protobuf:"bytes,3,opt,name=outcome_inputs_digest,json=outcomeInputsDigest,proto3" json:"outcome_inputs_digest,omitempty"`
	Outcome                  []byte                        `protobuf:"bytes,4,opt,name=outcome,proto3" json:"outcome,omitempty"`
	PrepareQuorumCertificate []*AttributedPrepareSignature `` /* 135-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CertifiedPrepareOrCommitPrepare) Descriptor deprecated

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

Deprecated: Use CertifiedPrepareOrCommitPrepare.ProtoReflect.Descriptor instead.

func (*CertifiedPrepareOrCommitPrepare) GetOutcome

func (x *CertifiedPrepareOrCommitPrepare) GetOutcome() []byte

func (*CertifiedPrepareOrCommitPrepare) GetOutcomeInputsDigest

func (x *CertifiedPrepareOrCommitPrepare) GetOutcomeInputsDigest() []byte

func (*CertifiedPrepareOrCommitPrepare) GetPrepareEpoch

func (x *CertifiedPrepareOrCommitPrepare) GetPrepareEpoch() uint64

func (*CertifiedPrepareOrCommitPrepare) GetPrepareQuorumCertificate

func (x *CertifiedPrepareOrCommitPrepare) GetPrepareQuorumCertificate() []*AttributedPrepareSignature

func (*CertifiedPrepareOrCommitPrepare) GetSeqNr

func (*CertifiedPrepareOrCommitPrepare) ProtoMessage

func (*CertifiedPrepareOrCommitPrepare) ProtoMessage()

func (*CertifiedPrepareOrCommitPrepare) ProtoReflect

func (*CertifiedPrepareOrCommitPrepare) Reset

func (*CertifiedPrepareOrCommitPrepare) String

type CertifiedPrepareOrCommit_Commit

type CertifiedPrepareOrCommit_Commit struct {
	Commit *CertifiedPrepareOrCommitCommit `protobuf:"bytes,2,opt,name=commit,proto3,oneof"`
}

type CertifiedPrepareOrCommit_Prepare

type CertifiedPrepareOrCommit_Prepare struct {
	Prepare *CertifiedPrepareOrCommitPrepare `protobuf:"bytes,1,opt,name=prepare,proto3,oneof"`
}

type HighestCertifiedTimestamp

type HighestCertifiedTimestamp struct {
	SeqNr                 uint64 `protobuf:"varint,1,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	CommittedElsePrepared bool   `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HighestCertifiedTimestamp) Descriptor deprecated

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

Deprecated: Use HighestCertifiedTimestamp.ProtoReflect.Descriptor instead.

func (*HighestCertifiedTimestamp) GetCommittedElsePrepared

func (x *HighestCertifiedTimestamp) GetCommittedElsePrepared() bool

func (*HighestCertifiedTimestamp) GetSeqNr

func (x *HighestCertifiedTimestamp) GetSeqNr() uint64

func (*HighestCertifiedTimestamp) ProtoMessage

func (*HighestCertifiedTimestamp) ProtoMessage()

func (*HighestCertifiedTimestamp) ProtoReflect

func (*HighestCertifiedTimestamp) Reset

func (x *HighestCertifiedTimestamp) Reset()

func (*HighestCertifiedTimestamp) String

func (x *HighestCertifiedTimestamp) String() string

type MessageCommit

type MessageCommit struct {
	Epoch     uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	SeqNr     uint64 `protobuf:"varint,2,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageCommit) Descriptor deprecated

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

Deprecated: Use MessageCommit.ProtoReflect.Descriptor instead.

func (*MessageCommit) GetEpoch

func (x *MessageCommit) GetEpoch() uint64

func (*MessageCommit) GetSeqNr

func (x *MessageCommit) GetSeqNr() uint64

func (*MessageCommit) GetSignature

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

func (*MessageCommit) ProtoMessage

func (*MessageCommit) ProtoMessage()

func (*MessageCommit) ProtoReflect

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

func (*MessageCommit) Reset

func (x *MessageCommit) Reset()

func (*MessageCommit) String

func (x *MessageCommit) String() string

type MessageFinal

type MessageFinal struct {
	SeqNr            uint64   `protobuf:"varint,1,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	ReportSignatures [][]byte `protobuf:"bytes,2,rep,name=report_signatures,json=reportSignatures,proto3" json:"report_signatures,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageFinal) Descriptor deprecated

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

Deprecated: Use MessageFinal.ProtoReflect.Descriptor instead.

func (*MessageFinal) GetReportSignatures

func (x *MessageFinal) GetReportSignatures() [][]byte

func (*MessageFinal) GetSeqNr

func (x *MessageFinal) GetSeqNr() uint64

func (*MessageFinal) ProtoMessage

func (*MessageFinal) ProtoMessage()

func (*MessageFinal) ProtoReflect

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

func (*MessageFinal) Reset

func (x *MessageFinal) Reset()

func (*MessageFinal) String

func (x *MessageFinal) String() string

type MessageNewEpoch

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

func (*MessageNewEpoch) Descriptor deprecated

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

Deprecated: Use MessageNewEpoch.ProtoReflect.Descriptor instead.

func (*MessageNewEpoch) GetEpoch

func (x *MessageNewEpoch) GetEpoch() uint64

func (*MessageNewEpoch) ProtoMessage

func (*MessageNewEpoch) ProtoMessage()

func (*MessageNewEpoch) ProtoReflect

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

func (*MessageNewEpoch) Reset

func (x *MessageNewEpoch) Reset()

func (*MessageNewEpoch) String

func (x *MessageNewEpoch) String() string

type MessageObserve

type MessageObserve struct {
	Epoch             uint64             `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	SeqNr             uint64             `protobuf:"varint,2,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	SignedObservation *SignedObservation `protobuf:"bytes,3,opt,name=signed_observation,json=signedObservation,proto3" json:"signed_observation,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageObserve) Descriptor deprecated

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

Deprecated: Use MessageObserve.ProtoReflect.Descriptor instead.

func (*MessageObserve) GetEpoch

func (x *MessageObserve) GetEpoch() uint64

func (*MessageObserve) GetSeqNr

func (x *MessageObserve) GetSeqNr() uint64

func (*MessageObserve) GetSignedObservation

func (x *MessageObserve) GetSignedObservation() *SignedObservation

func (*MessageObserve) ProtoMessage

func (*MessageObserve) ProtoMessage()

func (*MessageObserve) ProtoReflect

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

func (*MessageObserve) Reset

func (x *MessageObserve) Reset()

func (*MessageObserve) String

func (x *MessageObserve) String() string

type MessagePrepare

type MessagePrepare struct {
	Epoch     uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	SeqNr     uint64 `protobuf:"varint,2,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*MessagePrepare) Descriptor deprecated

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

Deprecated: Use MessagePrepare.ProtoReflect.Descriptor instead.

func (*MessagePrepare) GetEpoch

func (x *MessagePrepare) GetEpoch() uint64

func (*MessagePrepare) GetSeqNr

func (x *MessagePrepare) GetSeqNr() uint64

func (*MessagePrepare) GetSignature

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

func (*MessagePrepare) ProtoMessage

func (*MessagePrepare) ProtoMessage()

func (*MessagePrepare) ProtoReflect

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

func (*MessagePrepare) Reset

func (x *MessagePrepare) Reset()

func (*MessagePrepare) String

func (x *MessagePrepare) String() string

type MessagePropose

type MessagePropose struct {
	Epoch                        uint64                         `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	SeqNr                        uint64                         `protobuf:"varint,2,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	AttributedSignedObservations []*AttributedSignedObservation `` /* 147-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MessagePropose) Descriptor deprecated

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

Deprecated: Use MessagePropose.ProtoReflect.Descriptor instead.

func (*MessagePropose) GetAttributedSignedObservations

func (x *MessagePropose) GetAttributedSignedObservations() []*AttributedSignedObservation

func (*MessagePropose) GetEpoch

func (x *MessagePropose) GetEpoch() uint64

func (*MessagePropose) GetSeqNr

func (x *MessagePropose) GetSeqNr() uint64

func (*MessagePropose) ProtoMessage

func (*MessagePropose) ProtoMessage()

func (*MessagePropose) ProtoReflect

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

func (*MessagePropose) Reset

func (x *MessagePropose) Reset()

func (*MessagePropose) String

func (x *MessagePropose) String() string

type MessageReconcile

type MessageReconcile struct {
	Epoch                           uint64                           `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	HighestCertified                *CertifiedPrepareOrCommit        `protobuf:"bytes,2,opt,name=highest_certified,json=highestCertified,proto3" json:"highest_certified,omitempty"`
	SignedHighestCertifiedTimestamp *SignedHighestCertifiedTimestamp `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MessageReconcile) Descriptor deprecated

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

Deprecated: Use MessageReconcile.ProtoReflect.Descriptor instead.

func (*MessageReconcile) GetEpoch

func (x *MessageReconcile) GetEpoch() uint64

func (*MessageReconcile) GetHighestCertified

func (x *MessageReconcile) GetHighestCertified() *CertifiedPrepareOrCommit

func (*MessageReconcile) GetSignedHighestCertifiedTimestamp

func (x *MessageReconcile) GetSignedHighestCertifiedTimestamp() *SignedHighestCertifiedTimestamp

func (*MessageReconcile) ProtoMessage

func (*MessageReconcile) ProtoMessage()

func (*MessageReconcile) ProtoReflect

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

func (*MessageReconcile) Reset

func (x *MessageReconcile) Reset()

func (*MessageReconcile) String

func (x *MessageReconcile) String() string

type MessageRequestCertifiedCommit

type MessageRequestCertifiedCommit struct {
	SeqNr uint64 `protobuf:"varint,1,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageRequestCertifiedCommit) Descriptor deprecated

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

Deprecated: Use MessageRequestCertifiedCommit.ProtoReflect.Descriptor instead.

func (*MessageRequestCertifiedCommit) GetSeqNr

func (x *MessageRequestCertifiedCommit) GetSeqNr() uint64

func (*MessageRequestCertifiedCommit) ProtoMessage

func (*MessageRequestCertifiedCommit) ProtoMessage()

func (*MessageRequestCertifiedCommit) ProtoReflect

func (*MessageRequestCertifiedCommit) Reset

func (x *MessageRequestCertifiedCommit) Reset()

func (*MessageRequestCertifiedCommit) String

type MessageStartEpoch

type MessageStartEpoch struct {
	Epoch           uint64           `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	StartEpochProof *StartEpochProof `protobuf:"bytes,2,opt,name=start_epoch_proof,json=startEpochProof,proto3" json:"start_epoch_proof,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageStartEpoch) Descriptor deprecated

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

Deprecated: Use MessageStartEpoch.ProtoReflect.Descriptor instead.

func (*MessageStartEpoch) GetEpoch

func (x *MessageStartEpoch) GetEpoch() uint64

func (*MessageStartEpoch) GetStartEpochProof

func (x *MessageStartEpoch) GetStartEpochProof() *StartEpochProof

func (*MessageStartEpoch) ProtoMessage

func (*MessageStartEpoch) ProtoMessage()

func (*MessageStartEpoch) ProtoReflect

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

func (*MessageStartEpoch) Reset

func (x *MessageStartEpoch) Reset()

func (*MessageStartEpoch) String

func (x *MessageStartEpoch) String() string

type MessageStartRound

type MessageStartRound struct {
	Epoch uint64 `protobuf:"varint,1,opt,name=epoch,proto3" json:"epoch,omitempty"`
	SeqNr uint64 `protobuf:"varint,2,opt,name=seq_nr,json=seqNr,proto3" json:"seq_nr,omitempty"`
	Query []byte `protobuf:"bytes,3,opt,name=query,proto3" json:"query,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageStartRound) Descriptor deprecated

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

Deprecated: Use MessageStartRound.ProtoReflect.Descriptor instead.

func (*MessageStartRound) GetEpoch

func (x *MessageStartRound) GetEpoch() uint64

func (*MessageStartRound) GetQuery

func (x *MessageStartRound) GetQuery() []byte

func (*MessageStartRound) GetSeqNr

func (x *MessageStartRound) GetSeqNr() uint64

func (*MessageStartRound) ProtoMessage

func (*MessageStartRound) ProtoMessage()

func (*MessageStartRound) ProtoReflect

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

func (*MessageStartRound) Reset

func (x *MessageStartRound) Reset()

func (*MessageStartRound) String

func (x *MessageStartRound) String() string

type MessageSupplyCertifiedCommit

type MessageSupplyCertifiedCommit struct {
	CertifiedCommit *CertifiedPrepareOrCommitCommit `protobuf:"bytes,1,opt,name=certified_commit,json=certifiedCommit,proto3" json:"certified_commit,omitempty"`
	// contains filtered or unexported fields
}

func (*MessageSupplyCertifiedCommit) Descriptor deprecated

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

Deprecated: Use MessageSupplyCertifiedCommit.ProtoReflect.Descriptor instead.

func (*MessageSupplyCertifiedCommit) GetCertifiedCommit

func (*MessageSupplyCertifiedCommit) ProtoMessage

func (*MessageSupplyCertifiedCommit) ProtoMessage()

func (*MessageSupplyCertifiedCommit) ProtoReflect

func (*MessageSupplyCertifiedCommit) Reset

func (x *MessageSupplyCertifiedCommit) Reset()

func (*MessageSupplyCertifiedCommit) String

type MessageWrapper

type MessageWrapper struct {

	// Types that are assignable to Msg:
	//
	//	*MessageWrapper_MessageNewEpoch
	//	*MessageWrapper_MessageReconcile
	//	*MessageWrapper_MessageStartEpoch
	//	*MessageWrapper_MessageStartRound
	//	*MessageWrapper_MessageObserve
	//	*MessageWrapper_MessagePropose
	//	*MessageWrapper_MessagePrepare
	//	*MessageWrapper_MessageCommit
	//	*MessageWrapper_MessageFinal
	//	*MessageWrapper_MessageRequestCertifiedCommit
	//	*MessageWrapper_MessageSupplyCertifiedCommit
	Msg isMessageWrapper_Msg `protobuf_oneof:"msg"`
	// contains filtered or unexported fields
}

func Deserialize

func Deserialize[RI any](b []byte) (protocol.Message[RI], *MessageWrapper, error)

Deserialize decodes a binary payload into a protocol.Message

func Serialize

func Serialize[RI any](m protocol.Message[RI]) (b []byte, pbm *MessageWrapper, err error)

Serialize encodes a protocol.Message into a binary payload

func (*MessageWrapper) Descriptor deprecated

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

Deprecated: Use MessageWrapper.ProtoReflect.Descriptor instead.

func (*MessageWrapper) GetMessageCommit

func (x *MessageWrapper) GetMessageCommit() *MessageCommit

func (*MessageWrapper) GetMessageFinal

func (x *MessageWrapper) GetMessageFinal() *MessageFinal

func (*MessageWrapper) GetMessageNewEpoch

func (x *MessageWrapper) GetMessageNewEpoch() *MessageNewEpoch

func (*MessageWrapper) GetMessageObserve

func (x *MessageWrapper) GetMessageObserve() *MessageObserve

func (*MessageWrapper) GetMessagePrepare

func (x *MessageWrapper) GetMessagePrepare() *MessagePrepare

func (*MessageWrapper) GetMessagePropose

func (x *MessageWrapper) GetMessagePropose() *MessagePropose

func (*MessageWrapper) GetMessageReconcile

func (x *MessageWrapper) GetMessageReconcile() *MessageReconcile

func (*MessageWrapper) GetMessageRequestCertifiedCommit

func (x *MessageWrapper) GetMessageRequestCertifiedCommit() *MessageRequestCertifiedCommit

func (*MessageWrapper) GetMessageStartEpoch

func (x *MessageWrapper) GetMessageStartEpoch() *MessageStartEpoch

func (*MessageWrapper) GetMessageStartRound

func (x *MessageWrapper) GetMessageStartRound() *MessageStartRound

func (*MessageWrapper) GetMessageSupplyCertifiedCommit

func (x *MessageWrapper) GetMessageSupplyCertifiedCommit() *MessageSupplyCertifiedCommit

func (*MessageWrapper) GetMsg

func (m *MessageWrapper) GetMsg() isMessageWrapper_Msg

func (*MessageWrapper) ProtoMessage

func (*MessageWrapper) ProtoMessage()

func (*MessageWrapper) ProtoReflect

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

func (*MessageWrapper) Reset

func (x *MessageWrapper) Reset()

func (*MessageWrapper) String

func (x *MessageWrapper) String() string

type MessageWrapper_MessageCommit

type MessageWrapper_MessageCommit struct {
	MessageCommit *MessageCommit `protobuf:"bytes,24,opt,name=message_commit,json=messageCommit,proto3,oneof"`
}

type MessageWrapper_MessageFinal

type MessageWrapper_MessageFinal struct {
	MessageFinal *MessageFinal `protobuf:"bytes,25,opt,name=message_final,json=messageFinal,proto3,oneof"`
}

type MessageWrapper_MessageNewEpoch

type MessageWrapper_MessageNewEpoch struct {
	MessageNewEpoch *MessageNewEpoch `protobuf:"bytes,17,opt,name=message_new_epoch,json=messageNewEpoch,proto3,oneof"`
}

type MessageWrapper_MessageObserve

type MessageWrapper_MessageObserve struct {
	MessageObserve *MessageObserve `protobuf:"bytes,21,opt,name=message_observe,json=messageObserve,proto3,oneof"`
}

type MessageWrapper_MessagePrepare

type MessageWrapper_MessagePrepare struct {
	MessagePrepare *MessagePrepare `protobuf:"bytes,23,opt,name=message_prepare,json=messagePrepare,proto3,oneof"`
}

type MessageWrapper_MessagePropose

type MessageWrapper_MessagePropose struct {
	MessagePropose *MessagePropose `protobuf:"bytes,22,opt,name=message_propose,json=messagePropose,proto3,oneof"`
}

type MessageWrapper_MessageReconcile

type MessageWrapper_MessageReconcile struct {
	MessageReconcile *MessageReconcile `protobuf:"bytes,18,opt,name=message_reconcile,json=messageReconcile,proto3,oneof"`
}

type MessageWrapper_MessageRequestCertifiedCommit

type MessageWrapper_MessageRequestCertifiedCommit struct {
	MessageRequestCertifiedCommit *MessageRequestCertifiedCommit `protobuf:"bytes,26,opt,name=message_request_certified_commit,json=messageRequestCertifiedCommit,proto3,oneof"`
}

type MessageWrapper_MessageStartEpoch

type MessageWrapper_MessageStartEpoch struct {
	MessageStartEpoch *MessageStartEpoch `protobuf:"bytes,19,opt,name=message_start_epoch,json=messageStartEpoch,proto3,oneof"`
}

type MessageWrapper_MessageStartRound

type MessageWrapper_MessageStartRound struct {
	MessageStartRound *MessageStartRound `protobuf:"bytes,20,opt,name=message_start_round,json=messageStartRound,proto3,oneof"`
}

type MessageWrapper_MessageSupplyCertifiedCommit

type MessageWrapper_MessageSupplyCertifiedCommit struct {
	MessageSupplyCertifiedCommit *MessageSupplyCertifiedCommit `protobuf:"bytes,27,opt,name=message_supply_certified_commit,json=messageSupplyCertifiedCommit,proto3,oneof"`
}

type SignedHighestCertifiedTimestamp

type SignedHighestCertifiedTimestamp struct {
	HighestCertifiedTimestamp *HighestCertifiedTimestamp `` /* 138-byte string literal not displayed */
	Signature                 []byte                     `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*SignedHighestCertifiedTimestamp) Descriptor deprecated

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

Deprecated: Use SignedHighestCertifiedTimestamp.ProtoReflect.Descriptor instead.

func (*SignedHighestCertifiedTimestamp) GetHighestCertifiedTimestamp

func (x *SignedHighestCertifiedTimestamp) GetHighestCertifiedTimestamp() *HighestCertifiedTimestamp

func (*SignedHighestCertifiedTimestamp) GetSignature

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

func (*SignedHighestCertifiedTimestamp) ProtoMessage

func (*SignedHighestCertifiedTimestamp) ProtoMessage()

func (*SignedHighestCertifiedTimestamp) ProtoReflect

func (*SignedHighestCertifiedTimestamp) Reset

func (*SignedHighestCertifiedTimestamp) String

type SignedObservation

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

func (*SignedObservation) Descriptor deprecated

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

Deprecated: Use SignedObservation.ProtoReflect.Descriptor instead.

func (*SignedObservation) GetObservation

func (x *SignedObservation) GetObservation() []byte

func (*SignedObservation) GetSignature

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

func (*SignedObservation) ProtoMessage

func (*SignedObservation) ProtoMessage()

func (*SignedObservation) ProtoReflect

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

func (*SignedObservation) Reset

func (x *SignedObservation) Reset()

func (*SignedObservation) String

func (x *SignedObservation) String() string

type StartEpochProof

type StartEpochProof struct {
	HighestCertified      *CertifiedPrepareOrCommit                    `protobuf:"bytes,1,opt,name=highest_certified,json=highestCertified,proto3" json:"highest_certified,omitempty"`
	HighestCertifiedProof []*AttributedSignedHighestCertifiedTimestamp `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*StartEpochProof) Descriptor deprecated

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

Deprecated: Use StartEpochProof.ProtoReflect.Descriptor instead.

func (*StartEpochProof) GetHighestCertified

func (x *StartEpochProof) GetHighestCertified() *CertifiedPrepareOrCommit

func (*StartEpochProof) GetHighestCertifiedProof

func (x *StartEpochProof) GetHighestCertifiedProof() []*AttributedSignedHighestCertifiedTimestamp

func (*StartEpochProof) ProtoMessage

func (*StartEpochProof) ProtoMessage()

func (*StartEpochProof) ProtoReflect

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

func (*StartEpochProof) Reset

func (x *StartEpochProof) Reset()

func (*StartEpochProof) String

func (x *StartEpochProof) String() string

type TelemetryAssertionViolation

type TelemetryAssertionViolation struct {

	// Types that are assignable to Violation:
	//
	//	*TelemetryAssertionViolation_InvalidSerialization
	Violation isTelemetryAssertionViolation_Violation `protobuf_oneof:"violation"`
	// contains filtered or unexported fields
}

func (*TelemetryAssertionViolation) Descriptor deprecated

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

Deprecated: Use TelemetryAssertionViolation.ProtoReflect.Descriptor instead.

func (*TelemetryAssertionViolation) GetInvalidSerialization

func (*TelemetryAssertionViolation) GetViolation

func (m *TelemetryAssertionViolation) GetViolation() isTelemetryAssertionViolation_Violation

func (*TelemetryAssertionViolation) ProtoMessage

func (*TelemetryAssertionViolation) ProtoMessage()

func (*TelemetryAssertionViolation) ProtoReflect

func (*TelemetryAssertionViolation) Reset

func (x *TelemetryAssertionViolation) Reset()

func (*TelemetryAssertionViolation) String

func (x *TelemetryAssertionViolation) String() string

type TelemetryAssertionViolationInvalidSerialization

type TelemetryAssertionViolationInvalidSerialization struct {
	ConfigDigest  []byte `protobuf:"bytes,1,opt,name=config_digest,json=configDigest,proto3" json:"config_digest,omitempty"`
	SerializedMsg []byte `protobuf:"bytes,2,opt,name=serialized_msg,json=serializedMsg,proto3" json:"serialized_msg,omitempty"`
	Sender        uint32 `protobuf:"varint,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

func (*TelemetryAssertionViolationInvalidSerialization) Descriptor deprecated

Deprecated: Use TelemetryAssertionViolationInvalidSerialization.ProtoReflect.Descriptor instead.

func (*TelemetryAssertionViolationInvalidSerialization) GetConfigDigest

func (*TelemetryAssertionViolationInvalidSerialization) GetSender

func (*TelemetryAssertionViolationInvalidSerialization) GetSerializedMsg

func (x *TelemetryAssertionViolationInvalidSerialization) GetSerializedMsg() []byte

func (*TelemetryAssertionViolationInvalidSerialization) ProtoMessage

func (*TelemetryAssertionViolationInvalidSerialization) ProtoReflect

func (*TelemetryAssertionViolationInvalidSerialization) Reset

func (*TelemetryAssertionViolationInvalidSerialization) String

type TelemetryAssertionViolation_InvalidSerialization

type TelemetryAssertionViolation_InvalidSerialization struct {
	InvalidSerialization *TelemetryAssertionViolationInvalidSerialization `protobuf:"bytes,2,opt,name=invalid_serialization,json=invalidSerialization,proto3,oneof"`
}

type TelemetryMessageBroadcast

type TelemetryMessageBroadcast struct {
	ConfigDigest  []byte          `protobuf:"bytes,1,opt,name=config_digest,json=configDigest,proto3" json:"config_digest,omitempty"`
	Msg           *MessageWrapper `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	SerializedMsg []byte          `protobuf:"bytes,3,opt,name=serialized_msg,json=serializedMsg,proto3" json:"serialized_msg,omitempty"`
	// contains filtered or unexported fields
}

func (*TelemetryMessageBroadcast) Descriptor deprecated

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

Deprecated: Use TelemetryMessageBroadcast.ProtoReflect.Descriptor instead.

func (*TelemetryMessageBroadcast) GetConfigDigest

func (x *TelemetryMessageBroadcast) GetConfigDigest() []byte

func (*TelemetryMessageBroadcast) GetMsg

func (*TelemetryMessageBroadcast) GetSerializedMsg

func (x *TelemetryMessageBroadcast) GetSerializedMsg() []byte

func (*TelemetryMessageBroadcast) ProtoMessage

func (*TelemetryMessageBroadcast) ProtoMessage()

func (*TelemetryMessageBroadcast) ProtoReflect

func (*TelemetryMessageBroadcast) Reset

func (x *TelemetryMessageBroadcast) Reset()

func (*TelemetryMessageBroadcast) String

func (x *TelemetryMessageBroadcast) String() string

type TelemetryMessageReceived

type TelemetryMessageReceived struct {
	ConfigDigest []byte          `protobuf:"bytes,1,opt,name=config_digest,json=configDigest,proto3" json:"config_digest,omitempty"`
	Msg          *MessageWrapper `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	Sender       uint32          `protobuf:"varint,3,opt,name=sender,proto3" json:"sender,omitempty"`
	// contains filtered or unexported fields
}

func (*TelemetryMessageReceived) Descriptor deprecated

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

Deprecated: Use TelemetryMessageReceived.ProtoReflect.Descriptor instead.

func (*TelemetryMessageReceived) GetConfigDigest

func (x *TelemetryMessageReceived) GetConfigDigest() []byte

func (*TelemetryMessageReceived) GetMsg

func (*TelemetryMessageReceived) GetSender

func (x *TelemetryMessageReceived) GetSender() uint32

func (*TelemetryMessageReceived) ProtoMessage

func (*TelemetryMessageReceived) ProtoMessage()

func (*TelemetryMessageReceived) ProtoReflect

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

func (*TelemetryMessageReceived) Reset

func (x *TelemetryMessageReceived) Reset()

func (*TelemetryMessageReceived) String

func (x *TelemetryMessageReceived) String() string

type TelemetryMessageSent

type TelemetryMessageSent struct {
	ConfigDigest  []byte          `protobuf:"bytes,1,opt,name=config_digest,json=configDigest,proto3" json:"config_digest,omitempty"`
	Msg           *MessageWrapper `protobuf:"bytes,2,opt,name=msg,proto3" json:"msg,omitempty"`
	SerializedMsg []byte          `protobuf:"bytes,3,opt,name=serialized_msg,json=serializedMsg,proto3" json:"serialized_msg,omitempty"`
	Receiver      uint32          `protobuf:"varint,4,opt,name=receiver,proto3" json:"receiver,omitempty"`
	// contains filtered or unexported fields
}

func (*TelemetryMessageSent) Descriptor deprecated

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

Deprecated: Use TelemetryMessageSent.ProtoReflect.Descriptor instead.

func (*TelemetryMessageSent) GetConfigDigest

func (x *TelemetryMessageSent) GetConfigDigest() []byte

func (*TelemetryMessageSent) GetMsg

func (x *TelemetryMessageSent) GetMsg() *MessageWrapper

func (*TelemetryMessageSent) GetReceiver

func (x *TelemetryMessageSent) GetReceiver() uint32

func (*TelemetryMessageSent) GetSerializedMsg

func (x *TelemetryMessageSent) GetSerializedMsg() []byte

func (*TelemetryMessageSent) ProtoMessage

func (*TelemetryMessageSent) ProtoMessage()

func (*TelemetryMessageSent) ProtoReflect

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

func (*TelemetryMessageSent) Reset

func (x *TelemetryMessageSent) Reset()

func (*TelemetryMessageSent) String

func (x *TelemetryMessageSent) String() string

type TelemetryRoundStarted

type TelemetryRoundStarted struct {
	ConfigDigest []byte `protobuf:"bytes,1,opt,name=config_digest,json=configDigest,proto3" json:"config_digest,omitempty"`
	Epoch        uint64 `protobuf:"varint,2,opt,name=epoch,proto3" json:"epoch,omitempty"`
	Round        uint64 `protobuf:"varint,3,opt,name=round,proto3" json:"round,omitempty"`
	Leader       uint64 `protobuf:"varint,4,opt,name=leader,proto3" json:"leader,omitempty"`
	Time         uint64 `protobuf:"varint,5,opt,name=time,proto3" json:"time,omitempty"`
	// contains filtered or unexported fields
}

func (*TelemetryRoundStarted) Descriptor deprecated

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

Deprecated: Use TelemetryRoundStarted.ProtoReflect.Descriptor instead.

func (*TelemetryRoundStarted) GetConfigDigest

func (x *TelemetryRoundStarted) GetConfigDigest() []byte

func (*TelemetryRoundStarted) GetEpoch

func (x *TelemetryRoundStarted) GetEpoch() uint64

func (*TelemetryRoundStarted) GetLeader

func (x *TelemetryRoundStarted) GetLeader() uint64

func (*TelemetryRoundStarted) GetRound

func (x *TelemetryRoundStarted) GetRound() uint64

func (*TelemetryRoundStarted) GetTime

func (x *TelemetryRoundStarted) GetTime() uint64

func (*TelemetryRoundStarted) ProtoMessage

func (*TelemetryRoundStarted) ProtoMessage()

func (*TelemetryRoundStarted) ProtoReflect

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

func (*TelemetryRoundStarted) Reset

func (x *TelemetryRoundStarted) Reset()

func (*TelemetryRoundStarted) String

func (x *TelemetryRoundStarted) String() string

type TelemetryWrapper

type TelemetryWrapper struct {

	// Types that are assignable to Wrapped:
	//
	//	*TelemetryWrapper_MessageReceived
	//	*TelemetryWrapper_MessageBroadcast
	//	*TelemetryWrapper_MessageSent
	//	*TelemetryWrapper_AssertionViolation
	//	*TelemetryWrapper_RoundStarted
	Wrapped             isTelemetryWrapper_Wrapped `protobuf_oneof:"wrapped"`
	UnixTimeNanoseconds int64                      `protobuf:"varint,6,opt,name=unix_time_nanoseconds,json=unixTimeNanoseconds,proto3" json:"unix_time_nanoseconds,omitempty"`
	// contains filtered or unexported fields
}

func (*TelemetryWrapper) Descriptor deprecated

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

Deprecated: Use TelemetryWrapper.ProtoReflect.Descriptor instead.

func (*TelemetryWrapper) GetAssertionViolation

func (x *TelemetryWrapper) GetAssertionViolation() *TelemetryAssertionViolation

func (*TelemetryWrapper) GetMessageBroadcast

func (x *TelemetryWrapper) GetMessageBroadcast() *TelemetryMessageBroadcast

func (*TelemetryWrapper) GetMessageReceived

func (x *TelemetryWrapper) GetMessageReceived() *TelemetryMessageReceived

func (*TelemetryWrapper) GetMessageSent

func (x *TelemetryWrapper) GetMessageSent() *TelemetryMessageSent

func (*TelemetryWrapper) GetRoundStarted

func (x *TelemetryWrapper) GetRoundStarted() *TelemetryRoundStarted

func (*TelemetryWrapper) GetUnixTimeNanoseconds

func (x *TelemetryWrapper) GetUnixTimeNanoseconds() int64

func (*TelemetryWrapper) GetWrapped

func (m *TelemetryWrapper) GetWrapped() isTelemetryWrapper_Wrapped

func (*TelemetryWrapper) ProtoMessage

func (*TelemetryWrapper) ProtoMessage()

func (*TelemetryWrapper) ProtoReflect

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

func (*TelemetryWrapper) Reset

func (x *TelemetryWrapper) Reset()

func (*TelemetryWrapper) String

func (x *TelemetryWrapper) String() string

type TelemetryWrapper_AssertionViolation

type TelemetryWrapper_AssertionViolation struct {
	AssertionViolation *TelemetryAssertionViolation `protobuf:"bytes,4,opt,name=assertion_violation,json=assertionViolation,proto3,oneof"`
}

type TelemetryWrapper_MessageBroadcast

type TelemetryWrapper_MessageBroadcast struct {
	MessageBroadcast *TelemetryMessageBroadcast `protobuf:"bytes,2,opt,name=message_broadcast,json=messageBroadcast,proto3,oneof"`
}

type TelemetryWrapper_MessageReceived

type TelemetryWrapper_MessageReceived struct {
	MessageReceived *TelemetryMessageReceived `protobuf:"bytes,1,opt,name=message_received,json=messageReceived,proto3,oneof"`
}

type TelemetryWrapper_MessageSent

type TelemetryWrapper_MessageSent struct {
	MessageSent *TelemetryMessageSent `protobuf:"bytes,3,opt,name=message_sent,json=messageSent,proto3,oneof"`
}

type TelemetryWrapper_RoundStarted

type TelemetryWrapper_RoundStarted struct {
	RoundStarted *TelemetryRoundStarted `protobuf:"bytes,5,opt,name=round_started,json=roundStarted,proto3,oneof"`
}

Jump to

Keyboard shortcuts

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