exported

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 2 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
	GetNetworkID() string           // network id of the node
	GetPubKey() crypto.PubKey       // pubkey of the node
	GetNetworkAddr() sdk.AccAddress // 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
	GetNetworkID() string           // network ID of the node
	GetPubKey() crypto.PubKey       // pubkey of the node
	GetNetworkAddr() sdk.AccAddress // 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