aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_core/blockchain.h
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2017-08-07 22:10:09 +0200
committerRiccardo Spagni <ric@spagni.net>2017-08-07 22:10:09 +0200
commit62610a3a53c8cab1f846aa37c5b4d7793541ae43 (patch)
treee24b094936692b1458651180ca73d4478c802037 /src/cryptonote_core/blockchain.h
parentMerge pull request #2224 (diff)
parentblockchain: skip checking tx semantics in embedded block hash range (diff)
downloadmonero-62610a3a53c8cab1f846aa37c5b4d7793541ae43.tar.xz
Merge pull request #2225
5d91b26c blockchain: skip checking tx semantics in embedded block hash range (moneromooo-monero)
Diffstat (limited to 'src/cryptonote_core/blockchain.h')
-rw-r--r--src/cryptonote_core/blockchain.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cryptonote_core/blockchain.h b/src/cryptonote_core/blockchain.h
index 564b53af3..bd8a8313c 100644
--- a/src/cryptonote_core/blockchain.h
+++ b/src/cryptonote_core/blockchain.h
@@ -865,6 +865,9 @@ namespace cryptonote
cryptonote::blobdata get_txpool_tx_blob(const crypto::hash& txid) const;
bool for_all_txpool_txes(std::function<bool(const crypto::hash&, const txpool_tx_meta_t&, const cryptonote::blobdata*)>, bool include_blob = false) const;
+ bool is_within_compiled_block_hash_area(uint64_t height) const;
+ bool is_within_compiled_block_hash_area() const { return is_within_compiled_block_hash_area(m_db->height()); }
+
void lock();
void unlock();