HomePhabricator

[wallet] Close DB on error.

Description

[wallet] Close DB on error.

Summary:
[wallet] Close DB on error.

Backport of Core PR 11017
https://github.com/bitcoin/bitcoin/pull/11017

Completes T606

Test Plan:
make check
test_runner.py
Sanity check open and close (both by exiting and by ctrl-C interrupt) bitcoin-qt

Reviewers: jasonbcox, deadalnix, Fabien, O1 Bitcoin ABC, #bitcoin_abc

Reviewed By: jasonbcox, O1 Bitcoin ABC, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D2807

Details

Provenance
Karl-Johan Alm <karljohan-alm@garage.co.jp>Authored on Aug 9 2017, 08:24
nakihitoCommitted on Apr 16 2019, 19:46
nakihitoPushed on Apr 16 2019, 19:46
Reviewer
Restricted Owners Package
Differential Revision
D2807: [wallet] Close DB on error.
Parents
rABC2258df118678: Replace C compatibility headers by their C++ equivalent
Branches
Unknown
Tags
Unknown

Event Timeline

Nico Guiton <nico@bitframe.org> committed rABCbcaab422dcc8: [wallet] Close DB on error. (authored by Karl-Johan Alm <karljohan-alm@garage.co.jp>).Apr 16 2019, 19:46