rawdbreset

package
v0.0.0-...-1f8a15b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 12, 2023 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Reset

func Reset(ctx context.Context, db kv.RwDB, stagesList ...stages.SyncStage) error

func ResetBlocks

func ResetBlocks(tx kv.RwTx, db kv.RoDB, agg *state.AggregatorV3,
	br services.FullBlockReader, bw *blockio.BlockWriter, dirs datadir.Dirs, cc chain.Config, engine consensus.Engine, logger log.Logger) error

func ResetBorHeimdall

func ResetBorHeimdall(ctx context.Context, tx kv.RwTx) error

func ResetExec

func ResetExec(ctx context.Context, db kv.RwDB, chain string, tmpDir string) (err error)

func ResetSenders

func ResetSenders(ctx context.Context, db kv.RwDB, tx kv.RwTx) error

func ResetState

func ResetState(db kv.RwDB, ctx context.Context, chain string, tmpDir string) error

func ResetTxLookup

func ResetTxLookup(tx kv.RwTx) error

func Warmup

func Warmup(ctx context.Context, db kv.RwDB, lvl log.Lvl, stList ...stages.SyncStage) error

func WarmupExec

func WarmupExec(ctx context.Context, db kv.RwDB) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL