1
0
Fork 0
forked from lthn/blockchain

added logging in wallet for deffered indexes requesting

This commit is contained in:
cryptozoidberg 2020-06-18 20:37:01 +02:00
parent a67633e3ed
commit 322aaf8251
No known key found for this signature in database
GPG key ID: 22DEB97A54C6FDEC
2 changed files with 7 additions and 1 deletions

View file

@ -2478,6 +2478,12 @@ uint64_t wallet2::get_wallet_file_size()const
return m_current_wallet_file_size;
}
//----------------------------------------------------------------------------------------------------
void wallet2::set_use_deffered_global_outputs(bool use)
{
LOG_PRINT_L0("[DEFFERED_MODE]: " << use);
m_use_deffered_global_outputs = use;
}
//----------------------------------------------------------------------------------------------------
void wallet2::store_watch_only(const std::wstring& path_to_save, const std::string& password) const
{
WLT_THROW_IF_FALSE_WALLET_INT_ERR_EX(path_to_save != m_wallet_file, "trying to save watch-only wallet to the same wallet file!");

View file

@ -797,7 +797,7 @@ namespace tools
bool get_utxo_distribution(std::map<uint64_t, uint64_t>& distribution);
uint64_t get_sync_progress();
uint64_t get_wallet_file_size()const;
void set_use_deffered_global_outputs(bool use) { m_use_deffered_global_outputs = use;}
void set_use_deffered_global_outputs(bool use);
private: