rollback

package
v0.0.0-...-3eec7cb Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

Manager -

func NewManager

func NewManager(
	storage models.GeneralRepository,
	blockRepo block.Repository,
	rollback models.Rollback,
	statsRepo stats.Repository,
) Manager

NewManager -

func (Manager) Rollback

func (rm Manager) Rollback(ctx context.Context, network types.Network, fromState block.Block, toLevel int64) error

Rollback - rollback indexer state to level

Jump to

Keyboard shortcuts

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