rawdbreset

package
v0.0.0-...-92d349b Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Reset

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

func ResetBlocks

func ResetBlocks(tx kv.RwTx, db kv.RoDB, snapshots *snapshotsync.RoSnapshots, agg *state.AggregatorV3, br services.FullBlockReader, dirs datadir.Dirs, cc chain.Config, engine consensus.Engine) 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 ...sync_stages.SyncStage) error

func WarmupExec

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

func WarmupTable

func WarmupTable(ctx context.Context, db kv.RoDB, bucket string, lvl log.Lvl)

Types

This section is empty.

Jump to

Keyboard shortcuts

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