Fabcoin Core
0.16.2
P2P Digital Currency
|
Add account management functionnalities to CLI. More...
#include <AccountManager.h>
Public Member Functions | |
bool | execute (int argc, char **argv) |
uses argc, argv provided by the CLI and executes implemented options. More... | |
Static Public Member Functions | |
static void | streamAccountHelp (std::ostream &_out) |
stream account help section More... | |
static void | streamWalletHelp (std::ostream &_out) |
stream wallet help section More... | |
Private Member Functions | |
std::string | createPassword (std::string const &_prompt) const |
ask end user to create a password. More... | |
dev::KeyPair | makeKey () const |
creates a ramdom secret/address pair. It uses ICAP. More... | |
bool | openWallet () |
instanciate KeyManager and open the wallet. More... | |
Private Attributes | |
std::unique_ptr< dev::eth::KeyManager > | m_keyManager |
Add account management functionnalities to CLI.
account list account new account update account import wallet import (import presale wallet)
Definition at line 32 of file AccountManager.h.
|
private |
ask end user to create a password.
Definition at line 202 of file AccountManager.cpp.
bool AccountManager::execute | ( | int | argc, |
char ** | argv | ||
) |
uses argc, argv provided by the CLI and executes implemented options.
Definition at line 46 of file AccountManager.cpp.
|
private |
creates a ramdom secret/address pair. It uses ICAP.
Definition at line 216 of file AccountManager.cpp.
|
private |
instanciate KeyManager and open the wallet.
Definition at line 225 of file AccountManager.cpp.
|
static |
stream account help section
Definition at line 31 of file AccountManager.cpp.
|
static |
stream wallet help section
Definition at line 40 of file AccountManager.cpp.
|
private |
Definition at line 50 of file AccountManager.h.