SomberNight
|
eecdd056b3
|
lnmsg: small speed-up: read first, check length after
this saves around ~13% wall clock time in ChannelDB.load_data
|
6 years ago |
SomberNight
|
a66437f399
|
lnonion: implement basis of varonion support
|
6 years ago |
SomberNight
|
c69937395e
|
lnmsg: add more tests (for encode_msg, decode_msg)
|
6 years ago |
SomberNight
|
85d7a13360
|
lnmsg: implement tests from BOLT-01
|
6 years ago |
SomberNight
|
f353e6d55c
|
lnmsg: encode/decode TLVs as part of messages
|
6 years ago |
SomberNight
|
542e33fd86
|
lnmsg: handle "..." as field count
|
6 years ago |
SomberNight
|
6949752263
|
lnmsg: initial TLV implementation
|
6 years ago |
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().
|
6 years ago |
SomberNight
|
4c10a830f3
|
lnmsg: rewrite LN msg encoding/decoding
|
6 years ago |
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
|
6 years ago |
SomberNight
|
edc00b448f
|
fix lightning "init" msg assertion error
closes #5962
|
6 years ago |
ThomasV
|
0f00f4f655
|
fix encode_msg: optional fields were not sent
|
6 years ago |
Janus
|
5f1feee331
|
move lightning message encoding to new lnmsg module
|
6 years ago |