A Complete Bitcoin Lightning Library in Rust.
Handles the core functionality of the Lightning Network, allowing clients to implement custom wallet, chain interactions, storage and network logic without enforcing a specific runtime.
#[cfg(not(fuzzing))]pub(crate)usebitcoin::hashes::cmp::fixed_time_eq;#[cfg(fuzzing)]fnfixed_time_eq(a:&[u8], b:&[u8])->bool{assert_eq!(a.len(), b.len());
a == b
}pub(crate)modchacha20;pub(crate)modchacha20poly1305rfc;pub(crate)modpoly1305;pub(crate)modstreams;pub(crate)modutils;