d97632a78cc57dede82c7eacd8d14fa7f465b72f
[rust-lightning] / lightning / src / offers / 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 //! Implementation of Lightning Offers
11 //! ([BOLT 12](https://github.com/lightning/bolts/blob/master/12-offer-encoding.md)).
12 //!
13 //! Offers are a flexible protocol for Lightning payments.
14
15 pub mod invoice;
16 pub mod invoice_error;
17 pub mod invoice_request;
18 pub mod merkle;
19 pub mod offer;
20 pub mod parse;
21 mod payer;
22 pub mod refund;
23 #[allow(unused)]
24 pub(crate) mod signer;
25 #[cfg(test)]
26 mod test_utils;