Page MenuHomePhabricator

walletdb: Introduce AddRef and RemoveRef functions
ClosedPublic

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

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABCbc20259fb8ea: walletdb: Introduce AddRef and RemoveRef functions
Summary

Refactor mapFileUseCount increment and decrement to separate functions
AddRef and RemoveRef

This is a backport of core#19334 [2/4]
https://github.com/bitcoin/bitcoin/pull/19334/commits/71d28e7cdca1c8553531bb3a4725d7916363ec5c

Depends on D10022

Test Plan

ninja all check-all