certification

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrBlockCertificationRequestIsNil = errors.New("block certification request is nil")
)

Functions

This section is empty.

Types

type BlockCertificationRequest

type BlockCertificationRequest struct {
	SystemIdentifier types.SystemID     `json:"system_identifier,omitempty"`
	NodeIdentifier   string             `json:"node_identifier,omitempty"`
	InputRecord      *types.InputRecord `json:"input_record,omitempty"`
	RootRoundNumber  uint64             `json:"root_round_number,omitempty"` // latest known RC's round number (AB-1155)
	Signature        []byte             `json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*BlockCertificationRequest) Bytes

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

func (*BlockCertificationRequest) IRPreviousHash

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

func (*BlockCertificationRequest) IRRound

func (x *BlockCertificationRequest) IRRound() uint64

func (*BlockCertificationRequest) IsValid

func (*BlockCertificationRequest) RootRound

func (x *BlockCertificationRequest) RootRound() uint64

func (*BlockCertificationRequest) Sign

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

Jump to

Keyboard shortcuts

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