Documentation ¶
Index ¶
- Constants
- func BufferStdin() *bufio.Reader
- func GetCheckPassword(prompt, prompt2 string, buf *bufio.Reader) (string, error)
- func GetKVProofInfo(cli rpclient.Client, contractAddr common.Address, height int64, ...) (*proof.KVProofInfo, error)
- func GetPassword(prompt string, buf *bufio.Reader) (pass string, err error)
- func ParseAddrs(addrsStr string) ([]common.Address, error)
- func StrToAddress(addrStr string) (common.Address, error)
Constants ¶
View Source
const ( // Minimum acceptable password length MinPassLength = 4 // Flags FlagHomeDir = "home" FlagVerbose = "verbose" FlagNode = "node" FlagAddress = "address" FlagPassword = "password" )
Variables ¶
This section is empty.
Functions ¶
func GetCheckPassword ¶
Prompts for a password twice to verify they match
func GetKVProofInfo ¶ added in v0.4.0
func GetKVProofInfo(cli rpclient.Client, contractAddr common.Address, height int64, key, value cmn.HexBytes) (*proof.KVProofInfo, error)
GetKVProofInfo returns a proof of specified key-value pair existence
func GetPassword ¶
Prompts for a password one-time Enforces minimum password length
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.