HomePhabricator

Cleanup received_new_header calculation to use WITH_LOCK

Description

Cleanup received_new_header calculation to use WITH_LOCK

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

Depends on D14910

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
PiRKAuthored on Dec 5 2023, 10:39
PiRKPushed on Dec 5 2023, 18:25
Reviewer
Restricted Project
Differential Revision
D14911: Cleanup received_new_header calculation to use WITH_LOCK
Parents
rABC2d39859311e9: Move peer state updates from headers message into separate function
Branches
Unknown
Tags
Unknown