blockchain/tests/functional_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_concurrency_test.cpp functional tests: core_concurrency_test.cpp compilation fix 2025-06-09 11:51:08 +02:00
core_concurrency_test.h Moved sources to public repo 2018-12-27 18:50:45 +03:00
crypto_tests.cpp fix warnings (#546) 2025-07-18 20:17:02 +03:00
crypto_tests.h functional_tests: crypto_tests: tests wildcard filtering added 2021-02-15 15:48:50 +03:00
crypto_tests_clsag.h fix warnings (#546) 2025-07-18 20:17:02 +03:00
crypto_tests_ml2s.h 1) logging: channel(s) enabling made optionally less verbose; 2) various fixes after the merge 2022-10-14 19:08:27 +02:00
crypto_tests_one_out_of_many_proofs.h BGE proof has been debugged + more basic tests 2023-03-28 12:47:14 +02:00
crypto_tests_performance.h fix warnings (#546) 2025-07-18 20:17:02 +03:00
crypto_tests_range_proofs.h fix warnings (#546) 2025-07-18 20:17:02 +03:00
crypto_torsion_elements.h minor improvements 2023-02-26 21:43:29 +01:00
deadlock_guard_test.cpp Moved sources to public repo 2018-12-27 18:50:45 +03:00
deadlock_guard_test.h Moved sources to public repo 2018-12-27 18:50:45 +03:00
difficulty_analysis.cpp fix warnings (#546) 2025-07-18 20:17:02 +03:00
difficulty_analysis.h parse time data: added forgoten files 2019-01-23 13:36:48 +03:00
generate_test_genesis.cpp all tests are adapted 2020-04-23 16:07:18 +03:00
generate_test_genesis.h Moved sources to public repo 2018-12-27 18:50:45 +03:00
L2S.h L2S: new optimized implementation (v3) 2021-02-15 15:44:11 +03:00
main.cpp added cross-coversion for JSON parser string->uint64_t 2023-07-13 15:49:30 +02:00
miniupnp_test.cpp Moved sources to public repo 2018-12-27 18:50:45 +03:00
miniupnp_test.h Moved sources to public repo 2018-12-27 18:50:45 +03:00
plain_wallet_tests.cpp fix: crypto test PRNG determinism, checkpoint hashes, and Zano address remnants 2026-02-06 13:17:11 +00:00
plain_wallet_tests.h fixed cmake, fixed compilation problems, implemented plain_api test draft 2020-01-21 01:31:16 +01:00
sha3.cpp minor compilation fix 2025-02-03 19:40:10 +01:00
transactions_flow_test.cpp functional tests: transactions flow test fixed 2024-10-09 17:48:41 +02:00
transactions_flow_test.h added cross-coversion for JSON parser string->uint64_t 2023-07-13 15:49:30 +02:00
transactions_generation_from_blockchain.cpp Moved sources to public repo 2018-12-27 18:50:45 +03:00
transactions_generation_from_blockchain.h Moved sources to public repo 2018-12-27 18:50:45 +03:00