certification

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: AGPL-3.0, ISC Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBlockCertificationRequestIsNil = errors.New("block certification request is nil")
	ErrInvalidSystemIdentifierLength  = errors.New("invalid system identifier length")
	ErrVerifierIsNil                  = errors.New("verifier is nil")
	ErrEmptyNodeIdentifier            = errors.New("node identifier is empty")
)
View Source
var File_certification_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type BlockCertificationRequest

type BlockCertificationRequest struct {
	SystemIdentifier []byte                    `protobuf:"bytes,1,opt,name=system_identifier,json=systemIdentifier,proto3" json:"system_identifier,omitempty"`
	NodeIdentifier   string                    `protobuf:"bytes,2,opt,name=node_identifier,json=nodeIdentifier,proto3" json:"node_identifier,omitempty"`
	RootRoundNumber  uint64                    `protobuf:"varint,3,opt,name=root_round_number,json=rootRoundNumber,proto3" json:"root_round_number,omitempty"`
	InputRecord      *certificates.InputRecord `protobuf:"bytes,4,opt,name=input_record,json=inputRecord,proto3" json:"input_record,omitempty"`
	Signature        []byte                    `protobuf:"bytes,5,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockCertificationRequest) Bytes

func (x *BlockCertificationRequest) Bytes() []byte

func (*BlockCertificationRequest) Descriptor deprecated

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

Deprecated: Use BlockCertificationRequest.ProtoReflect.Descriptor instead.

func (*BlockCertificationRequest) GetInputRecord

func (x *BlockCertificationRequest) GetInputRecord() *certificates.InputRecord

func (*BlockCertificationRequest) GetNodeIdentifier

func (x *BlockCertificationRequest) GetNodeIdentifier() string

func (*BlockCertificationRequest) GetRootRoundNumber

func (x *BlockCertificationRequest) GetRootRoundNumber() uint64

func (*BlockCertificationRequest) GetSignature

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

func (*BlockCertificationRequest) GetSystemIdentifier

func (x *BlockCertificationRequest) GetSystemIdentifier() []byte

func (*BlockCertificationRequest) IsValid

func (*BlockCertificationRequest) ProtoMessage

func (*BlockCertificationRequest) ProtoMessage()

func (*BlockCertificationRequest) ProtoReflect

func (*BlockCertificationRequest) Reset

func (x *BlockCertificationRequest) Reset()

func (*BlockCertificationRequest) Sign

func (x *BlockCertificationRequest) Sign(signer crypto.Signer) error

func (*BlockCertificationRequest) String

func (x *BlockCertificationRequest) String() string

Jump to

Keyboard shortcuts

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