Documentation ¶
Index ¶
- Constants
- Variables
- type Backend
- type Config
- type DebClient
- func (dc *DebClient) FnAddress() common.Address
- func (dc *DebClient) Start(backend Backend) error
- func (dc *DebClient) Stop()
- func (dc *DebClient) SubscribeClientCloseEvent(ch chan<- types.ClientClose) event.Subscription
- func (dc *DebClient) SubscribeFairnodeStatusEvent(ch chan<- types.FairnodeStatusEvent) event.Subscription
- type Miner
Constants ¶
View Source
const ( HEART_BEAT_TERM = 3 // per min REQ_OTPRN_TERM = 3 // per sec )
View Source
const ( Port = "60002" // service port MainnetFairHost = "fairnode.mainnet.anduschain.io" TestnetFairHost = "fairnode.testnet.anduschain.io" )
Variables ¶
View Source
var DefaultConfig = Config{
FairServerHost: "localhost",
FairServerPort: "60002",
}
Functions ¶
This section is empty.
Types ¶
type DebClient ¶
type DebClient struct {
// contains filtered or unexported fields
}
func NewDebClient ¶
func (*DebClient) SubscribeClientCloseEvent ¶
func (dc *DebClient) SubscribeClientCloseEvent(ch chan<- types.ClientClose) event.Subscription
client process close event
func (*DebClient) SubscribeFairnodeStatusEvent ¶
func (dc *DebClient) SubscribeFairnodeStatusEvent(ch chan<- types.FairnodeStatusEvent) event.Subscription
fairnode process status event
Click to show internal directories.
Click to hide internal directories.