exported

package
v0.7.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL