diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-27 00:35:41 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-27 00:35:41 +0000 |
commit | d0eaf1d4e155ee55bc3664a80f991f27d43cf71f (patch) | |
tree | e40937bb8f6106c205834c5561b0ca5d4842dcb9 /src/wallet/wallet2.h | |
parent | wallet2: split pull blocks between pulling and processing (diff) | |
download | monero-d0eaf1d4e155ee55bc3664a80f991f27d43cf71f.tar.xz |
wallet2: maintain the short chain manually when refreshing
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r-- | src/wallet/wallet2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index 47f8bc379..c1365f276 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -355,7 +355,7 @@ namespace tools bool is_tx_spendtime_unlocked(uint64_t unlock_time) const; bool is_transfer_unlocked(const transfer_details& td) const; bool clear(); - void pull_blocks(uint64_t start_height, uint64_t& blocks_start_height, std::list<cryptonote::block_complete_entry> &blocks); + void pull_blocks(uint64_t start_height, uint64_t& blocks_start_height, const std::list<crypto::hash> &short_chain_history, std::list<cryptonote::block_complete_entry> &blocks); void process_blocks(uint64_t start_height, const std::list<cryptonote::block_complete_entry> &blocks, uint64_t& blocks_added); uint64_t select_transfers(uint64_t needed_money, bool add_dust, uint64_t dust, std::list<transfer_container::iterator>& selected_transfers); bool prepare_file_names(const std::string& file_path); |