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.
Differential D11466
[avalanche] Turn ProofRef into a RCUPtr Fabien on May 14 2022, 00:27. Authored by
Details
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. ninja all check-all
Diff Detail
Event Timeline
Comment Actions Address feedback, move peerData allocation, rebase on top of D11509 and use the converting constructor so avoid the "stack-then-heap" allocation. |