migration

package
v1.5.11 Latest Latest
Warning

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

Go to latest
Published: Mar 12, 2024 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckSBFolderStructure

func CheckSBFolderStructure(baseFolder string) bool

CheckSBFolderStructure checks if the file structure has been migrated from single-beacon to multi-beacon or not

func MigrateSBFolderStructure

func MigrateSBFolderStructure(baseFolder string) error

MigrateSBFolderStructure will migrate the file store structure from single-beacon drand version to the new structure created to support multi-beacon feature. This should be called on any function which reads file store from disk, so we are sure the structure is the correct one. It will check if the process ends successfully or not. If something went wrong, a rollback process will be executed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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