Page MenuHomePhabricator

random: mark RandAddPeriodic and SeedPeriodic as noexcept
ClosedPublic

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

Details

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

Diff Detail

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

Event Timeline

Fabien created this revision.May 21 2020, 21:23
Herald added a reviewer: Restricted Project. · View Herald TranscriptMay 21 2020, 21:23
Fabien requested review of this revision.May 21 2020, 21:23
teamcity edited the summary of this revision. (Show Details)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.

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