storage

package
v0.3.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: GPL-3.0 Imports: 10 Imported by: 2

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