Documentation ¶
Index ¶
Constants ¶
View Source
const (
MASTERNODE_PING_INTERVAL = 1200 * time.Second
)
View Source
const (
MasternodeInit = iota
)
Variables ¶
This section is empty.
Functions ¶
func GetGovernanceAddress ¶
func GetIdsByBlockNumber ¶
func GetMasternodeID ¶
Types ¶
type Masternode ¶
type Masternode struct { ENode *enode.Node ID string NodeID discv5.NodeID Account common.Address OriginBlock *big.Int State int BlockOnlineAcc *big.Int BlockLastPing *big.Int }
func (*Masternode) String ¶
func (n *Masternode) String() string
type MasternodeContext ¶
type MasternodeContext struct { Node *Masternode // contains filtered or unexported fields }
func GetMasternodeContext ¶
Click to show internal directories.
Click to hide internal directories.