common

package
v0.0.0-...-f798b02 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2020 License: LGPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CopyKeystore

func CopyKeystore(dir string, accounts []accounts.Account)

func GenerateKeys

func GenerateKeys(num int) (keys []*ecdsa.PrivateKey, nodekeys []string, addrs []common.Address)

func GeneratePasswordFile

func GeneratePasswordFile(dir string, filename string, password string)

func GenerateRandomDir

func GenerateRandomDir() (string, error)

func RandomBytes

func RandomBytes(len int) ([]byte, error)

func RandomHex

func RandomHex() string

func SaveNodeKey

func SaveNodeKey(key *ecdsa.PrivateKey, dataDir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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