aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/wallet2.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2014-08-02 11:13:26 +0200
committerRiccardo Spagni <ric@spagni.net>2014-08-02 11:13:26 +0200
commitba99a8633319cf11e12c63b80a118588cf5c6aae (patch)
tree4d2fda0575eff0ae88d702c7c9e35cd3b1f8c4b3 /src/wallet/wallet2.h
parentMerge pull request #64 from mikezackles/bytecoin_tx_pool_tmp (diff)
parent#36 make it compile and work properly (diff)
downloadmonero-ba99a8633319cf11e12c63b80a118588cf5c6aae.tar.xz
Merge pull request #73 from jakoblind/refresh_height
Optional height parameter for wallet refresh
Diffstat (limited to 'src/wallet/wallet2.h')
-rw-r--r--src/wallet/wallet2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/wallet/wallet2.h b/src/wallet/wallet2.h
index d607dd306..4323404d3 100644
--- a/src/wallet/wallet2.h
+++ b/src/wallet/wallet2.h
@@ -152,8 +152,8 @@ namespace tools
void callback(i_wallet2_callback* callback) { m_callback = callback; }
void refresh();
- void refresh(size_t & blocks_fetched);
- void refresh(size_t & blocks_fetched, bool& received_money);
+ void refresh(uint64_t start_height, size_t & blocks_fetched);
+ void refresh(uint64_t start_height, size_t & blocks_fetched, bool& received_money);
bool refresh(size_t & blocks_fetched, bool& received_money, bool& ok);
uint64_t balance();
@@ -202,7 +202,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(size_t& blocks_added);
+ void pull_blocks(uint64_t start_height, size_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);