Optionally parameterize decode_tlv_stream with custom decode closure
authorValentine Wallace <vwallace@protonmail.com>
Mon, 17 Oct 2022 20:07:40 +0000 (16:07 -0400)
committerValentine Wallace <vwallace@protonmail.com>
Mon, 17 Oct 2022 20:07:42 +0000 (16:07 -0400)
commit2a8179edb79268b6804417f07f55706b23354097
tree491639436c3fe3ab171e0b6efce3b0a6d5df8921
parenta40e32b197895812e86eb479ff9e59c05875f871
Optionally parameterize decode_tlv_stream with custom decode closure

Useful for decoding custom or user-provided TLVs. See macro docs for more info.

Used in upcoming commit(s) to support custom onion message TLVs
lightning/src/util/ser_macros.rs