Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-05 | Make the rand tests determinstic. (fixes #2714) | Gregory Maxwell | |
This avoids spurious errors with the old tests but still tests enough that if the rng is replaced with a totally broken one it should still fail. | |||
2013-08-20 | Make RPC password resistant to timing attacks | Gavin Andresen | |
Fixes issue#2838; this is a tweaked version of pull#2845 that should not leak the length of the password and is more generic, in case we run into other situations where we need timing-attack-resistant comparisons. | |||
2013-05-03 | Remove flaky util thread unit tests | Gavin Andresen | |
2013-04-03 | LoopForever and ThreadTrace helpers | Gavin Andresen | |
2013-02-18 | Internal RNG for approximateBestSubset to prevent degenerate behavior. | Gregory Maxwell | |
This fixes test_bitcoin failures on openbsd reported by dhill on IRC. On some systems rand() is a simple LCG over 2^31 and so it produces an even-odd sequence. ApproximateBestSubset was only using the least significant bit and so every run of the iterative solver would be the same for some inputs, resulting in some pretty dumb decisions. Using something other than the least significant bit would paper over the issue but who knows what other way a system's rand() might get us here. Instead we use an internal RNG with a period of something like 2^60 which is well behaved. This also makes it possible to make the selection deterministic for the tests, if we wanted to implement that. | |||
2013-01-01 | test/util_tests.cpp: one more DateTimeStrFormat 'T' removal | Jeff Garzik | |
2012-12-12 | Change timestamps to use ISO8601 formatting | Richard Schwab | |
2012-08-17 | Remove useless non-cross-platform tests. | Matt Corallo | |
2012-05-18 | change strings to Bitcoin (uppercase), where it is used as a noun and update ↵ | Philip Kaufmann | |
strings to use "Qt" (and not qt or QT) / update initialisation of notificator to use qApp->applicationName() instead of a static string | |||
2012-04-21 | Integrate @JoelKatz's optimized ToHex (#562) into current HexStr function | Wladimir J. van der Laan | |
2012-04-09 | Use scoped locks instead of CRITICAL_BLOCK | Pieter Wuille | |
2012-01-13 | Replace OP_EVAL (BIP 12) with Pay-to-script-hash (BIP 16). | Gavin Andresen | |
2011-12-21 | Revert "Use standard C99 (and Qt) types for 64-bit integers" | Wladimir J. van der Laan | |
This reverts commit 21d9f36781604e4ca9fc35dc65265593423b73e9. | |||
2011-12-20 | Use standard C99 (and Qt) types for 64-bit integers | Luke Dashjr | |
2011-12-19 | Rework unit tests so test_bitcoin.cpp does not #include them all | Gavin Andresen | |
2011-11-02 | Added simple critical section test cases. | Clark Gaebel | |
2011-10-03 | Declare integer constant LL | Gavin Andresen | |
2011-10-01 | remove possibility of 63 bit overflow in ParseMoney | Wladimir J. van der Laan | |
- also, add unit tests for various functions in util.cpp/util.h | |||
2011-09-28 | use median filter for peer-reported reported number of blocks | Wladimir J. van der Laan | |
- fixes problem that one misconfigured or malicious node can mess up progress bar - implementation in src/util.h - testcase in src/test/util_tests.cpp |