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> |
||
|---|---|---|
| .. | ||
| crypto-ops-data.c | ||
| crypto-ops.c | ||
| crypto-tests.h | ||
| crypto.cpp | ||
| hash.c | ||
| main.cpp | ||
| random.c | ||
| tests.txt | ||