Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultRequiredApprovalsForSealValidation = 0
DefaultRequiredApprovalsForSealValidation is the default number of approvals that should be present and valid for each chunk. Setting this to 0 will disable counting of chunk approvals this can be used temporarily to ease the migration to new chunk based sealing. TODO:
- This value is for the happy path (requires just one approval per chunk).
- Full protocol should be +2/3 of all currently staked verifiers.
Variables ¶
This section is empty.
Functions ¶
func NewReceiptValidator ¶
func NewSealValidator ¶
func NewSealValidator( state protocol.State, headers storage.Headers, index storage.Index, results storage.ExecutionResults, seals storage.Seals, assigner module.ChunkAssigner, verifier module.Verifier, requiredApprovalsForSealConstruction uint, requiredApprovalsForSealVerification uint, metrics module.ConsensusMetrics, ) (*sealValidator, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.