lnd.xprv/tlv
Joost Jager 048971b40b
tlv+hop: contain odd/even logic in payload parsing
Tlv is used more widely in lnd than just for the onion payload. This
commit isolated the protocol-specific odd/even logic, so that tlv can be
used freely elsewhere. An example of this use is db serialization.
2019-11-12 16:18:25 +01:00
..
bench_test.go chainfee: create new chainfee package extracting fees from lnwallet 2019-10-31 16:41:57 -07:00
primitive_test.go tlv/primitive_test: add basic encode/decode tests for primitives 2019-08-08 15:57:48 -07:00
primitive.go tlv/primitive: use constructor for encoding/decoding type err 2019-08-08 15:57:48 -07:00
record_test.go routing/route+tlv: add new TLV-EOB awareness to Hop+Route 2019-08-22 18:53:00 -07:00
record.go tlv+hop: contain odd/even logic in payload parsing 2019-11-12 16:18:25 +01:00
stream_test.go tlv+hop: contain odd/even logic in payload parsing 2019-11-12 16:18:25 +01:00
stream.go tlv+hop: contain odd/even logic in payload parsing 2019-11-12 16:18:25 +01:00
tlv_test.go tlv+hop: contain odd/even logic in payload parsing 2019-11-12 16:18:25 +01:00
truncated_test.go tlv/truncated: add non-generic encoders for truncated types 2019-11-04 14:10:43 -08:00
truncated.go tlv/truncated: add non-generic encoders for truncated types 2019-11-04 14:10:43 -08:00
varint_test.go tlv/varint_test: add tests vectors for custom Read/WriteVarInt 2019-08-07 15:03:18 -07:00
varint.go tlv/varint: add modified bitcoin varint 2019-08-07 15:03:05 -07:00