HomePhabricator

random: mark RandAddPeriodic and SeedPeriodic as noexcept

Description

random: mark RandAddPeriodic and SeedPeriodic as noexcept

Summary:

The usage of MilliSleep() in SeedPeriodic (previously SeedSleep) was
removed in #17270, meaning it, and its users can now be marked noexcept.

This also corrects the docs in random.h for some of the changes in #17270.

Backport of core PR17507.

Depends on D6209.

Test Plan:

ninja all check-all

Reviewers: #bitcoin_abc, deadalnix

Reviewed By: #bitcoin_abc, deadalnix

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

Details

Provenance
fanquake <fanquake@gmail.com>Authored on Nov 18 2019, 14:58
FabienCommitted on May 22 2020, 11:48
FabienPushed on May 22 2020, 11:48
Reviewer
Restricted Project
Differential Revision
D6211: random: mark RandAddPeriodic and SeedPeriodic as noexcept
Parents
rABCfcd7977a3ece: Report amount of data gathered from environment
Branches
Unknown
Tags
Unknown