lightning 0.2.2

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.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#[cfg(not(fuzzing))]
pub(crate) use bitcoin::hashes::cmp::fixed_time_eq;

#[cfg(fuzzing)]
fn fixed_time_eq(a: &[u8], b: &[u8]) -> bool {
	assert_eq!(a.len(), b.len());
	a == b
}

pub(crate) mod chacha20;
pub(crate) mod chacha20poly1305rfc;
pub(crate) mod poly1305;
pub(crate) mod streams;
pub(crate) mod utils;