Skip to content

Random Number Generation ​

LDK aims to make no system calls, it is therefore restricted from generating its own randomness.

The sample node implementation uses Rust's rand crate here and elsewhere.