Documentation
¶
Index ¶
- Variables
- func E3EfFiles(ctx context.Context, db kv.TemporalRwDB, failFast bool, fromStep uint64) error
- func HistoryCheckNoSystemTxs(ctx context.Context, db kv.TemporalRwDB, 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.TemporalRoDB, blockReader services.FullBlockReader, ...) error
- func ValidateBorCheckpoints(logger log.Logger, dirs datadir.Dirs, snaps *heimdall.RoSnapshots, ...) error
- func ValidateBorEvents(ctx context.Context, db kv.TemporalRoDB, 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 HistoryCheckNoSystemTxs ¶
func HistoryCheckNoSystemTxs(ctx context.Context, db kv.TemporalRwDB, blockReader services.FullBlockReader) error
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 SnapBlocksRead(ctx context.Context, db kv.TemporalRoDB, blockReader services.FullBlockReader, from, to uint64, failFast bool) error
func ValidateBorCheckpoints ¶
func ValidateBorEvents ¶
func ValidateBorEvents(ctx context.Context, db kv.TemporalRoDB, blockReader services.FullBlockReader, from, to uint64, failFast bool) (err error)
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.