Add onion messages module + enable the construction of blinded routes
[rust-lightning] / lightning / src / onion_message / mod.rs
1 // This file is Copyright its original authors, visible in version control
2 // history.
3 //
4 // This file is licensed under the Apache License, Version 2.0 <LICENSE-APACHE
5 // or http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
6 // <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your option.
7 // You may not use this file except in accordance with one or both of these
8 // licenses.
9
10 //! Onion Messages: sending, receiving, forwarding, and ancillary utilities live here
11
12 mod blinded_route;
13 mod utils;
14
15 // Re-export structs so they can be imported with just the `onion_message::` module prefix.
16 pub use self::blinded_route::{BlindedRoute, BlindedHop};