]> git.bitcoin.ninja Git - rust-lightning/commit
Function for iterating over Offer TLV records
authorJeffrey Czyz <jkczyz@gmail.com>
Mon, 16 Sep 2024 21:07:54 +0000 (16:07 -0500)
committerJeffrey Czyz <jkczyz@gmail.com>
Tue, 5 Nov 2024 00:00:22 +0000 (18:00 -0600)
commit1eb5baa00c081a0afe1b87f6c3d58bbb080ceba6
tree12ab308e23ab9969d23e622fef58fdd262a5a633
parent771aa8ee2483dd0f3078dd0d704545ed90d68145
Function for iterating over Offer TLV records

Add a utility function for iterating over Offer TLV records contained in
any valid TLV stream bytes. Using a common function ensures that
experimental TLV records are included once they are supported.
lightning/src/offers/offer.rs
lightning/src/offers/static_invoice.rs