This makes it possible to remove the net_processing.h header from the processor.
This is a step toward reducing the coupling between the avalanche and network layers.
Ref T1634.
Differential D9851
[avalanche] Remove the (node) PeerManager member from the avalanche processor Fabien on Aug 6 2021, 12:04. Authored by
Details
This makes it possible to remove the net_processing.h header from the processor. Ref T1634. ninja all check-all ./contrib/teamcity/build-configurations.py lint-circular-dependencies
Diff Detail
Event Timeline
Comment Actions I don't think this makes the API more clear: you need to special case part of the returned value to determine if the call was successful while a bool is straightforward. This is also more consistent with the other parts of the codebase. |