mirror of
https://github.com/wownero/wownero-ng.git
synced 2026-11-18 06:24:08 +01:00
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.