1 // This file is Copyright its original authors, visible in version control
2 // history and in the source files from which this was generated.
4 // This file is licensed under the license available in the LICENSE or LICENSE.md
5 // file in the root of this repository or, if no such file exists, the same
6 // license as that which applies to the original source files from which this
7 // source was automatically generated.
9 //! Implementations of various parts of the Lightning protocol are in this module.
11 use alloc::str::FromStr;
12 use alloc::string::String;
13 use core::ffi::c_void;
14 use core::convert::Infallible;
15 use bitcoin::hashes::Hash;
16 use crate::c_types::*;
17 #[cfg(feature="no-std")]
18 use alloc::{vec::Vec, boxed::Box};
20 pub mod channelmanager;
21 pub mod inbound_payment;
27 pub mod outbound_payment;
31 use alloc::str::FromStr;
32 use alloc::string::String;
33 use core::ffi::c_void;
34 use core::convert::Infallible;
35 use bitcoin::hashes::Hash;
36 use crate::c_types::*;
37 #[cfg(feature="no-std")]
38 use alloc::{vec::Vec, boxed::Box};
41 mod peer_channel_encryptor {
43 use alloc::str::FromStr;
44 use alloc::string::String;
45 use core::ffi::c_void;
46 use core::convert::Infallible;
47 use bitcoin::hashes::Hash;
48 use crate::c_types::*;
49 #[cfg(feature="no-std")]
50 use alloc::{vec::Vec, boxed::Box};
55 use alloc::str::FromStr;
56 use alloc::string::String;
57 use core::ffi::c_void;
58 use core::convert::Infallible;
59 use bitcoin::hashes::Hash;
60 use crate::c_types::*;
61 #[cfg(feature="no-std")]
62 use alloc::{vec::Vec, boxed::Box};
67 use alloc::str::FromStr;
68 use alloc::string::String;
69 use core::ffi::c_void;
70 use core::convert::Infallible;
71 use bitcoin::hashes::Hash;
72 use crate::c_types::*;
73 #[cfg(feature="no-std")]
74 use alloc::{vec::Vec, boxed::Box};