Documentation ¶
Index ¶
- Variables
- type BlockCertificationRequest
- func (x *BlockCertificationRequest) Bytes() []byte
- func (*BlockCertificationRequest) Descriptor() ([]byte, []int)deprecated
- func (x *BlockCertificationRequest) GetInputRecord() *certificates.InputRecord
- func (x *BlockCertificationRequest) GetNodeIdentifier() string
- func (x *BlockCertificationRequest) GetRootRoundNumber() uint64
- func (x *BlockCertificationRequest) GetSignature() []byte
- func (x *BlockCertificationRequest) GetSystemIdentifier() []byte
- func (x *BlockCertificationRequest) IsValid(v crypto.Verifier) error
- func (*BlockCertificationRequest) ProtoMessage()
- func (x *BlockCertificationRequest) ProtoReflect() protoreflect.Message
- func (x *BlockCertificationRequest) Reset()
- func (x *BlockCertificationRequest) Sign(signer crypto.Signer) error
- func (x *BlockCertificationRequest) String() string
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 (x *BlockCertificationRequest) IsValid(v crypto.Verifier) error
func (*BlockCertificationRequest) ProtoMessage ¶
func (*BlockCertificationRequest) ProtoMessage()
func (*BlockCertificationRequest) ProtoReflect ¶
func (x *BlockCertificationRequest) ProtoReflect() protoreflect.Message
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
Click to show internal directories.
Click to hide internal directories.