cli

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2020 License: GPL-3.0 Imports: 16 Imported by: 0

Documentation

Overview

Initialize commands for cli (add genesis validator).

Operations with validators via multisignature calls by CLI.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddGenesisPoAValidatorCmd

func AddGenesisPoAValidatorCmd(ctx *server.Context, cdc *codec.Codec) *cobra.Command

Add PoA genesis validator via CLI to genesis.json.

func GetMinMax

func GetMinMax(queryRoute string, cdc *codec.Codec) *cobra.Command

Get min/max values for validators amount.

func GetValidator

func GetValidator(queryRoute string, cdc *codec.Codec) *cobra.Command

Get a validator by address.

func GetValidators

func GetValidators(queryRoute string, cdc *codec.Codec) *cobra.Command

Get validators list from CLI.

func PostMsAddValidator

func PostMsAddValidator(cdc *codec.Codec) *cobra.Command

Add new validator via multisignature.

func PostMsRemoveValidator

func PostMsRemoveValidator(cdc *codec.Codec) *cobra.Command

Remove validator via multisignature.

func PostMsReplaceValidator

func PostMsReplaceValidator(cdc *codec.Codec) *cobra.Command

Replace validator via multisignature.

Types

This section is empty.

Jump to

Keyboard shortcuts

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