Documentation
¶
Index ¶
- Constants
- Variables
- func AccountCommandHandler(ctx *cli.Context)
- func BoostrapCommandHandler(ctx *cli.Context)
- func GetLibp2pAndRAPrivKey(filename string) (libcrypto.PrivKey, *ecdsa.PrivateKey, error)
- func GetLibp2pPrivKey(r []byte) (libcrypto.PrivKey, error)
- func GetRAPrivKey(r []byte) (*ecdsa.PrivateKey, error)
Constants ¶
View Source
const ( BOOT_RNZ = "/BOOT_RNZ" PORT = "4000" REFRESH_RATE = 15 * time.Minute )
Variables ¶
View Source
var ( CREATE_ACCOUNT = "c" ACCOUNT_OUTPUT_FILENAME = "o" PRINT_ACCOUNT_ID = "p" PARSE = "parse" )
View Source
var ( CreateAccountFlag = cli.BoolFlag{ Name: CREATE_ACCOUNT, Usage: "creates a new account", } AccountOutputFileNameFlag = cli.StringFlag{ Name: ACCOUNT_OUTPUT_FILENAME, Usage: "account output file", } PrintPublicKeyFlag = cli.BoolFlag{ Name: PRINT_ACCOUNT_ID, Usage: "print account id of the newly created account", } ParseAccountFile = cli.StringFlag{ Name: PARSE, Usage: "parse an account file", } )
View Source
var ( ACCOUNT = "a" SEED = "seed" )
View Source
var ( BootstrapAccountFlag = cli.StringFlag{ Name: ACCOUNT, Usage: "give an account file (.msa)", } BootstrapAccountSeedFlag = cli.StringFlag{ Name: SEED, Usage: "generate account with seed", } )
Functions ¶
func AccountCommandHandler ¶
func BoostrapCommandHandler ¶
func GetLibp2pAndRAPrivKey ¶
func GetRAPrivKey ¶
func GetRAPrivKey(r []byte) (*ecdsa.PrivateKey, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.