aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/cryptonote_core.cpp
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/cryptonote_core/cryptonote_core.cpp
parentd1b0ee7ecdd25a1aeeab2f4dc0d610fce1acd116 (diff)
parent29c675acc05fa2b2624f84e1b41950fa20b4b518 (diff)
downloadmonzero-core-ba99a8633319cf11e12c63b80a118588cf5c6aae.tar.gz
monzero-core-ba99a8633319cf11e12c63b80a118588cf5c6aae.tar.xz
monzero-core-ba99a8633319cf11e12c63b80a118588cf5c6aae.zip
Merge pull request #73 from jakoblind/refresh_height
Optional height parameter for wallet refresh
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
-rw-r--r--src/cryptonote_core/cryptonote_core.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
index b0723c283..24c05497f 100644
--- a/src/cryptonote_core/cryptonote_core.cpp
+++ b/src/cryptonote_core/cryptonote_core.cpp
@@ -323,9 +323,9 @@ namespace cryptonote
return m_blockchain_storage.find_blockchain_supplement(qblock_ids, resp);
}
//-----------------------------------------------------------------------------------------------
- bool core::find_blockchain_supplement(const std::list<crypto::hash>& qblock_ids, std::list<std::pair<block, std::list<transaction> > >& blocks, uint64_t& total_height, uint64_t& start_height, size_t max_count)
+ bool core::find_blockchain_supplement(const uint64_t req_start_block, const std::list<crypto::hash>& qblock_ids, std::list<std::pair<block, std::list<transaction> > >& blocks, uint64_t& total_height, uint64_t& start_height, size_t max_count)
{
- return m_blockchain_storage.find_blockchain_supplement(qblock_ids, blocks, total_height, start_height, max_count);
+ return m_blockchain_storage.find_blockchain_supplement(req_start_block, qblock_ids, blocks, total_height, start_height, max_count);
}
//-----------------------------------------------------------------------------------------------
void core::print_blockchain(uint64_t start_index, uint64_t end_index)