Documentation ¶
Index ¶
- func CopyKeystore(dir string, accounts []accounts.Account)
- func GenerateKeys(num int) (keys []*ecdsa.PrivateKey, nodekeys []string, addrs []common.Address)
- func GeneratePasswordFile(dir string, filename string, password string)
- func GenerateRandomDir() (string, error)
- func RandomBytes(len int) ([]byte, error)
- func RandomHex() string
- func SaveNodeKey(key *ecdsa.PrivateKey, dataDir string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyKeystore ¶
func GenerateKeys ¶
func GeneratePasswordFile ¶
func GenerateRandomDir ¶
func RandomBytes ¶
func SaveNodeKey ¶
func SaveNodeKey(key *ecdsa.PrivateKey, dataDir string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.