Commit graph

29 commits

Author SHA1 Message Date
Janus
e5f42a3973 lnhtlc: save settled or failed htlcs 2019-08-20 09:03:10 +02:00
Janus
5753cf9e05 ln fees: avoid resending same fee update before it has been committed to, docs 2019-08-20 09:03:10 +02:00
Janus
d07adda3c0 lnhtlc: decrease next_htlc_id counter when removing htlcs when saving 2019-08-20 09:03:10 +02:00
ThomasV
1127d3f467 simplify syntax 2019-08-20 09:03:10 +02:00
Janus
878dc17acb ln: don't save htlcs that are not locked in 2019-08-20 09:03:10 +02:00
Janus
2c6925e526 lnhtlc: bip69 ordering of htlc signatues we generate 2019-08-20 09:03:10 +02:00
Janus
e23e0d6c6e ln: avoid duplicated htlc filter code, support multiple htlcs better 2019-08-20 09:03:10 +02:00
Janus
50b3bc939c avoid reading from queues concurrently in pay() 2019-08-20 09:03:10 +02:00
Janus
a04e37d050 keep htlc history in case a htlc fails 2019-08-20 09:03:10 +02:00
Janus
cc7ef49c43 lnhtlc: also check received htlcs when validating commitment sigs 2019-08-20 09:03:10 +02:00
Janus
224226f427 ln: cooperative close with remote peer initiating 2019-08-20 09:03:10 +02:00
Janus
d5d9270d0c lnhtlc: save logs and feeupdates 2019-08-20 09:03:10 +02:00
Janus
eca5545004 lnhtlc: don't throw away fee updates or htlcs
also add inject_fees debug command
2019-08-20 09:03:10 +02:00
Janus
02eca03486 lnhtlc: cleanup and save settled htlcs 2019-08-20 09:03:10 +02:00
Janus
6f5209ef85 lnhtlc: test that sent amount is received 2019-08-20 09:03:10 +02:00
Janus
261fefb6f3 lnwatcher rebased 2019-08-20 09:03:10 +02:00
SomberNight
b85aea1541 qt: pay_lightning_invoice - attempt paying multiple times in case of failure 2019-08-20 09:03:10 +02:00
SomberNight
15a6a83107 ln onchain fees: use 2 block ETAs with 150 s/b fallback 2019-08-20 09:03:10 +02:00
SomberNight
f3e5ba6ac1 more reliable peer and channel re-establishing 2019-08-20 09:03:10 +02:00
Janus
96a16adf30 ln: fix forwarded payment fees by removing separation between fee and amount in htlc objects 2019-08-20 09:03:10 +02:00
Janus
a841fa3602 ln: save htlc signatures 2019-08-20 09:03:10 +02:00
Janus
7f0568d83a special case receiving payment after fee update, fee update injector 2019-08-20 09:03:10 +02:00
Janus
9853cc6f31 ln: do not use mSAT accuracy for commitment fees 2019-08-20 09:03:10 +02:00
Janus
66e7b4d250 ln: fundee must commit to fee first 2019-08-20 09:03:10 +02:00
Janus
74b180a4e6 use correct dust limit for their to_local/to_remote outputs 2019-08-20 09:03:10 +02:00
Janus
478e484c54 ln: initialize genesis with object, fix method name typo, use depth_target_to_fee 2019-08-20 09:03:10 +02:00
ThomasV
bc28edf178 encapsulate funding_address_for_channel 2019-08-20 09:03:10 +02:00
Janus
d740475e7a move channel_state into HTLCStateMachine 2019-08-20 09:03:10 +02:00
Janus
35adc3231b lightning: fixup after rebasing on restructured master 2019-08-20 09:03:10 +02:00
Renamed from lib/lnhtlc.py (Browse further)