HomePhabricator

[avalanche] Make IsWorthPolling a private method of the processor

Description

[avalanche] Make IsWorthPolling a private method of the processor

Summary:
This is in preparation for adding a similar method for proofs that will need to access the processor internals. Using a private method for the blocks will allow for calling it in lambda for both blocks and proofs and so share the code. There is no change in behavior. Extracted from D11630.

Depends on D11640.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, sdulfari

Reviewed By: #bitcoin_abc, sdulfari

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

Details

Provenance
FabienAuthored on Jun 20 2022, 08:14
FabienPushed on Jun 22 2022, 20:12
Reviewer
Restricted Project
Differential Revision
D11641: [avalanche] Make IsWorthPolling a private method of the processor
Parents
rABC7139c1b5fb04: scripted-diff: test: Use existing chainman in unit tests
Branches
Unknown
Tags
Unknown