forked from lthn/blockchain
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> |
||
|---|---|---|
| .. | ||
| core_concurrency_test.cpp | ||
| core_concurrency_test.h | ||
| crypto_tests.cpp | ||
| crypto_tests.h | ||
| crypto_tests_clsag.h | ||
| crypto_tests_ml2s.h | ||
| crypto_tests_one_out_of_many_proofs.h | ||
| crypto_tests_performance.h | ||
| crypto_tests_range_proofs.h | ||
| crypto_torsion_elements.h | ||
| deadlock_guard_test.cpp | ||
| deadlock_guard_test.h | ||
| difficulty_analysis.cpp | ||
| difficulty_analysis.h | ||
| generate_test_genesis.cpp | ||
| generate_test_genesis.h | ||
| L2S.h | ||
| main.cpp | ||
| miniupnp_test.cpp | ||
| miniupnp_test.h | ||
| plain_wallet_tests.cpp | ||
| plain_wallet_tests.h | ||
| sha3.cpp | ||
| transactions_flow_test.cpp | ||
| transactions_flow_test.h | ||
| transactions_generation_from_blockchain.cpp | ||
| transactions_generation_from_blockchain.h | ||