Versions in this module Expand all Collapse all v0 v0.4.0 Mar 25, 2024 v0.3.0 Feb 28, 2024 Changes in this version + func CheckBlockCertificationRequest(req CertRequestVerifier, luc *types.UnicityCertificate) error + type CertReqReason uint8 + const Quorum + const QuorumNotPossible + type CertRequestVerifier interface + IRPreviousHash func() []byte + IRRound func() uint64 + RootRound func() uint64 + type IRChangeRequest struct + Reason CertReqReason + Requests []*certification.BlockCertificationRequest + SystemIdentifier types.SystemID + type Option func(c *Optional) + func WithStorage(db keyvaluedb.KeyValueDB) Option + type Optional struct + Storage keyvaluedb.KeyValueDB + func LoadConf(opts []Option) (*Optional, error) + type Parameters struct + BlockRate time.Duration + ConsensusThreshold uint32 + HashAlgorithm gocrypto.Hash + LocalTimeout time.Duration + func NewConsensusParams(genesisRoot *genesis.GenesisRootRecord) *Parameters