]> git.bitcoin.ninja Git - rust-lightning/blob - lightning/src/onion_message/mod.rs
37858c1a4a68d8e1541b4e5720606b0f4d81296b
[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 packet;
14 mod utils;
15
16 // Re-export structs so they can be imported with just the `onion_message::` module prefix.
17 pub use self::blinded_route::{BlindedRoute, BlindedHop};