diff options
author | Howard Chu <hyc@symas.com> | 2017-02-18 17:27:33 +0000 |
---|---|---|
committer | Howard Chu <hyc@symas.com> | 2017-02-18 21:01:24 +0000 |
commit | dc53e9eef22531902b8bbad7d9ec33cefc211e84 (patch) | |
tree | f07006248f4197ea5c8b400967f58f2fd3b4b904 /src/blockchain_db/lmdb/db_lmdb.h | |
parent | tests: fixup include paths after cryptonote_core split (diff) | |
download | monero-dc53e9eef22531902b8bbad7d9ec33cefc211e84.tar.xz |
Add a few read txns to streamline
Slight perf gain, but mainly to reduce spam at loglevel 3
Diffstat (limited to '')
-rw-r--r-- | src/blockchain_db/lmdb/db_lmdb.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/blockchain_db/lmdb/db_lmdb.h b/src/blockchain_db/lmdb/db_lmdb.h index e7faf8cdc..57c2a5e39 100644 --- a/src/blockchain_db/lmdb/db_lmdb.h +++ b/src/blockchain_db/lmdb/db_lmdb.h @@ -372,7 +372,7 @@ private: uint64_t m_num_txs; uint64_t m_num_outputs; mutable uint64_t m_cum_size; // used in batch size estimation - mutable int m_cum_count; + mutable unsigned int m_cum_count; std::string m_folder; mdb_txn_safe* m_write_txn; // may point to either a short-lived txn or a batch txn mdb_txn_safe* m_write_batch_txn; // persist batch txn outside of BlockchainLMDB |