Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidFlagUsage = errors.Register(types.ModuleName, 1110, "invalid flag usage")
ErrInvalidFlagUsage is returned when CLI flags are used incorrectly or in incompatible combinations
Functions ¶
func ParseAndSetNetworkRelatedFlags ¶ added in v0.1.13
ParseAndSetNetworkRelatedFlags checks if the --network flag is set (i.e. not empty-string). If so, sets the following flags according to their hard-coded network-specific values: • --chain-id • --node • --grpc-addr • --grpc-insecure • --faucet-base-url
Types ¶
type ArmoredJson ¶
type ArmoredJson struct {
Kdf string `json:"kdf" yaml:"kdf"`
Salt string `json:"salt" yaml:"salt"`
SecParam string `json:"secparam" yaml:"secparam"`
Hint string `json:"hint" yaml:"hint"`
Ciphertext string `json:"ciphertext" yaml:"ciphertext"`
}
ArmoredJson is a data structure which is used to (de)serialize the encrypted exported Morse private key file. Copy-pasted from https://github.com/pokt-network/pocket-core/blob/2cd25e82095dc52939fef58e9cc3deb1923c01f7/crypto/keys/mintkey/mintkey.go#L96
Click to show internal directories.
Click to hide internal directories.