diff options
| author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-05 09:28:30 +0000 |
|---|---|---|
| committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2019-04-14 08:35:38 +0000 |
| commit | 5e673c03fec66024027b94229fa2e317d7767a20 (patch) | |
| tree | cb754f13947b96bf9cbbd74e579d4b7c709a0212 /src/version.cpp.in | |
| parent | 37345921ece7280c2fde031e2a1e32bfbac0479c (diff) | |
| download | monzero-core-5e673c03fec66024027b94229fa2e317d7767a20.tar.gz monzero-core-5e673c03fec66024027b94229fa2e317d7767a20.tar.xz monzero-core-5e673c03fec66024027b94229fa2e317d7767a20.zip | |
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.
Diffstat (limited to 'src/version.cpp.in')
0 files changed, 0 insertions, 0 deletions
