Commit graph

9 commits

Author SHA1 Message Date
SomberNight
5c8b5a0b7c
some more type annotations that needed conditional imports 2018-11-05 20:24:02 +01:00
SomberNight
78ca70887a
fix confusion re max path length 2018-11-05 20:23:59 +01:00
SomberNight
4fcc766ba5
protect against getting robbed through routing fees 2018-11-05 20:23:59 +01:00
SomberNight
f1ea73a2c6
start failing htlcs 2018-11-05 20:23:58 +01:00
SomberNight
5538b9bb8a
lnonion: implement error packet construction 2018-11-05 20:23:58 +01:00
SomberNight
d5f83c827a
follow-up prev 2018-11-05 20:23:55 +01:00
SomberNight
93134c49c5
lnonion: use IntEnum and IntFlag for failure codes 2018-11-05 20:18:57 +01:00
SomberNight
eef8cd0d20
decode onion errors to failure message type 2018-11-05 20:16:08 +01:00
SomberNight
766297da31
move bolt-04 onion stuff to its own module 2018-11-05 20:08:49 +01:00