Documentation
¶
Index ¶
Constants ¶
View Source
const ( // StandardScryptN is the N parameter of Scrypt encryption algorithm, using 256MB // memory and taking approximately 1s CPU time on a modern processor. StandardScryptN = 1 << 18 // StandardScryptP is the P parameter of Scrypt encryption algorithm, using 256MB // memory and taking approximately 1s CPU time on a modern processor. StandardScryptP = 1 // LightScryptN is the N parameter of Scrypt encryption algorithm, using 4MB // memory and taking approximately 100ms CPU time on a modern processor. LightScryptN = 1 << 12 // LightScryptP is the P parameter of Scrypt encryption algorithm, using 4MB // memory and taking approximately 100ms CPU time on a modern processor. LightScryptP = 6 // VeryLightScryptN VeryLightScryptN VeryLightScryptN = 2 // VeryLightScryptP VeryLightScryptP VeryLightScryptP = 1 )
Variables ¶
View Source
var EthClient *ethclient.Client
EthClient EthClient
Functions ¶
Types ¶
type Keystore ¶
type Keystore struct { }
Keystore Keystore
var Ks Keystore
Ks Keystore
func (*Keystore) GenKeystore ¶
GenKeystore GenKeystore
Click to show internal directories.
Click to hide internal directories.