122 Commits (76886d0eaca874a476f893894da2e9234c6c5074)

Author SHA1 Message Date
ThomasV 0690c7b5e4
lightning: do not handle more than one fee update at a time 6 years ago
SomberNight 5c5047691e
lnutil: restructure channel config namedtuples (local/remote config) 6 years ago
Janus 89184fc759
add command for listing invoices and their progress, fix list_channels 6 years ago
SomberNight b2f1c34f2a
after rebase fixes 6 years ago
Janus 2562170113
do not co-op close channels with pending htlcs 6 years ago
Janus 6e4de7039f
avoid leaving FORCE_CLOSING state, rebroadcast closing tx if reorged out 6 years ago
Janus 6732fc14e9
move force_close_channel to lnbase, test it, add FORCE_CLOSING state 6 years ago
SomberNight 907e3d76f7
after rebase clean-up 6 years ago
Janus 2a1c3ae68b
test_lnbase: add test that pays to another local electrum 6 years ago
SomberNight 7e5bf8edeb
lnbase: more type annotations, and minor fix 6 years ago
SomberNight c021ff81a3
add licence headers to more files 6 years ago
Janus a4e638800e
lnbase: mark initialized later, add tests, etc 6 years ago
Janus ab1297e55f
lnbase: do not assert only one htlc in commitment 6 years ago
Janus b4a80805f2
lightning channels reserves: use pretty balance in Qt, fix bugs, add tests 6 years ago
ThomasV ba4e789dd8
use WaitingDialog to close channels 6 years ago
ThomasV 1cde00e9fc
add close_channel method to peer 6 years ago
ThomasV bfb751c277
fix typo 6 years ago
ThomasV a1dcc4fef7
lnbase: self.channel_reestablished is not a queue 6 years ago
Janus 35a92036ec
lightning channel reserves 6 years ago
ThomasV 5a559ee320
lnbase: call save_channel in revoke and receive_revoke 6 years ago
Janus 8e9667ffa3
redeem htlc outputs of our local commitment transaction back to wallet 6 years ago
SomberNight 90d0763ea9
some more type annotations that needed conditional imports 6 years ago
SomberNight 1b31b41b13
better handling of channel updates for private channels 6 years ago
SomberNight 383897c42e
lnbase: when opening channel, test if we have enough balance first 6 years ago
SomberNight 91ccf45df3
start failing htlcs 6 years ago
SomberNight 21f5ad43cb
unify hardcoded regtest fee 6 years ago
ThomasV c3ecc9b445
Qt gui: show messages about payment outcome 6 years ago
ThomasV 327f6adca9
encapsulate get_invoice in lnworker 6 years ago
ThomasV 95010392fc
make on_update_add_htlc async 6 years ago
SomberNight 352f48472b
follow-up prev 6 years ago
SomberNight 241339971a
fix multi-hop payments 6 years ago
ThomasV f174fa0a79
follow-up 3460ba738e 6 years ago
ThomasV be1bc40484
revert rbf on funding tx 6 years ago
SomberNight 789267dffb
lnbase: fix peer clean-up 6 years ago
ThomasV 40519b1356
funding tx: use fees from config and set rbf 6 years ago
SomberNight b901986d80
clean-up Peer init 6 years ago
SomberNight 6233546713
if payment fails with UPDATE onion error, also utilise channel_update for private channels 6 years ago
Janus 3b46f21efb
ln: add lightning_listen config option 7 years ago
ThomasV bbff3d6f3e
follow-up prev commit: channel_flags, message_flags, htlc_maximum_msat 7 years ago
SomberNight e5d8ec069c
lnbase: typo in on_channel_reestablish 7 years ago
ThomasV 428a768b67
lnrouter: filter out unsuitable channels 7 years ago
ThomasV 1b21254657
fix tests (follow-up previous commit) 7 years ago
ThomasV 66813a6246
move transport code to its own file 7 years ago
Janus 3e193a19c5
lnbase: split out BOLT-08 (Noise) implementation 7 years ago
SomberNight 9b49777427
rebase follow-up 7 years ago
Janus 847f66954c
lnbase: resend revoke_and_ack if necessary 7 years ago
Janus 52e21bfd22
rebase fixup: use new broadcast_transaction API 7 years ago
Janus 897b866e78
lnbase: use 45000 feerate on regtest for eclair compatibility 7 years ago
Janus 0ec7cb351a
rename lnhtlc->lnchan, HTLCStateMachine->Channel 7 years ago
Janus 72ecd53b6b
lnhtlc: only store feerate once, don't store heights since we do not roll back 7 years ago