p2p

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: 6 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(skEncoded string) (*ecdsa.PrivateKey, error)
}

Store represents the interface for accessing the node's keys (operator and network keys) TODO: add operator key

func NewIdentityStore

func NewIdentityStore(db basedb.IDb, logger *zap.Logger) 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