HomePhabricator

Move peer state updates from headers message into separate function

Description

Move peer state updates from headers message into separate function

Summary:
Review hint:
git show --color-moved=dimmed-zebra --color-moved-ws=ignore-all-space

This is a partial backport of core#25454
https://github.com/bitcoin/bitcoin/pull/25454/commits/6d95cd3e7444ebaaabb64a76783ea3551530f1d7

Depends on D14909

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
Suhas Daftuar <sdaftuar@gmail.com>Authored on Feb 8 2022, 22:40
PiRKCommitted on Dec 5 2023, 18:25
PiRKPushed on Dec 5 2023, 18:25
Reviewer
Restricted Project
Differential Revision
D14910: Move peer state updates from headers message into separate function
Parents
rABCa0058fe8593b: Move headers-direct-fetch logic into own function
Branches
Unknown
Tags
Unknown