diff options
| author | Jakob Lind <karl.jakob.lind@gmail.com> | 2014-08-01 10:17:50 +0200 |
|---|---|---|
| committer | Jakob Lind <karl.jakob.lind@gmail.com> | 2014-08-01 10:17:50 +0200 |
| commit | e4273f24153ca5222ab0af6ea6d84b7761e31f05 (patch) | |
| tree | 30c2413ec7c761d9326d6131bcbcbb0bc61dcb5a /src/cryptonote_core/cryptonote_core.cpp | |
| parent | 78696677998395053c186b5063136434f3dce13f (diff) | |
| download | monzero-core-e4273f24153ca5222ab0af6ea6d84b7761e31f05.tar.gz monzero-core-e4273f24153ca5222ab0af6ea6d84b7761e31f05.tar.xz monzero-core-e4273f24153ca5222ab0af6ea6d84b7761e31f05.zip | |
#36 simplewallet refresh include optional height param
height param is used optionally in refresh command
TODO: This should also be the default behaviour
when generating a new wallet.
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index cd15077f1..f66a15a03 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) |
