Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultElderChecker = 2 DefaultBonusChecker = 5 DefaultBonusInterval = 8 * 60 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BCConf ¶
type BCConf struct { TweetContract string `json:"tweet_vote_contract_address"` GameContract string `json:"game_plugin_contract_address"` KolKeyContractAddress string `json:"kol_key_contract_address"` InfuraUrl string `json:"infura_url"` GameTimeInMinute int `json:"game_time_in_minute,omitempty"` TxCheckerInSeconds int `json:"tx_checker_in_seconds,omitempty"` ChainID int64 `json:"chain_id,omitempty"` ElderCheckTimeInSec int `json:"elder_check_time_in_sec"` PointBonusCheckInMin int `json:"point_bonus_check_in_min"` PointBonusIntervalInMin int `json:"point_bonus_interval_in_min"` IsMaster bool `json:"is_master"` }
type DaemonProc ¶
type DaemonProc struct {
// contains filtered or unexported fields
}
func DaemonInst ¶
func DaemonInst() *DaemonProc
func (*DaemonProc) Monitor ¶
func (dp *DaemonProc) Monitor()
func (*DaemonProc) PointSumAtCurrentRound ¶
func (dp *DaemonProc) PointSumAtCurrentRound() float64
Click to show internal directories.
Click to hide internal directories.