Commit Graph

53 Commits (fbb2bee82d83f10f0365388579ab063ad39ecd28)

Author SHA1 Message Date
MarcoFalke fa0e5b89cf
Add templated GetRandomDuration<>
5 years ago
fanquake 0ef0d33f75
Merge #18038: P2P: Mempool tracks locally submitted transactions to improve wallet privacy
5 years ago
Amiti Uttarwar 7e93eecce3 [util] Add method that returns random time in milliseconds
5 years ago
MarcoFalke fa488f131f
scripted-diff: Bump copyright headers
5 years ago
practicalswift 11a520f679 tests: Add fuzzing harness for functions/classes in random.h
5 years ago
MarcoFalke aaaaad6ac9
scripted-diff: Bump copyright of files changed in 2019
5 years ago
Pieter Wuille 8bda0960f9 Move events_hasher into RNGState()
5 years ago
Wladimir J. van der Laan 6fff333c9f
Merge #17507: random: mark RandAddPeriodic and SeedPeriodic as noexcept
5 years ago
Matt Corallo 02d8c56a18 Seed RNG with precision timestamps on receipt of net messages.
5 years ago
fanquake 55b2cb199c
random: mark RandAddPeriodic and SeedPeriodic as noexcept
5 years ago
fanquake 461e547877
doc: correct random.h docs after #17270
5 years ago
fanquake 4fcfcc294e
random: stop retrieving random bytes from OpenSSL
5 years ago
Pieter Wuille d61f2bb076 Run background seeding periodically instead of unpredictably
5 years ago
fanquake b51bae1a5a doc: minor corrections in random.cpp
5 years ago
Jeremy Rubin a35b6824f3 Add assertion to randrange that input is not 0
5 years ago
MarcoFalke fa883ab35a
net: Use mockable time for tx download
5 years ago
Wladimir J. van der Laan 82b64a5a81
Merge #15224: Add RNG strengthening (10ms once every minute)
6 years ago
Pieter Wuille 3cb9ce85d0 Document strenghtening
6 years ago
Jonas Schnelli 2bc2b8b49a
Add ChaCha20 encryption option (XOR)
6 years ago
Pieter Wuille 1435fabc19 Use RdSeed when available, and reduce RdRand load
6 years ago
Pieter Wuille 223de8d94d Document RNG design in random.h
6 years ago
Pieter Wuille a1f252eda8 Sprinkle some sweet noexcepts over the RNG code
6 years ago
Pieter Wuille 9d7032e4f0 Switch all RNG code to the built-in PRNG.
6 years ago
Pieter Wuille 05fde14e3a Automatically initialize RNG on first use.
6 years ago
Pieter Wuille e414486d56 Do not permit copying FastRandomContexts
6 years ago
Pieter Wuille 3db746beb4 Introduce a Shuffle for FastRandomContext and use it in wallet and coinselection
6 years ago
DrahtBot eb7daf4d60 Update copyright headers to 2018
6 years ago
MarcoFalke f686002a8e
Merge #12742: Make FastRandomContext support standard C++11 RNG interface
7 years ago
Dimitris Apostolou 4d9b4256d8 Fix typos
7 years ago
Pieter Wuille 1ec1602a45 Make FastRandomContext support standard C++11 RNG interface
7 years ago
Akira Takizawa 595a7bab23 Increment MIT Licence copyright header year on files modified in 2017
7 years ago
Wladimir J. van der Laan 68e021e3a3
Merge #11558: Minimal code changes to allow msvc compilation
7 years ago
MeshCollider 1a445343f6 scripted-diff: Replace #include "" with #include <> (ryanofsky)
7 years ago
Aaron Clauson fbf327b138 Minimal code changes to allow msvc compilation.
7 years ago
Wladimir J. van der Laan b63be2c685
Merge #10377: Use rdrand as entropy source on supported platforms
8 years ago
Pieter Wuille cb24c8539d Use rdrand as entropy source on supported platforms
8 years ago
Pieter Wuille 37e864eb9f Add FastRandomContext::rand256() and ::randbytes()
8 years ago
Matt Corallo 888cce57a6 Add perf counter data to GetStrongRandBytes state in scheduler
8 years ago
Pieter Wuille 4fd2d2fc97 Add a FastRandomContext::randrange and use it
8 years ago
Pieter Wuille 16329224e7 Switch FastRandomContext to ChaCha20
8 years ago
Pieter Wuille c21cbe61c6 Introduce FastRandomContext::randbool()
8 years ago
Wladimir J. van der Laan 7cad849299 sanity: Move OS random to sanity check function
8 years ago
Wladimir J. van der Laan aa09ccbb74 squashme: comment that NUM_OS_RANDOM_BYTES should not be changed lightly
8 years ago
Wladimir J. van der Laan 224e6eb089 util: Specific GetOSRandom for Linux/FreeBSD/OpenBSD
8 years ago
isle2983 27765b6403 Increment MIT Licence copyright header year on files modified in 2016
8 years ago
Wladimir J. van der Laan 5eaaa83ac1 Kill insecure_random and associated global state
8 years ago
Pieter Wuille fa2637a3be Always require OS randomness when generating secret keys
9 years ago
sandakersmann f914f1a746
Added "Core" to copyright headers
10 years ago
Michael Ford 78253fcbad Remove references to X11 licence
10 years ago
Pavel Janík 3a05ba1bfc Fix typo in doxygen comment.
10 years ago