|
| wallet_api_impl (wallet_api &s, const wallet_data &initial_data, fc::api< login_api > rapi) |
|
virtual | ~wallet_api_impl () |
|
void | encrypt_keys () |
|
bool | copy_wallet_file (const std::string &destination_filename) |
|
bool | is_locked () const |
|
variant | info () const |
|
variant_object | about () const |
|
account_api_obj | get_account (const std::string &account_name) const |
|
std::string | get_wallet_filename () const |
|
optional< fc::ecc::private_key > | try_get_private_key (const public_key_type &id) const |
|
fc::ecc::private_key | get_private_key (const public_key_type &id) const |
|
fc::ecc::private_key | get_private_key_for_account (const account_api_obj &account) const |
|
bool | import_key (const std::string &wif_key) |
|
bool | load_wallet_file (std::string wallet_filename="") |
|
void | save_wallet_file (std::string wallet_filename="") |
|
int | find_first_unused_derived_key_index (const fc::ecc::private_key &parent_key) |
|
signed_transaction | create_account_with_private_key (fc::ecc::private_key owner_privkey, const std::string &account_name, const std::string &creator_account_name, bool broadcast=false, bool save_wallet=true) |
|
signed_transaction | set_voting_proxy (const std::string &account_to_modify, const std::string &proxy, bool broadcast) |
|
optional< witness_api_obj > | get_witness (const std::string &owner_account) |
|
void | set_transaction_expiration (uint32_t tx_expiration_seconds) |
|
annotated_signed_transaction | sign_transaction (signed_transaction tx, bool broadcast=false) |
|
std::string | print_atomicswap_secret2str (const std::string &secret) const |
|
std::string | print_atomicswap_contract2str (const atomicswap_contract_info_api_obj &rt) const |
|
std::map< std::string, std::function< std::string(fc::variant, const fc::variants &)> > | get_result_formatters () const |
|
void | use_network_node_api () |
|
void | use_remote_account_by_key_api () |
|
void | use_remote_account_history_api () |
|
void | use_remote_devcommittee_history_api () |
|
void | use_remote_blockchain_history_api () |
|
void | network_add_nodes (const std::vector< std::string > &nodes) |
|
std::vector< variant > | network_get_connected_peers () |
|
operation | get_prototype_operation (const std::string &operation_name) |
|
Definition at line 110 of file wallet.cpp.
◆ wallet_api_impl()
◆ ~wallet_api_impl()
virtual scorum::wallet::detail::wallet_api_impl::~wallet_api_impl |
( |
| ) |
|
|
inlinevirtual |
◆ about()
variant_object scorum::wallet::detail::wallet_api_impl::about |
( |
| ) |
const |
|
inline |
◆ copy_wallet_file()
bool scorum::wallet::detail::wallet_api_impl::copy_wallet_file |
( |
const std::string & |
destination_filename | ) |
|
|
inline |
◆ create_account_with_private_key()
signed_transaction scorum::wallet::detail::wallet_api_impl::create_account_with_private_key |
( |
fc::ecc::private_key |
owner_privkey, |
|
|
const std::string & |
account_name, |
|
|
const std::string & |
creator_account_name, |
|
|
bool |
broadcast = false , |
|
|
bool |
save_wallet = true |
|
) |
| |
|
inline |
◆ encrypt_keys()
void scorum::wallet::detail::wallet_api_impl::encrypt_keys |
( |
| ) |
|
|
inline |
◆ find_first_unused_derived_key_index()
int scorum::wallet::detail::wallet_api_impl::find_first_unused_derived_key_index |
( |
const fc::ecc::private_key & |
parent_key | ) |
|
|
inline |
◆ get_account()
account_api_obj scorum::wallet::detail::wallet_api_impl::get_account |
( |
const std::string & |
account_name | ) |
const |
|
inline |
◆ get_private_key()
fc::ecc::private_key scorum::wallet::detail::wallet_api_impl::get_private_key |
( |
const public_key_type & |
id | ) |
const |
|
inline |
◆ get_private_key_for_account()
fc::ecc::private_key scorum::wallet::detail::wallet_api_impl::get_private_key_for_account |
( |
const account_api_obj & |
account | ) |
const |
|
inline |
◆ get_prototype_operation()
operation scorum::wallet::detail::wallet_api_impl::get_prototype_operation |
( |
const std::string & |
operation_name | ) |
|
|
inline |
◆ get_result_formatters()
std::map<std::string, std::function<std::string(fc::variant, const fc::variants&)> > scorum::wallet::detail::wallet_api_impl::get_result_formatters |
( |
| ) |
const |
|
inline |
◆ get_wallet_filename()
std::string scorum::wallet::detail::wallet_api_impl::get_wallet_filename |
( |
| ) |
const |
|
inline |
◆ get_witness()
optional<witness_api_obj> scorum::wallet::detail::wallet_api_impl::get_witness |
( |
const std::string & |
owner_account | ) |
|
|
inline |
◆ import_key()
bool scorum::wallet::detail::wallet_api_impl::import_key |
( |
const std::string & |
wif_key | ) |
|
|
inline |
◆ info()
variant scorum::wallet::detail::wallet_api_impl::info |
( |
| ) |
const |
|
inline |
◆ is_locked()
bool scorum::wallet::detail::wallet_api_impl::is_locked |
( |
| ) |
const |
|
inline |
◆ load_wallet_file()
bool scorum::wallet::detail::wallet_api_impl::load_wallet_file |
( |
std::string |
wallet_filename = "" | ) |
|
|
inline |
◆ network_add_nodes()
void scorum::wallet::detail::wallet_api_impl::network_add_nodes |
( |
const std::vector< std::string > & |
nodes | ) |
|
|
inline |
◆ network_get_connected_peers()
std::vector<variant> scorum::wallet::detail::wallet_api_impl::network_get_connected_peers |
( |
| ) |
|
|
inline |
◆ print_atomicswap_contract2str()
◆ print_atomicswap_secret2str()
std::string scorum::wallet::detail::wallet_api_impl::print_atomicswap_secret2str |
( |
const std::string & |
secret | ) |
const |
|
inline |
◆ save_wallet_file()
void scorum::wallet::detail::wallet_api_impl::save_wallet_file |
( |
std::string |
wallet_filename = "" | ) |
|
|
inline |
◆ set_transaction_expiration()
void scorum::wallet::detail::wallet_api_impl::set_transaction_expiration |
( |
uint32_t |
tx_expiration_seconds | ) |
|
|
inline |
◆ set_voting_proxy()
signed_transaction scorum::wallet::detail::wallet_api_impl::set_voting_proxy |
( |
const std::string & |
account_to_modify, |
|
|
const std::string & |
proxy, |
|
|
bool |
broadcast |
|
) |
| |
|
inline |
◆ sign_transaction()
TODO: fetch the accounts specified via other_auths as well.
TODO: recursively check one layer deeper in the authority tree for keys
Definition at line 498 of file wallet.cpp.
◆ try_get_private_key()
optional<fc::ecc::private_key> scorum::wallet::detail::wallet_api_impl::try_get_private_key |
( |
const public_key_type & |
id | ) |
const |
|
inline |
◆ use_network_node_api()
void scorum::wallet::detail::wallet_api_impl::use_network_node_api |
( |
| ) |
|
|
inline |
◆ use_remote_account_by_key_api()
void scorum::wallet::detail::wallet_api_impl::use_remote_account_by_key_api |
( |
| ) |
|
|
inline |
◆ use_remote_account_history_api()
void scorum::wallet::detail::wallet_api_impl::use_remote_account_history_api |
( |
| ) |
|
|
inline |
◆ use_remote_blockchain_history_api()
void scorum::wallet::detail::wallet_api_impl::use_remote_blockchain_history_api |
( |
| ) |
|
|
inline |
◆ use_remote_devcommittee_history_api()
void scorum::wallet::detail::wallet_api_impl::use_remote_devcommittee_history_api |
( |
| ) |
|
|
inline |
◆ _chain_api
fc::api<chain_api> scorum::wallet::detail::wallet_api_impl::_chain_api |
◆ _chain_id
◆ _checksum
fc::sha512 scorum::wallet::detail::wallet_api_impl::_checksum |
◆ _keys
std::map<public_key_type, std::string> scorum::wallet::detail::wallet_api_impl::_keys |
◆ _operation_which_map
◆ _prototype_ops
flat_map<std::string, operation> scorum::wallet::detail::wallet_api_impl::_prototype_ops |
◆ _remote_account_by_key_api
◆ _remote_account_history_api
◆ _remote_api
fc::api<login_api> scorum::wallet::detail::wallet_api_impl::_remote_api |
◆ _remote_blockchain_history_api
◆ _remote_db
fc::api<database_api> scorum::wallet::detail::wallet_api_impl::_remote_db |
◆ _remote_devcommittee_history_api
◆ _remote_net_broadcast
◆ _remote_net_node
optional<fc::api<network_node_api> > scorum::wallet::detail::wallet_api_impl::_remote_net_node |
◆ _tx_expiration_seconds
uint32_t scorum::wallet::detail::wallet_api_impl::_tx_expiration_seconds = 30 |
◆ _wallet
wallet_data scorum::wallet::detail::wallet_api_impl::_wallet |
◆ _wallet_filename
std::string scorum::wallet::detail::wallet_api_impl::_wallet_filename |
◆ _wallet_filename_extension
const std::string scorum::wallet::detail::wallet_api_impl::_wallet_filename_extension = ".wallet" |
◆ method_documentation
◆ self
wallet_api& scorum::wallet::detail::wallet_api_impl::self |
The documentation for this class was generated from the following file: