Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { HTTPHost string `json:"host"` HTTPPort int `json:"port"` PrivateKeyBytes []byte `json:"privateKeyBytes"` TokenRPC string `json:"tokenRPC"` Amount uint64 `json:"amount"` StartDifficulty uint16 `json:"startDifficulty"` SolutionsPerSalt int `json:"solutionsPerSalt"` TargetDurationPerSalt int64 `json:"targetDurationPerSalt"` // seconds }
func (*Config) PrivateKey ¶
func (c *Config) PrivateKey() ed25519.PrivateKey
Click to show internal directories.
Click to hide internal directories.