HomePhabricator

[avalanche] pass chainman to Proof::verify

Description

[avalanche] pass chainman to Proof::verify

Summary:
This removes usages of the global chainstate in the Proof class.

We now require Proof::verify callers to hold the lock for chainmanager operations.

Depends on D11703

Test Plan:
With debug and clang:
ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
PiRKAuthored on Jul 6 2022, 14:36
PiRKPushed on Jul 15 2022, 07:33
Reviewer
Restricted Project
Differential Revision
D11704: [avalanche] pass chainman to Proof::verify
Parents
rABCfe417440582e: [avalanche] Fix typo in dust threshold validation result type
Branches
Unknown
Tags
Unknown