Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetIdsByBlockNumber ¶
func GetMasternodeID ¶
Types ¶
type Masternode ¶
type Masternode struct { ENode *enode.Node ID string NodeID discv5.NodeID Account common.Address OriginBlock *big.Int BlockOnline *big.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 ¶
type MasternodeData ¶
type MasternodeData struct { Index int `json:"index" gencodec:"required"` Id string `json:"id" gencodec:"required"` Data string `json:"data" gencodec:"required"` Note string `json:"note" gencodec:"required"` Account common.Address `json:"account"` PrivateKey string `json:"privateKey" gencodec:"required"` PublicKey string `json:"publicKey" gencodec:"required"` Coinbase common.Address `json:"coinbase"` Status uint64 `json:"status"` BlockEnd uint64 `json:"blockEnd"` BlockRegister uint64 `json:"blockRegister"` BlockLastPing uint64 `json:"blockLastPing"` BlockOnline uint64 `json:"blockOnline"` BlockOnlineAcc uint64 `json:"blockOnlineAcc"` Referrer string `json:"referrer"` }
type MasternodeDatas ¶
type MasternodeDatas []*MasternodeData
func (MasternodeDatas) Len ¶
func (s MasternodeDatas) Len() int
func (MasternodeDatas) Less ¶
func (s MasternodeDatas) Less(i, j int) bool
func (MasternodeDatas) Swap ¶
func (s MasternodeDatas) Swap(i, j int)
Click to show internal directories.
Click to hide internal directories.