1
0
Fork 0
forked from lthn/blockchain
blockchain/tests
Claude 7ee2265cae
fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants
The crypto test PRNG was non-deterministic because setup_random() seeded
the state but grant_random_initialize_no_lock() overwrote it with
/dev/urandom on the first random call. Calling it before memset ensures
the initialized flag is set, preventing the overwrite.

Also adds --generate mode to crypto-tests for future vector regeneration,
updates checkpoint hashes for multisig_and_checkpoints (height 15) and
gen_no_attchments_in_coinbase (height 12), and replaces hardcoded Zano
addresses/URLs with Lethean equivalents in manual test scaffolding.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-06 13:17:11 +00:00
..
core_tests fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants 2026-02-06 13:17:11 +00:00
crypto fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants 2026-02-06 13:17:11 +00:00
daemon_tests Moved sources to public repo 2018-12-27 18:50:45 +03:00
db_tests Testnet 1 (#15) 2025-09-30 16:48:13 +01:00
functional_tests fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants 2026-02-06 13:17:11 +00:00
gtest autodoc inital code + cmake warningns + improvements over compilation performance 2024-03-20 14:45:29 +01:00
hash improvements over wallet balance caclulations algo 2019-09-27 17:16:18 +02:00
net_load_tests Moved sources to public repo 2018-12-27 18:50:45 +03:00
performance_tests fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants 2026-02-06 13:17:11 +00:00
unit_tests crypto::random refactoring and improvements (credits to @dimmarvel for spotting the thread safety issue) 2025-07-31 04:14:10 +03:00
CMakeLists.txt Testnet 1 (#15) 2025-09-30 16:48:13 +01:00
cryptolib.pl Moved sources to public repo 2018-12-27 18:50:45 +03:00
cryptotest.pl Moved sources to public repo 2018-12-27 18:50:45 +03:00
hash-target.cpp Moved sources to public repo 2018-12-27 18:50:45 +03:00
io.h Moved sources to public repo 2018-12-27 18:50:45 +03:00