Page MenuHomePhabricator

wallet: Enforce sqlite serialized threading mode
AbandonedPublic

Authored by PiRK on Nov 26 2021, 15:17.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Summary

From the sqlite documentation https://www.sqlite.org/threadsafe.html: "In serialized mode, SQLite can be safely used by multiple threads with no restriction."

This is a backport of core#19077 [21/26]
https://github.com/bitcoin/bitcoin/pull/19077/commits/f023b7cac0eb16d3c1bf40f1f7898b290de4cc73

Depends on D10570

Test Plan

With clang-tidy:
ninja all check-all

Event Timeline

PiRK requested review of this revision.Nov 26 2021, 15:17
PiRK planned changes to this revision.Nov 30 2021, 17:47
PiRK edited the summary of this revision. (Show Details)
PiRK edited the test plan for this revision. (Show Details)

Move this commit from position [23/26] to [21/26], before sqlite wallet are actually read or created

This revision is now accepted and ready to land.Dec 3 2021, 20:09