diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-27 00:03:43 +0000 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-11-27 00:03:43 +0000 |
commit | a4e950606916bce12d83076a912ac9b965e5465c (patch) | |
tree | 9e979c54b50fad420c19a174bb42eb7dbf7ad352 /src/wallet/wallet2.h | |
parent | Merge pull request #501 (diff) | |
download | monero-a4e950606916bce12d83076a912ac9b965e5465c.tar.xz |
wallet2: split pull blocks between pulling and processing
Diffstat (limited to '')
-rw-r--r-- | src/wallet/wallet2.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h index e036020b8..47f8bc379 100644 --- a/src/wallet/wallet2.h +++ b/src/wallet/wallet2.h @@ -355,7 +355,8 @@ 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_added); + void pull_blocks(uint64_t start_height, uint64_t& blocks_start_height, 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); void process_unconfirmed(const cryptonote::transaction& tx, uint64_t height); |