Page MenuHomePhabricator

Split the inv message reception processing in logical blocks by inv type
ClosedPublic

Authored by Fabien on May 26 2021, 19:48.

Details

Summary

This is a minor refactor that split the if/elseif/else block for block
and tx inv reception into 2 separated logical blocks. Each block holds
the cs_main lock locally so the scope is slightly reduced.

Depends on D9590.

Test Plan
ninja all check-all

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable