HomePhabricator

[avalanche] Unify finding a hash in poll into can_find_inv_in_poll via avatools

Description

[avalanche] Unify finding a hash in poll into can_find_inv_in_poll via avatools

Summary:
This function has been copy-pasted around a few times without major modifications.
There are improvements we can make to it, so it is best to do it in one place.

Test Plan:

ninja && ./test/functional/test_runner.py abc_p2p_avalanche_* abc_rpc_isfinal

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
sdulfariAuthored on Apr 11 2023, 05:26
sdulfariPushed on Apr 11 2023, 06:21
Reviewer
Restricted Project
Differential Revision
D13658: [avalanche] Unify finding a hash in poll into can_find_inv_in_poll via avatools
Parents
rABCb6deb0a289f4: Cleanup unused Jefferson activation time
Branches
Unknown
Tags
Unknown