Commit graph

8 commits

Author SHA1 Message Date
SomberNight
542e33fd86
lnmsg: handle "..." as field count 2020-04-01 21:39:59 +02:00
SomberNight
6949752263
lnmsg: initial TLV implementation 2020-04-01 21:39:56 +02:00
SomberNight
3a73f6ee5c
lnmsg.decode_msg: dict values for numbers are int, instead of BE bytes
Will be useful for TLVs where it makes sense to do the conversion in lnmsg,
as it might be more complicated than just int.from_bytes().
2020-04-01 21:39:52 +02:00
SomberNight
4c10a830f3
lnmsg: rewrite LN msg encoding/decoding 2020-04-01 21:39:48 +02:00
SomberNight
99f736f3e7
ChannelDB.load_data: add comment re bad performance, and some speed-up
On my machine, ChannelDB.load_data() went from around 6 sec to 4 sec,
just by commenting out that assert in lnmsg.

related #6006
2020-03-03 04:05:36 +01:00
SomberNight
edc00b448f
fix lightning "init" msg assertion error
closes #5962
2020-02-15 15:25:41 +01:00
ThomasV
0f00f4f655 fix encode_msg: optional fields were not sent 2019-08-20 09:03:12 +02:00
Janus
5f1feee331 move lightning message encoding to new lnmsg module 2019-08-20 09:03:11 +02:00