Page MenuHomePhabricator

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

Authored by Fabien on May 31 2021, 12:06.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

Fabien requested review of this revision.May 31 2021, 12:06
deadalnix added a subscriber: deadalnix.
deadalnix added inline comments.
src/rpc/avalanche.cpp
429 ↗(On Diff #28676)

Is that really needed?

This revision is now accepted and ready to land.May 31 2021, 14:45