]> git.bitcoin.ninja Git - rust-lightning/commit
TlvStream range iterator
authorJeffrey Czyz <jkczyz@gmail.com>
Wed, 25 Jan 2023 17:34:43 +0000 (11:34 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Thu, 20 Apr 2023 02:08:05 +0000 (21:08 -0500)
commitb2e87ff25b2aef7860ac3c280adf06f642773600
treed74dcca07b7bd3cd6661e719a3a2a0f3b6694d61
parent1cad430e14108710c826adebbfab2a5ea64a6a5a
TlvStream range iterator

Add an iterator that yields TlvRecords over a range of a TlvStream.
Useful for verifying that, e.g., an InvoiceRequest was sent in response
to an Offer constructed by the intended recipient.
lightning/src/offers/merkle.rs