Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IndexingNodeI ¶
type IndexingNodeI interface { IsSuspended() bool // whether the node is jailed GetMoniker() string // moniker of the node GetStatus() sdk.BondStatus // status of the node GetPubKey() crypto.PubKey // pubkey of the node GetNetworkAddr() stratos.SdsAddress // network address of the node GetTokens() sdk.Int // staking tokens of the node GetOwnerAddr() sdk.AccAddress // owner address of the node }
IndexingNodeI expected indexing node functions
type ResourceNodeI ¶
type ResourceNodeI interface { IsSuspended() bool // whether the node is jailed GetMoniker() string // moniker of the node GetStatus() sdk.BondStatus // status of the node GetPubKey() crypto.PubKey // pubkey of the node GetNetworkAddr() stratos.SdsAddress // network address of the node GetTokens() sdk.Int // staking tokens of the node GetOwnerAddr() sdk.AccAddress // owner address of the node GetNodeType() string // node type }
ResourceNodeI expected resource node functions
Click to show internal directories.
Click to hide internal directories.