aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
diff options
context:
space:
mode:
authorfanquake <[email protected]>2019-11-18 10:21:28 -0500
committerfanquake <[email protected]>2019-11-18 10:22:17 -0500
commit55b2cb199c276781b6daa5438af2da57dea3ac52 (patch)
tree9569dd0449461ac6ffa5cd3b05d3bf5a07b0cc43 /src/random.h
parentdoc: correct random.h docs after #17270 (diff)
downloaddiscoin-55b2cb199c276781b6daa5438af2da57dea3ac52.tar.xz
discoin-55b2cb199c276781b6daa5438af2da57dea3ac52.zip
random: mark RandAddPeriodic and SeedPeriodic as noexcept
The usage of MilliSleep() in SeedPeriodic (previously SeedSleep) was removed in #17270, meaning it, and its users can now be marked noexcept.
Diffstat (limited to 'src/random.h')
-rw-r--r--src/random.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/random.h b/src/random.h
index 76b3493c5..8af616f8e 100644
--- a/src/random.h
+++ b/src/random.h
@@ -88,7 +88,7 @@ void GetStrongRandBytes(unsigned char* buf, int num) noexcept;
*
* Thread-safe.
*/
-void RandAddPeriodic();
+void RandAddPeriodic() noexcept;
/**
* Fast randomness source. This is seeded once with secure random data, but