Page MenuHomePhabricator

walletdb: Move BerkeleyDatabase::Flush(true) to Close()
ClosedPublic

Authored by PiRK on Sep 2 2021, 12:38.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC532c36209163: walletdb: Move BerkeleyDatabase::Flush(true) to Close()
Summary

Instead of having Flush optionally shutdown the database and
environment, add a Close() function that does that.

This is a backport of core#19334 [1/4]
https://github.com/bitcoin/bitcoin/pull/19334/commits/27b27663849932971eb5deadb1f19234b9cd97ea

Test Plan

ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable