aboutsummaryrefslogtreecommitdiff
path: root/src/blockchain_db/lmdb/db_lmdb.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2016-12-23 16:38:28 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2017-01-07 20:52:17 +0000
commit0478ac6848ac11296635eb188d5f0580dbf8b5f0 (patch)
treecf1d50eb28e5203693810363653554ea13684137 /src/blockchain_db/lmdb/db_lmdb.h
parentMerge pull request #1483 (diff)
downloadmonero-0478ac6848ac11296635eb188d5f0580dbf8b5f0.tar.xz
blockchain: allow marking "tx not found" without an exception
This is a normal occurence in many cases, and there is no need to spam the log with those when it is.
Diffstat (limited to '')
-rw-r--r--src/blockchain_db/lmdb/db_lmdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h
index 6db5abca1..b0d8d9d0a 100644
--- a/src/blockchain_db/lmdb/db_lmdb.h
+++ b/src/blockchain_db/lmdb/db_lmdb.h
@@ -209,6 +209,8 @@ public:
virtual transaction get_tx(const crypto::hash& h) const;
+ virtual bool get_tx(const crypto::hash& h, transaction &tx) const;
+
virtual uint64_t get_tx_count() const;
virtual std::vector<transaction> get_tx_list(const std::vector<crypto::hash>& hlist) const;