Documentation
¶
Index ¶
- Variables
- func E3EfFiles(ctx context.Context, chainDB kv.RwDB, agg *state.Aggregator, failFast bool, ...) error
- func E3HistoryNoSystemTxs(ctx context.Context, chainDB kv.RwDB, blockReader services.FullBlockReader, ...) error
- func NoGapsInCanonicalHeaders(tx kv.Tx, ctx context.Context, br services.FullBlockReader)
- func ReceiptsNoDuplicates(ctx context.Context, db kv.TemporalRoDB, blockReader services.FullBlockReader, ...) (err error)
- func SnapBlocksRead(ctx context.Context, db kv.RoDB, blockReader services.FullBlockReader, ...) error
- func ValidateBorCheckpoints(logger log.Logger, dirs datadir.Dirs, snaps *heimdall.RoSnapshots, ...) error
- func ValidateBorEvents(ctx context.Context, db kv.RoDB, blockReader services.FullBlockReader, ...) (err error)
- func ValidateBorMilestones(logger log.Logger, dirs datadir.Dirs, snaps *heimdall.RoSnapshots, ...) error
- func ValidateBorSpans(logger log.Logger, dirs datadir.Dirs, snaps *heimdall.RoSnapshots, ...) error
- type Check
Constants ¶
This section is empty.
Variables ¶
View Source
var AllChecks = []Check{ Blocks, BlocksTxnID, InvertedIndex, HistoryNoSystemTxs, ReceiptsNoDups, BorEvents, BorSpans, BorCheckpoints, }
View Source
var NonDefaultChecks = []Check{ BorMilestones, }
Functions ¶
func E3HistoryNoSystemTxs ¶
func E3HistoryNoSystemTxs(ctx context.Context, chainDB kv.RwDB, blockReader services.FullBlockReader, agg *state.Aggregator) error
E3 History - usually don't have anything attributed to 1-st system txs (except genesis)
func ReceiptsNoDuplicates ¶
func ReceiptsNoDuplicates(ctx context.Context, db kv.TemporalRoDB, blockReader services.FullBlockReader, failFast bool) (err error)
func SnapBlocksRead ¶
func ValidateBorCheckpoints ¶
func ValidateBorEvents ¶
func ValidateBorMilestones ¶
func ValidateBorSpans ¶
Types ¶
type Check ¶
type Check string
const ( Blocks Check = "Blocks" BlocksTxnID Check = "BlocksTxnID" InvertedIndex Check = "InvertedIndex" HistoryNoSystemTxs Check = "HistoryNoSystemTxs" ReceiptsNoDups Check = "ReceiptsNoDups" BorEvents Check = "BorEvents" BorSpans Check = "BorSpans" BorCheckpoints Check = "BorCheckpoints" BorMilestones Check = "BorMilestones" // this check is informational, and we don't run it by default (e.g. gaps may exist but that is ok) )
Click to show internal directories.
Click to hide internal directories.