]> git.bitcoin.ninja Git - rust-lightning/commit
Define TlvStream::skip_signatures
authorJeffrey Czyz <jkczyz@gmail.com>
Thu, 22 Dec 2022 15:10:21 +0000 (09:10 -0600)
committerJeffrey Czyz <jkczyz@gmail.com>
Wed, 18 Jan 2023 21:31:48 +0000 (15:31 -0600)
commit6b3535451e6243611d3435f9eb195706b9ca1ba7
tree9be60db443ecb9d1f1a95195c6631c1544b587aa
parentbd0040a02bb7d4884ea4c3b5d731a9fb90c65b84
Define TlvStream::skip_signatures

Provide a helper for skipping signature TLV records from a TLV stream.
This prevents needing to duplicate the check for signature TLV records
when writing a TLV stream without signatures in an upcoming commit.
lightning/src/offers/merkle.rs