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
..
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2018-09-29 22:19:44 +02:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2018-09-29 22:20:38 +02:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-01-22 20:30:51 +00:00
2019-03-05 22:05:34 +01:00
2018-10-18 18:45:45 +00:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2019-03-05 22:05:34 +01:00
2018-09-29 22:19:44 +02:00