p2p

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	GetNetworkKey() (*ecdsa.PrivateKey, bool, error)
	SetupNetworkKey(logger *zap.Logger, skEncoded string) (*ecdsa.PrivateKey, error)
}

Store represents the interface for accessing the node's keys (operator and network keys)

func NewIdentityStore

func NewIdentityStore(db basedb.Database) Store

NewIdentityStore creates a new identity store

Jump to

Keyboard shortcuts

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