Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockUnlocker ¶
type BlockUnlocker struct {
// contains filtered or unexported fields
}
func NewBlockUnlocker ¶
func NewBlockUnlocker(cfg *UnlockerConfig, backend *storage.RedisClient) *BlockUnlocker
func (*BlockUnlocker) Start ¶
func (u *BlockUnlocker) Start()
type PayoutsConfig ¶
type PayoutsConfig struct { Enabled bool `json:"enabled"` RequirePeers int `json:"requirePeers"` Interval string `json:"interval"` Daemon string `json:"daemon"` Timeout string `json:"timeout"` // In Shannon Threshold int64 `json:"threshold"` BgSave bool `json:"bgsave"` Account string Password string Address string `json:"address"` }
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()
type UnlockResult ¶
type UnlockResult struct {
// contains filtered or unexported fields
}
type UnlockerConfig ¶
type UnlockerConfig struct { Enabled bool `json:"enabled"` PoolFee float64 `json:"poolFee"` Donate bool `json:"donate"` Depth int64 `json:"depth"` ImmatureDepth int64 `json:"immatureDepth"` KeepTxFees bool `json:"keepTxFees"` Interval string `json:"interval"` Daemon string `json:"daemon"` Timeout string `json:"timeout"` Account string Password string Address string `json:"address"` PoolFeeAddress string `json:"poolFeeAddress"` }
Click to show internal directories.
Click to hide internal directories.