mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +01:00
63d5e92af1
For pure TLV messages such as Gossip 1.75 and Bolt12 messages, there are defined TLV ranges for unsigned data vs signed data. The signed ranges are the inclusive ranges of 0 to 159 and 1000000000 to 2999999999. What we do here in this commit is: 1) update the number of main types generated so that they include type 160 which is the first type in the un-signed range and we will make use of this type for signature fields in gossip messages. Next, we add two marker types so that we can define the rest of the ranges. |
||
---|---|---|
.. | ||
gen_tlv_types.go |