Offer metadata and signing pubkey derivation
[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_request;
17 mod merkle;
18 pub mod offer;
19 pub mod parse;
20 mod payer;
21 pub mod refund;
22 #[allow(unused)]
23 pub(crate) mod signer;
24 #[cfg(test)]
25 mod test_utils;