Documentation ¶
Index ¶
- func CollectGenTxsCmd(ctx *server.Context, cdc *codec.Codec, ...) *cobra.Command
- func GenTxCmd(ctx *server.Context, cdc *codec.Codec, mbm module.BasicManager, ...) *cobra.Command
- func InitCmd(ctx *server.Context, cdc codec.JSONMarshaler, mbm module.BasicManager, ...) *cobra.Command
- func ValidateGenesisCmd(ctx *server.Context, cdc *codec.Codec, mbm module.BasicManager) *cobra.Command
- type StakingMsgBuildingHelpers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CollectGenTxsCmd ¶
func CollectGenTxsCmd(ctx *server.Context, cdc *codec.Codec, genBalIterator types.GenesisBalancesIterator, manager types.StakingFuncManager, defaultNodeHome string) *cobra.Command
CollectGenTxsCmd - return the cobra command to collect genesis transactions
func GenTxCmd ¶
func GenTxCmd(ctx *server.Context, cdc *codec.Codec, mbm module.BasicManager, smbh StakingMsgBuildingHelpers, genBalIterator types.GenesisBalancesIterator, defaultNodeHome, defaultCLIHome string, stakingFuncManager types.StakingFuncManager) *cobra.Command
GenTxCmd builds the application's gentx command.
func InitCmd ¶
func InitCmd(ctx *server.Context, cdc codec.JSONMarshaler, mbm module.BasicManager, defaultNodeHome string) *cobra.Command
InitCmd returns a command that initializes all files needed for Tendermint and the respective application.
func ValidateGenesisCmd ¶
func ValidateGenesisCmd(ctx *server.Context, cdc *codec.Codec, mbm module.BasicManager) *cobra.Command
Validate genesis command takes
Types ¶
type StakingMsgBuildingHelpers ¶
type StakingMsgBuildingHelpers interface { CreateValidatorMsgHelpers(ipDefault string) (fs *flag.FlagSet, nodeIDFlag, pubkeyFlag, amountFlag, defaultsDesc string) PrepareFlagsForTxCreateValidator(config *cfg.Config, nodeID, chainID string, valPubKey crypto.PubKey) BuildCreateValidatorMsg(cliCtx txutil.KuCLIContext, txBldr txutil.TxBuilder, operAccountID chainTypes.AccountID, authAddress sdk.AccAddress) (txutil.TxBuilder, sdk.Msg, error) BuildDelegateMsg(cliCtx txutil.KuCLIContext, txBldr txutil.TxBuilder, delAccountID chainTypes.AccountID, valAccountID chainTypes.AccountID) (txutil.TxBuilder, sdk.Msg, error) }
StakingMsgBuildingHelpers helpers for message building gen-tx command
Click to show internal directories.
Click to hide internal directories.