HomePhabricator

[avalanche] Move the processor updatedBlockTip logic to a private method

Description

[avalanche] Move the processor updatedBlockTip logic to a private method

Summary:
This makes it possible to test the handler from unit tests, without having to setup a full validation interface.

There is no change in behavior.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
FabienAuthored on Oct 3 2023, 08:32
FabienPushed on Oct 3 2023, 10:58
Reviewer
Restricted Project
Differential Revision
D14581: [avalanche] Move the processor updatedBlockTip logic to a private method
Parents
rABCf6bccb42a886: Lighten the net logging
Branches
Unknown
Tags
Unknown