HomePhabricator

[avalanche] Turn ProofRef into a RCUPtr

Description

[avalanche] Turn ProofRef into a RCUPtr

Summary:
As per title. This requires to replace the make_shared calls with a call to the RCU factory instead. A move constructor for the proof is needed in order to facilitate deserializing a proof then building the pointer.

Depends on D11509.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
FabienAuthored on May 14 2022, 00:23
FabienPushed on May 23 2022, 08:31
Reviewer
Restricted Project
Differential Revision
D11466: [avalanche] Turn ProofRef into a RCUPtr
Parents
rABC7b1b9f8c381c: [RCU] Add an implicit converting constructor
Branches
Unknown
Tags
Unknown