HomePhabricator

wallet: Avoid recursive lock in IsTrusted

Description

wallet: Avoid recursive lock in IsTrusted

Summary:
This is a backport of core#19773 [2/2]
https://github.com/bitcoin/bitcoin/pull/19773/commits/772ea4844c34ad70d02fd0bd6c0945baa8fff85c

Backport note: checkFinalTx was replaced by ContextualCheckTransactionForCurrentBlock in D5804

Test Plan:
With TSAN:
ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
João Barbosa <joao.paulo.barbosa@gmail.com>Authored on Aug 21 2020, 00:06
PiRKCommitted on Sep 14 2021, 06:27
PiRKPushed on Sep 14 2021, 06:27
Reviewer
Restricted Project
Differential Revision
D10100: wallet: Avoid recursive lock in IsTrusted
Parents
rABC819580a50c41: wallet, refactor: Immutable CWalletTx::pwallet
Branches
Unknown
Tags
Unknown