|
Electroneum
|
#include <account.h>
Public Member Functions | |
| account_base () | |
| crypto::secret_key | generate (const crypto::secret_key &recovery_key=crypto::secret_key(), bool recover=false, bool two_random=false) |
| void | create_from_device (const std::string &device_name) |
| void | create_from_device (hw::device &hwdev) |
| void | create_from_keys (const cryptonote::account_public_address &address, const crypto::secret_key &spendkey, const crypto::secret_key &viewkey) |
| void | create_from_viewkey (const cryptonote::account_public_address &address, const crypto::secret_key &viewkey) |
| bool | make_multisig (const crypto::secret_key &view_secret_key, const crypto::secret_key &spend_secret_key, const crypto::public_key &spend_public_key, const std::vector< crypto::secret_key > &multisig_keys) |
| void | finalize_multisig (const crypto::public_key &spend_public_key) |
| const account_keys & | get_keys () const |
| std::string | get_public_address_str (network_type nettype) const |
| std::string | get_public_integrated_address_str (const crypto::hash8 &payment_id, network_type nettype) const |
| hw::device & | get_device () const |
| void | set_device (hw::device &hwdev) |
| void | deinit () |
| uint64_t | get_createtime () const |
| void | set_createtime (uint64_t val) |
| bool | load (const std::string &file_path) |
| bool | store (const std::string &file_path) |
| void | forget_spend_key () |
| const std::vector< crypto::secret_key > & | get_multisig_keys () const |
| void | encrypt_keys (const crypto::chacha_key &key) |
| void | decrypt_keys (const crypto::chacha_key &key) |
| void | encrypt_viewkey (const crypto::chacha_key &key) |
| void | decrypt_viewkey (const crypto::chacha_key &key) |
| template<class t_archive > | |
| void | serialize (t_archive &a, const unsigned int) |
| cryptonote::account_base::account_base | ( | ) |
Definition at line 132 of file account.cpp.
| void cryptonote::account_base::create_from_device | ( | const std::string & | device_name | ) |
Definition at line 209 of file account.cpp.


| void cryptonote::account_base::create_from_device | ( | hw::device & | hwdev | ) |
Definition at line 216 of file account.cpp.

| void cryptonote::account_base::create_from_keys | ( | const cryptonote::account_public_address & | address, |
| const crypto::secret_key & | spendkey, | ||
| const crypto::secret_key & | viewkey | ||
| ) |
Definition at line 189 of file account.cpp.
| void cryptonote::account_base::create_from_viewkey | ( | const cryptonote::account_public_address & | address, |
| const crypto::secret_key & | viewkey | ||
| ) |
Definition at line 243 of file account.cpp.

|
inline |
Definition at line 105 of file account.h.
|
inline |
Definition at line 107 of file account.h.
| void cryptonote::account_base::deinit | ( | ) |
Definition at line 143 of file account.cpp.
|
inline |
Definition at line 104 of file account.h.
|
inline |
Definition at line 106 of file account.h.
| void cryptonote::account_base::finalize_multisig | ( | const crypto::public_key & | spend_public_key | ) |
Definition at line 259 of file account.cpp.
| void cryptonote::account_base::forget_spend_key | ( | ) |
Definition at line 152 of file account.cpp.
| crypto::secret_key cryptonote::account_base::generate | ( | const crypto::secret_key & | recovery_key = crypto::secret_key(), |
| bool | recover = false, |
||
| bool | two_random = false |
||
| ) |
Definition at line 158 of file account.cpp.


|
inline |
|
inline |
| const account_keys & cryptonote::account_base::get_keys | ( | ) | const |
|
inline |
Definition at line 102 of file account.h.
| std::string cryptonote::account_base::get_public_address_str | ( | network_type | nettype | ) | const |
Definition at line 269 of file account.cpp.


| std::string cryptonote::account_base::get_public_integrated_address_str | ( | const crypto::hash8 & | payment_id, |
| network_type | nettype | ||
| ) | const |
Definition at line 275 of file account.cpp.

| bool cryptonote::account_base::load | ( | const std::string & | file_path | ) |
| bool cryptonote::account_base::make_multisig | ( | const crypto::secret_key & | view_secret_key, |
| const crypto::secret_key & | spend_secret_key, | ||
| const crypto::public_key & | spend_public_key, | ||
| const std::vector< crypto::secret_key > & | multisig_keys | ||
| ) |
Definition at line 250 of file account.cpp.

|
inline |
|
inline |
|
inline |
| bool cryptonote::account_base::store | ( | const std::string & | file_path | ) |