Commit graph

20 commits

Author SHA1 Message Date
SomberNight
63d2c3aaf4 lnwatcher: sweep to_remote and to_local outputs if they close 2019-08-20 09:03:10 +02:00
Janus
8573dd3b6a ln: revoke before sending bare ctx in pay(), remove subtraction of trimmed amt from fee 2019-08-20 09:03:10 +02:00
Janus
605d6ff5ca ln: add two trimming tests, avoid negative numbers in htlc trim decision 2019-08-20 09:03:10 +02:00
Janus
03c2b954d9 lnhtlc: fee update upgrade and passes ReciverCommits and SenderCommits tests, fix NameErrors in lnbase 2019-08-20 09:03:10 +02:00
Janus
fe973a5137 ln: avoid recursive dependencies, make new lnutil 2019-08-20 09:03:10 +02:00
Janus
7a3551b5df ln: merge OpenChannel and HTLCStateMachine 2019-08-20 09:03:10 +02:00
Janus
42a56df996 ln: shortcut some OpenChannel fields to traversing too much 2019-08-20 09:03:10 +02:00
Janus
77e9abc655 ln: store HTLCStateMachine in lnworker.channels 2019-08-20 09:03:10 +02:00
Janus
b3dad9480c ln: trim dust htlc outputs 2019-08-20 09:03:10 +02:00
Janus
e7089c1458 ln: improve lnhtlc, passes test 2019-08-20 09:03:10 +02:00
Janus
56d5936661 lnhtlc: use current_per_commitment_point, current_commitment_signature 2019-08-20 09:03:10 +02:00
Janus
6f88c55f17 ln: announcement reliability fixes for qt, remove asserts forbidding unbalanced channels 2019-08-20 09:03:10 +02:00
Janus
e9fec66eb4 ln: begin handling htlc failures 2019-08-20 09:03:10 +02:00
Janus
3ea6415dc7 ln: fix repeated payments 2019-08-20 09:03:10 +02:00
Janus
399fe08047 ln: avoid code duplication 2019-08-20 09:03:10 +02:00
Janus
d1769472bd ln: save remote's secrets in RevocationStore, not our secrets. call lnhtlc.receive_revocation 2019-08-20 09:03:10 +02:00
Janus
6c8bd2559b lnbase/lnhtlc: use lnhtlc more instead of manually constructing tx'es 2019-08-20 09:03:10 +02:00
Janus
bd0f659f26 ln: remove unneeded forwarding htlc features, check commitment sig using lnhtlc while receiving 2019-08-20 09:03:10 +02:00
Janus
4d25933898 ln: integrate lnhtlc in lnbase, fix multiple lnhtlc bugs 2019-08-20 09:03:10 +02:00
Janus
497706afbf ln: htlc state machine (not used yet) 2019-08-20 09:03:10 +02:00