Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Keystore ¶
type Keystore interface {
Get() (*ecdsa.PrivateKey, error)
}
Keystore stores the key for the enode
type LocalKeystore ¶
type LocalKeystore struct {
Path string
}
LocalKeystore loads the key from a local file
func NewLocalKeystore ¶
func NewLocalKeystore(path string) *LocalKeystore
NewLocalKeystore creates a new local key store
func (*LocalKeystore) Get ¶
func (k *LocalKeystore) Get() (*ecdsa.PrivateKey, error)
Get implements the keystore interface
Click to show internal directories.
Click to hide internal directories.