A peer has a set of proofs that we queue to share them with him and a filter of known proofs.
This struct is similar to the one used for transactions.
We initialize it for all node except block-relay nodes.
Differential D9369
[avalanche] implement a proof relay struct PiRK on Apr 6 2021, 16:29. Authored by
Details
A peer has a set of proofs that we queue to share them with him and a filter of known proofs. We initialize it for all node except block-relay nodes. ninja all check-all
Diff Detail
Event TimelineComment Actions rebase. Comment Actions The approach looks sensible, but there are no test for anything. It seems like this does too little to constitute a unit.
Comment Actions I conclude from the lack of answer that there is actually no reason to initialize the struct where it is.
|