Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-07 | Make sure that GetRandomBytes never fails | Wladimir J. van der Laan | |
We're using GetRandomBytes in several contexts where it's either unwieldy to return an error, or an error would mean a fatal exception anyhow. @gmaxwell checked OpenSSL a while ago and discovered that it never actually fails, but it can't hurt to be a bit paranoid here. | |||
2014-09-19 | Apply clang-format on some infrequently-updated files | Pieter Wuille | |
2014-09-14 | header include cleanup | Philip Kaufmann | |
- ensures alphabetical ordering for includes etc. in source file headers | |||
2014-08-26 | Split up util.cpp/h | Wladimir J. van der Laan | |
Split up util.cpp/h into: - string utilities (hex, base32, base64): no internal dependencies, no dependency on boost (apart from foreach) - money utilities (parsesmoney, formatmoney) - time utilities (gettime*, sleep, format date): - and the rest (logging, argument parsing, config file parsing) The latter is basically the environment and OS handling, and is stripped of all utility functions, so we may want to rename it to something else than util.cpp/h for clarity (Matt suggested osinterface). Breaks dependency of sha256.cpp on all the things pulled in by util. | |||
2014-07-09 | make RandAddSeed() use OPENSSL_cleanse() | Philip Kaufmann | |
- removes the cstring include and is also used in RandAddSeedPerfmon() | |||
2014-07-09 | move rand functions from util to new random.h/.cpp | Philip Kaufmann | |