cln/wire/test
Rusty Russell 1c925e0a25 common: add randbytes() wrapper to override cryptographic entropy: $CLN_DEV_ENTROPY_SEED
Only in developer mode, ofc.

Notes:
1. We have to move the initialization before the lightningd main trace_start,
   since that uses pseudorand().
2. To make the results stable, we need to use per-caller values to randbytes().
   Otherwise external timing changes the call order.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2026-07-13 18:15:06 -07:00
..
.gitignore wire: generate marshal/unmarshal from spec. 2016-12-01 13:50:02 +10:30
Makefile common: add randbytes() wrapper to override cryptographic entropy: $CLN_DEV_ENTROPY_SEED 2026-07-13 18:15:06 -07:00
run-peer-wire.c wire/splice: rename messages and TLV fields per updated BOLTs 2026-06-19 09:38:06 +09:30
run-tlvstream.c pseudorand: make the results in deterministic mode per-caller. 2025-11-13 21:21:29 +10:30