rollback

package
v0.0.0-...-8e17a21 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2020 License: GPL-2.0 Imports: 14 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLastBlock = errors.New("Block is not the last")
)

Functions

func RollbackBlock

func RollbackBlock(data []byte) error

BlockRollback is blocking rollback

func ToBlockID

func ToBlockID(blockID int64, dbTransaction *model.DbTransaction, logger *log.Entry) error

ToBlockID rollbacks blocks till blockID

Types

This section is empty.

Jump to

Keyboard shortcuts

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