move checkpoints in a separate library

This commit is contained in:
moneromooo-monero 2017-09-10 17:35:59 +01:00
parent 85f4b600d2
commit 5d65a75b69
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
29 changed files with 72 additions and 67 deletions

View file

@ -340,7 +340,7 @@ size_t block_queue::get_num_filled_spans() const
crypto::hash block_queue::get_last_known_hash(const boost::uuids::uuid &connection_id) const
{
boost::unique_lock<boost::recursive_mutex> lock(mutex);
crypto::hash hash = cryptonote::null_hash;
crypto::hash hash = crypto::null_hash;
uint64_t highest_height = 0;
for (const auto &span: blocks)
{