Documentation ¶
Index ¶
- Variables
- type BlockCertificationRequest
- func (x *BlockCertificationRequest) Bytes() []byte
- func (x *BlockCertificationRequest) IRPreviousHash() []byte
- func (x *BlockCertificationRequest) IRRound() uint64
- func (x *BlockCertificationRequest) IsValid(v crypto.Verifier) error
- func (x *BlockCertificationRequest) RootRound() uint64
- func (x *BlockCertificationRequest) Sign(signer crypto.Signer) error
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 (x *BlockCertificationRequest) IsValid(v crypto.Verifier) error
func (*BlockCertificationRequest) RootRound ¶
func (x *BlockCertificationRequest) RootRound() uint64
Click to show internal directories.
Click to hide internal directories.