HomePhabricator

Move the getdata content flush and logging to a lambda

Description

Move the getdata content flush and logging to a lambda

Summary:
This is a little refactor of the code which improves readability and can
be leveraged when introducing the proof inventory type.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

Differential Revision: https://reviews.bitcoinabc.org/D9592

Details

Provenance
FabienAuthored on May 26 2021, 20:07
FabienPushed on May 27 2021, 08:04
Reviewer
Restricted Project
Differential Revision
D9592: Move the getdata content flush and logging to a lambda
Parents
rABC754f46e3135b: Split the inv message reception processing in logical blocks by inv type
Branches
Unknown
Tags
Unknown