]> git.bitcoin.ninja Git - rust-lightning/commit
Support reading the new `payment_metadata` field in invoices
authorMatt Corallo <git@bluematt.me>
Tue, 21 Dec 2021 05:25:18 +0000 (05:25 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 19 Apr 2023 02:57:19 +0000 (02:57 +0000)
commit928c9b806eb3b2ef7b144d02f730a30d18a19deb
treef224e91a66cdbe1ead8253838abf7483dfa6a2b2
parent1b29a55e17b50ab86edef70d4d9e1feb27af839a
Support reading the new `payment_metadata` field in invoices

This adds support for reading the new `PaymentMetadata` BOLT11
invoice field, giving us access to the `Vec<u8>` storing arbitrary
bytes we have to send to the recipient.
lightning-invoice/src/de.rs
lightning-invoice/src/lib.rs
lightning-invoice/src/ser.rs