HomePhabricator

[avalanche] Make the peer hold a shared pointer to the proof

Description

[avalanche] Make the peer hold a shared pointer to the proof

Summary:
Doing so will make it possible to share the proof ownership while being
safe if the peer is deleted in the meantime.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Subscribers: deadalnix

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

Details

Provenance
FabienAuthored on May 31 2021, 11:21
FabienPushed on Jun 2 2021, 06:24
Reviewer
Restricted Project
Differential Revision
D9607: [avalanche] Make the peer hold a shared pointer to the proof
Parents
rABC9947dbf2350a: Remove WalletDatabase::Create, CreateMock, and CreateDummy
Branches
Unknown
Tags
Unknown