HomePhabricator

Make all Poisson delays use std::chrono types

Description

Make all Poisson delays use std::chrono types

Summary:
Partial backport of core#21015:
https://github.com/bitcoin/bitcoin/pull/21015/commits/55e82881a1503bff146970856c1474a6ea659c94

Depends on D10911.

The OUTBOUND_INVENTORY_BROADCAST_INTERVAL constant has been skipped to keep the changes from rABC3252c21e2856bce86e6222d246073fbde8ad9916, but the INBOUND_INVENTORY_BROADCAST_INTERVAL renaming kept to closer match the source material.

Ref T1696.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

Maniphest Tasks: T1696

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

Details

Provenance
FabienAuthored on Jan 27 2022, 13:53
FabienPushed on Jan 27 2022, 15:59
Reviewer
Restricted Project
Differential Revision
D10913: Make all Poisson delays use std::chrono types
Parents
rABCa097462a7254: test: Avoid connecting to real network when running tests
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task