node

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

nolint autogenerated code using github.com/rigelrozanski/multitool aliases generated for the following subdirectories: ALIASGEN: github.com/sentinel-official/hub/x/node/types ALIASGEN: github.com/sentinel-official/hub/x/node/keeper ALIASGEN: github.com/sentinel-official/hub/x/node/querier

Index

Constants

View Source
const (
	Codespace               = types.Codespace
	EventTypeSet            = types.EventTypeSet
	EventTypeUpdate         = types.EventTypeUpdate
	EventTypeSetStatus      = types.EventTypeSetStatus
	AttributeKeyProvider    = types.AttributeKeyProvider
	AttributeKeyAddress     = types.AttributeKeyAddress
	AttributeKeyStatus      = types.AttributeKeyStatus
	ModuleName              = types.ModuleName
	ParamsSubspace          = types.ParamsSubspace
	QuerierRoute            = types.QuerierRoute
	CategoryUnknown         = types.CategoryUnknown
	DefaultInactiveDuration = types.DefaultInactiveDuration
	QueryNode               = types.QueryNode
	QueryNodes              = types.QueryNodes
	QueryNodesForProvider   = types.QueryNodesForProvider
)

Variables

View Source
var (
	// functions aliases
	RegisterCodec                  = types.RegisterCodec
	ErrorMarshal                   = types.ErrorMarshal
	ErrorUnmarshal                 = types.ErrorUnmarshal
	ErrorUnknownMsgType            = types.ErrorUnknownMsgType
	ErrorUnknownQueryType          = types.ErrorUnknownQueryType
	ErrorInvalidField              = types.ErrorInvalidField
	ErrorProviderDoesNotExist      = types.ErrorProviderDoesNotExist
	ErrorDuplicateNode             = types.ErrorDuplicateNode
	ErrorNodeDoesNotExist          = types.ErrorNodeDoesNotExist
	NewGenesisState                = types.NewGenesisState
	DefaultGenesisState            = types.DefaultGenesisState
	NodeKey                        = types.NodeKey
	GetNodeForProviderKeyPrefix    = types.GetNodeForProviderKeyPrefix
	NodeForProviderKey             = types.NodeForProviderKey
	GetActiveNodeAtKeyPrefix       = types.GetActiveNodeAtKeyPrefix
	ActiveNodeAtKey                = types.ActiveNodeAtKey
	NewMsgRegister                 = types.NewMsgRegister
	NewMsgUpdate                   = types.NewMsgUpdate
	NewMsgSetStatus                = types.NewMsgSetStatus
	CategoryFromString             = types.CategoryFromString
	NewParams                      = types.NewParams
	DefaultParams                  = types.DefaultParams
	ParamsKeyTable                 = types.ParamsKeyTable
	NewQueryNodeParams             = types.NewQueryNodeParams
	NewQueryNodesParams            = types.NewQueryNodesParams
	NewQueryNodesForProviderParams = types.NewQueryNodesForProviderParams
	NewKeeper                      = keeper.NewKeeper
	Querier                        = querier.Querier

	// variable aliases
	ModuleCdc                = types.ModuleCdc
	RouterKey                = types.RouterKey
	StoreKey                 = types.StoreKey
	EventModuleName          = types.EventModuleName
	NodeKeyPrefix            = types.NodeKeyPrefix
	NodeForProviderKeyPrefix = types.NodeForProviderKeyPrefix
	ActiveNodeAtKeyPrefix    = types.ActiveNodeAtKeyPrefix
	KeyInactiveDuration      = types.KeyInactiveDuration
)

Functions

func EndBlock

func EndBlock(ctx sdk.Context, k keeper.Keeper) []abci.ValidatorUpdate

func ExportGenesis

func ExportGenesis(ctx sdk.Context, k keeper.Keeper) types.GenesisState

func HandleRegister

func HandleRegister(ctx sdk.Context, k keeper.Keeper, msg types.MsgRegister) sdk.Result

func HandleSetStatus

func HandleSetStatus(ctx sdk.Context, k keeper.Keeper, msg types.MsgSetStatus) sdk.Result

func HandleUpdate

func HandleUpdate(ctx sdk.Context, k keeper.Keeper, msg types.MsgUpdate) sdk.Result

func InitGenesis

func InitGenesis(ctx sdk.Context, k keeper.Keeper, state types.GenesisState)

func ValidateGenesis

func ValidateGenesis(state types.GenesisState) error

Types

type Category

type Category = types.Category

type GenesisState

type GenesisState = types.GenesisState

type Keeper

type Keeper = keeper.Keeper

type MsgRegister

type MsgRegister = types.MsgRegister

type MsgSetStatus

type MsgSetStatus = types.MsgSetStatus

type MsgUpdate

type MsgUpdate = types.MsgUpdate

type Node

type Node = types.Node

type Nodes

type Nodes = types.Nodes

type Params

type Params = types.Params

type QueryNodeParams

type QueryNodeParams = types.QueryNodeParams

type QueryNodesForProviderParams

type QueryNodesForProviderParams = types.QueryNodesForProviderParams

type QueryNodesParams

type QueryNodesParams = types.QueryNodesParams

Directories

Path Synopsis
client
cli

Jump to

Keyboard shortcuts

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