HomePhabricator

p2p: Make timeout mockable and type safe, speed up test

Description

p2p: Make timeout mockable and type safe, speed up test

Summary:
This is a backport of core#19499 [2/2] and core#23740
https://github.com/bitcoin/bitcoin/pull/19499/commits/fadc0c80ae4e526fb2b503f7cc02f6122aaf1de5

The second PR is a temporary fix for an intermittent failure that will later be reverted in core#23758

Depends on D10964

Test Plan: ninja all check-all

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Jul 10 2020, 16:19
PiRKCommitted on Feb 3 2022, 10:08
PiRKPushed on Feb 3 2022, 10:08
Reviewer
Restricted Project
Differential Revision
D10965: p2p: Make timeout mockable and type safe, speed up test
Parents
rABC85e5bdc9a1a0: Add "Last Block" and "Last Tx" rows to peer details area
Branches
Unknown
Tags
Unknown