monero/src/blockchain_db
moneromooo-monero 5e673c03fe
blockchain_db: fix db txn ending too early
The db txn in add_block ending caused the entire overarching
batch txn to stop.
Also add a new guard class so a db txn can be stopped in the
face of exceptions.

Also use a read only db txn in init when the db itself is
read only, and do not save the max tx size in that case.
2019-04-14 08:35:38 +00:00
..
berkeleydb Update 2019 copyright 2019-03-05 22:05:34 +01:00
lmdb blockchain_db: fix db txn ending too early 2019-04-14 08:35:38 +00:00
blockchain_db.cpp blockchain_db: fix db txn ending too early 2019-04-14 08:35:38 +00:00
blockchain_db.h blockchain_db: fix db txn ending too early 2019-04-14 08:35:38 +00:00
CMakeLists.txt Update 2019 copyright 2019-03-05 22:05:34 +01:00
db_types.h Update 2019 copyright 2019-03-05 22:05:34 +01:00
testdb.h blockchain_db: fix db txn ending too early 2019-04-14 08:35:38 +00:00