aboutsummaryrefslogtreecommitdiff
path: root/src/random.h
AgeCommit message (Expand)Author
2024-07-06random: drop ad-hoc Shuffle in favor of std::shufflePieter Wuille
2024-07-01random: replace construct/assign with explicit Reseed()Pieter Wuille
2024-07-01random: cleanup order, comments, staticPieter Wuille
2024-07-01random: convert GetExponentialRand into rand_exp_durationPieter Wuille
2024-07-01random: convert GetRand{Micros,Millis} into randrangePieter Wuille
2024-07-01random: get rid of GetRand by inliningPieter Wuille
2024-07-01random: make GetRand() support entire range (incl. max)Pieter Wuille
2024-07-01tests: overhaul deterministic test randomnessPieter Wuille
2024-07-01random: convert XoRoShiRo128PlusPlus into full RNGPieter Wuille
2024-07-01random: move XoRoShiRo128PlusPlus into random modulePieter Wuille
2024-07-01random: add RandomMixin::randbits with compile-known bitsPieter Wuille
2024-07-01random: Improve RandomMixin::randbitsPieter Wuille
2024-07-01random: refactor: move rand* utilities to RandomMixinPieter Wuille
2024-07-01random: use BasicByte concept in randbytesPieter Wuille
2024-07-01random: add a few noexcepts to FastRandomContextPieter Wuille
2024-07-01random: move rand256() and randbytes() to .h filePieter Wuille
2024-02-26crypto: replace CountBits with std::bit_widthCory Fields
2023-08-17crypto: refactor ChaCha20 classes to use Span<std::byte> interfacePieter Wuille
2023-06-30Allow FastRandomContext::randbytes for all byte typesMarcoFalke
2023-06-23Bench test for EllSwift ECDHPieter Wuille
2023-02-15Merge bitcoin/bitcoin#26153: Reduce wasted pseudorandom bytes in ChaCha20 + v...fanquake
2023-02-06Merge bitcoin/bitcoin#26345: refactor: modernize the implementation of uint256.*Andrew Chow
2023-01-30Use ChaCha20 caching in FastRandomContextPieter Wuille
2023-01-12doc: remove usages of C++11fanquake
2023-01-03refactor: use braced init for integer constants instead of c style castsPasta
2022-12-24scripted-diff: Bump copyright headersHennadii Stepanov
2022-12-10refactor: modernize the implementation of uint256.*pasta
2022-07-13refactor: Make FEELER_SLEEP_WINDOW type safe (std::chrono)MacroFake
2022-05-12Merge bitcoin/bitcoin#24925: refactor: make GetRand a template, remove GetRan...MacroFake
2022-05-08random: Add FastRandomContext::rand_uniform_delayMarcoFalke
2022-04-22refactor: make GetRand a template, remove GetRandIntpasta
2022-03-23refactor: use Span in random.*pasta
2022-01-30doc: Fix typos pointed out by lint-spellingbrunoerg
2022-01-13scripted-diff: replace PoissonNextSend with GetExponentialRandJohn Newbery
2022-01-13[move] Move PoissonNextSend to src/random and update commentJohn Newbery
2020-04-30Add templated GetRandomDuration<>MarcoFalke
2020-04-29Merge #18038: P2P: Mempool tracks locally submitted transactions to improve w...fanquake
2020-04-23[util] Add method that returns random time in millisecondsAmiti Uttarwar
2020-04-16scripted-diff: Bump copyright headersMarcoFalke
2020-03-29tests: Add fuzzing harness for functions/classes in random.hpracticalswift
2019-12-30scripted-diff: Bump copyright of files changed in 2019MarcoFalke
2019-12-05Move events_hasher into RNGState()Pieter Wuille
2019-12-05Merge #17507: random: mark RandAddPeriodic and SeedPeriodic as noexceptWladimir J. van der Laan
2019-11-23Seed RNG with precision timestamps on receipt of net messages.Matt Corallo
2019-11-18random: mark RandAddPeriodic and SeedPeriodic as noexceptfanquake
2019-11-18doc: correct random.h docs after #17270fanquake
2019-11-18random: stop retrieving random bytes from OpenSSLfanquake
2019-11-12Run background seeding periodically instead of unpredictablyPieter Wuille
2019-11-12doc: minor corrections in random.cppfanquake
2019-10-28Add assertion to randrange that input is not 0Jeremy Rubin