storage

package
v0.2.1-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2022 License: GPL-3.0 Imports: 10 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage interface {
	eth1.SyncOffsetStorage
	registry.RegistryStore
	registrystorage.OperatorsCollection

	GetPrivateKey() (*rsa.PrivateKey, bool, error)
	SetupPrivateKey(generateIfNone bool, operatorKeyBase64 string) error
}

Storage represents the interface for ssv node storage

func NewNodeStorage

func NewNodeStorage(db basedb.IDb, logger *zap.Logger) Storage

NewNodeStorage creates a new instance of Storage

Jump to

Keyboard shortcuts

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