Page MenuHomePhabricator

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

Authored by Fabien on Mon, May 31, 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.Mon, May 31, 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.Mon, May 31, 14:45