mirror of
https://github.com/monero-project/monero.git
synced 2025-06-08 16:42:44 -04:00
wallet: add encrypted seed functionality
This uses luigi1111's CN_Add method. See https://xmr.llcoins.net for details.
This commit is contained in:
parent
02e5dcd2fa
commit
651baaec46
6 changed files with 63 additions and 5 deletions
|
@ -212,6 +212,8 @@ namespace cryptonote
|
|||
bool is_valid_decomposed_amount(uint64_t amount);
|
||||
void get_hash_stats(uint64_t &tx_hashes_calculated, uint64_t &tx_hashes_cached, uint64_t &block_hashes_calculated, uint64_t & block_hashes_cached);
|
||||
|
||||
crypto::secret_key encrypt_key(const crypto::secret_key &key, const std::string &passphrase);
|
||||
crypto::secret_key decrypt_key(const crypto::secret_key &key, const std::string &passphrase);
|
||||
#define CHECKED_GET_SPECIFIC_VARIANT(variant_var, specific_type, variable_name, fail_return_val) \
|
||||
CHECK_AND_ASSERT_MES(variant_var.type() == typeid(specific_type), fail_return_val, "wrong variant type: " << variant_var.type().name() << ", expected " << typeid(specific_type).name()); \
|
||||
specific_type& variable_name = boost::get<specific_type>(variant_var);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue