Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PayoutsConfig ¶
type PayoutsConfig struct {
Enabled bool `json:"enabled"`
RequirePeers int64 `json:"requirePeers"`
Interval string `json:"interval"`
Daemon string `json:"daemon"`
Timeout string `json:"timeout"`
Address string `json:"address"`
Gas string `json:"gas"`
GasPrice string `json:"gasPrice"`
AutoGas bool `json:"autoGas"`
// In Shannon
Threshold int64 `json:"threshold"`
BgSave bool `json:"bgsave"`
}
func (PayoutsConfig) GasHex ¶
func (self PayoutsConfig) GasHex() string
func (PayoutsConfig) GasPriceHex ¶
func (self PayoutsConfig) GasPriceHex() string
type PayoutsProcessor ¶
type PayoutsProcessor struct {
// contains filtered or unexported fields
}
func NewPayoutsProcessor ¶
func NewPayoutsProcessor(cfg *PayoutsConfig, backend *storage.RedisClient) *PayoutsProcessor
func (*PayoutsProcessor) Start ¶
func (u *PayoutsProcessor) Start()
Click to show internal directories.
Click to hide internal directories.