Documentation ¶
Index ¶
- Constants
- func AddKey(ac address.Codec) *cobra.Command
- func AddSedaKeysFlagsToCmd(cmd *cobra.Command)
- func GetCmdQueryParams() *cobra.Command
- func GetCmdValidatorKeys() *cobra.Command
- func GetProvingSchemes() *cobra.Command
- func GetQueryCmd() *cobra.Command
- func GetTxCmd(valAddrCodec address.Codec) *cobra.Command
- func LoadOrGenerateSEDAKeys(cmd *cobra.Command, valAddr sdk.ValAddress) ([]types.IndexedPubKey, error)
Constants ¶
View Source
const ( // FlagKeyFile defines a flag to specify an existing key file. FlagKeyFile = "key-file" // FlagForceKeyFile defines a flag to specify that the key file should be overwritten if it already exists. FlagForceKeyFile = "key-file-force" // FlagEncryptionKey defines a flag to specify an existing encryption key. FlagEncryptionKey = "key-file-custom-encryption-key" // FlagNoEncryption defines a flag to specify that the generated key file should not be encrypted. FlagNoEncryption = "key-file-no-encryption" )
Variables ¶
This section is empty.
Functions ¶
func AddKey ¶
AddKey returns the command for generating the SEDA keys and uploading their public keys on chain.
func AddSedaKeysFlagsToCmd ¶
func GetCmdQueryParams ¶
func GetCmdValidatorKeys ¶
GetCmdValidatorKeys returns the command for querying a given validator's public keys.
func GetProvingSchemes ¶
GetProvingSchemes returns the command for querying statuses of the SEDA proving schemes.
func GetQueryCmd ¶
GetQueryCmd returns the CLI query commands for this module
func LoadOrGenerateSEDAKeys ¶
func LoadOrGenerateSEDAKeys(cmd *cobra.Command, valAddr sdk.ValAddress) ([]types.IndexedPubKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.