HomePhabricator

net: use std::chrono throughout maxOutbound logic

Description

net: use std::chrono throughout maxOutbound logic

Summary:

Switch to using std::chrono types for the max outbound related logic.
Removes some unnecessary code from init.

Backport of core#20253.

Depends on D10901.

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/D10902

Details

Provenance
fanquake <fanquake@gmail.com>Authored on Oct 24 2020, 08:24
FabienCommitted on Jan 26 2022, 14:31
FabienPushed on Jan 26 2022, 14:31
Reviewer
Restricted Project
Differential Revision
D10902: net: use std::chrono throughout maxOutbound logic
Parents
rABC700a4b3a6702: Fix yet another cppcheck issue
Branches
Unknown
Tags
Unknown
Tasks
Restricted Maniphest Task

Event Timeline