diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-13 21:03:04 +0100 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2017-09-18 16:29:00 +0100 |
| commit | 7adceee634354f9291de8dd021669d7ca5cf3f2a (patch) | |
| tree | 30743bd5eaddab868baba6e19bc3aace6e68951c /src/cryptonote_core/cryptonote_core.cpp | |
| parent | 1a73843ceca12932e57f57caf66033c69f8c0d1f (diff) | |
| download | monzero-core-7adceee634354f9291de8dd021669d7ca5cf3f2a.tar.gz monzero-core-7adceee634354f9291de8dd021669d7ca5cf3f2a.tar.xz monzero-core-7adceee634354f9291de8dd021669d7ca5cf3f2a.zip | |
precomputed block hashes are now in blocks of N (currently 256)
This shaves a lot of space off binaries
Diffstat (limited to 'src/cryptonote_core/cryptonote_core.cpp')
| -rw-r--r-- | src/cryptonote_core/cryptonote_core.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp index 56485aedf..293fb42e9 100644 --- a/src/cryptonote_core/cryptonote_core.cpp +++ b/src/cryptonote_core/cryptonote_core.cpp @@ -1400,6 +1400,11 @@ namespace cryptonote return m_target_blockchain_height; } //----------------------------------------------------------------------------------------------- + uint64_t core::prevalidate_block_hashes(uint64_t height, const std::list<crypto::hash> &hashes) + { + return get_blockchain_storage().prevalidate_block_hashes(height, hashes); + } + //----------------------------------------------------------------------------------------------- std::time_t core::get_start_time() const { return start_time; |
