Page MenuHomePhabricator

random: mark RandAddPeriodic and SeedPeriodic as noexcept

Authored by Fabien on May 21 2020, 21:23.


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

Diff Detail

rABC Bitcoin ABC
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

Fabien requested review of this revision.May 21 2020, 21:23

[Bot Message]
One or more PR numbers were detected in the summary.
Links to those PRs have been inserted into the summary for reference.

This revision is now accepted and ready to land.May 21 2020, 21:49