lnd/tlv
Elle Mouton 63d5e92af1
tlv: generate types for gossip unsigned range
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.
2024-10-15 06:21:55 +02:00
..
internal/gen tlv: generate types for gossip unsigned range 2024-10-15 06:21:55 +02:00
fuzz_test.go tlv: Added bool to primitive 2023-10-16 14:21:25 +01:00
go.mod tlv: add new Blob type alias 2024-04-25 16:48:06 +02:00
go.sum tlv: add new Blob type alias 2024-04-25 16:48:06 +02:00
primitive_test.go tlv: Added bool to primitive 2023-10-16 14:21:25 +01:00
primitive.go tlv: simplify encoding functions 2023-11-13 11:30:17 -06:00
record_test.go tlv: remove unused error return value 2019-12-04 13:27:29 +01:00
record_type_test.go tlv: modify RecordT type to ensure type param takes precedence 2024-01-02 18:51:30 -08:00
record_type.go tlv: rename receivers, add ValOpt 2024-04-25 16:51:12 +02:00
record.go tlv: add new Blob type alias 2024-04-25 16:48:06 +02:00
stream_test.go tlv: allow tlv streams to use large records in non-p2p setting 2022-09-14 15:48:13 -04:00
stream.go multi: replace ioutil.Discard 2024-04-25 11:23:54 +02:00
tlv_test.go tlv: allow tlv streams to use large records in non-p2p setting 2022-09-14 15:48:13 -04:00
tlv_type_param.go tlv: make TlvType method for TlvType interface public 2024-01-02 18:51:33 -08:00
tlv_types_generated.go tlv: generate types for gossip unsigned range 2024-10-15 06:21:55 +02:00
truncated_test.go tlv: simplify byte slice comparison as recommenteded by static analysis 2020-04-24 19:15:08 +02:00
truncated.go tlv: simplify encoding functions 2023-11-13 11:30:17 -06:00
varint_test.go tlv: simplify byte slice comparison as recommenteded by static analysis 2020-04-24 19:15:08 +02:00
varint.go tlv+record+routing: add payload size calculation 2019-12-20 11:00:01 +01:00