Commit Graph

21 Commits

Author SHA1 Message Date
Janus
4e95f5e4c0 lnhtlc: remove unnecessary double application of pending feerate 2018-07-13 16:44:01 +02:00
SomberNight
8009253582 lnwatcher: sweep to_remote and to_local outputs if they close 2018-07-13 16:44:01 +02:00
Janus
d0f5980d75 ln: revoke before sending bare ctx in pay(), remove subtraction of trimmed amt from fee 2018-07-13 16:44:01 +02:00
Janus
53678e0485 ln: add two trimming tests, avoid negative numbers in htlc trim decision 2018-07-13 16:44:01 +02:00
Janus
16e541f642 lnhtlc: fee update upgrade and passes ReciverCommits and SenderCommits tests, fix NameErrors in lnbase 2018-07-13 16:44:01 +02:00
Janus
dbb2ee3b8d ln: avoid recursive dependencies, make new lnutil 2018-07-13 16:44:01 +02:00
Janus
7dfe30da2e ln: merge OpenChannel and HTLCStateMachine 2018-07-13 16:44:01 +02:00
Janus
69f64b55e3 ln: shortcut some OpenChannel fields to traversing too much 2018-07-13 16:44:01 +02:00
Janus
93b8567de4 ln: store HTLCStateMachine in lnworker.channels 2018-07-13 16:44:01 +02:00
Janus
343df943d3 ln: trim dust htlc outputs 2018-07-13 16:44:01 +02:00
Janus
b5ddd295e4 ln: improve lnhtlc, passes test 2018-07-13 16:44:01 +02:00
Janus
594bde07f8 lnhtlc: use current_per_commitment_point, current_commitment_signature 2018-07-13 16:44:01 +02:00
Janus
3149ef708a ln: announcement reliability fixes for qt, remove asserts forbidding unbalanced channels 2018-07-13 16:44:01 +02:00
Janus
3e18eb716f ln: begin handling htlc failures 2018-07-13 16:44:01 +02:00
Janus
04e5b35b00 ln: fix repeated payments 2018-07-13 16:44:01 +02:00
Janus
e197e1d27b ln: avoid code duplication 2018-07-13 16:44:01 +02:00
Janus
ed8e02de6a ln: save remote's secrets in RevocationStore, not our secrets. call lnhtlc.receive_revocation 2018-07-13 16:44:01 +02:00
Janus
150d1a9337 lnbase/lnhtlc: use lnhtlc more instead of manually constructing tx'es 2018-07-13 16:44:01 +02:00
Janus
74b0d38686 ln: remove unneeded forwarding htlc features, check commitment sig using lnhtlc while receiving 2018-07-13 16:44:01 +02:00
Janus
61b5273916 ln: integrate lnhtlc in lnbase, fix multiple lnhtlc bugs 2018-07-13 16:44:01 +02:00
Janus
257e9cabe2 ln: htlc state machine (not used yet) 2018-07-13 16:44:01 +02:00