This diff extracts a lambda that can be used with any kind of vote items, for now blocks and proofs.
Ref T1854.
Differential D10384
[avalanche] Factorize the inflight request timeout handling Fabien on Oct 22 2021, 08:57. Authored by
Details
This diff extracts a lambda that can be used with any kind of vote items, for now blocks and proofs. Ref T1854. ninja all check-all
Diff Detail
Event Timeline
Comment Actions Use a more readable WITH_LOCK construct and avoid the lock when not needed by passing the rwcollection instread of the write view to the lambda |