]> git.bitcoin.ninja Git - rust-lightning/commit
Create new `InvoiceFeatures` object for Invoice-specific features
authorMatt Corallo <git@bluematt.me>
Fri, 5 Mar 2021 03:10:48 +0000 (22:10 -0500)
committerMatt Corallo <git@bluematt.me>
Mon, 8 Mar 2021 18:28:54 +0000 (13:28 -0500)
commit5b230d9137ed03c0a6739378920947f5ee2f92b9
treef48a4cbf44edcb1fc99f90cc8ffe6c8100cc9284
parent8b4ea56966878140b11aa3e17b44fcf1e01d6413
Create new `InvoiceFeatures` object for Invoice-specific features

In the past we skipped doing this since invoice parsing occurs in a
different crate. However, we need to accept InvoiceFeatures in routing
now that we support MPP route collection, to detect if we can select
multiple paths or not. Further, we should probably take
rust-lightning-invoice as either a module or a subcrate in this repo.
lightning/src/ln/features.rs