1695 Commits (2562170113255bee1c7cbc19cc9bc987a72a6473)

Author SHA1 Message Date
Janus 2562170113
do not co-op close channels with pending htlcs 6 years ago
Janus 681a69cfda
call force_close_channel on LNWorker, not Peer 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
Janus 946af47841
lnwatcher: do not get_transaction before broadcast 6 years ago
Janus 5dce7131fb
lnwatcher: more detailed logging, support notifying test suite of txs 6 years ago
Janus fa1e0d2742
lnwatcher: ensure probable spendability of prev_tx 6 years ago
Janus 54f87d4947
use IntEnum for TxMinedDepth 6 years ago
ThomasV bdf9cb4d17
watchtower: add watch_channel rpc 6 years ago
Janus 64f6a0c43f
lnchan: use NamedTuple for logs instead of dict with static keys (adds, locked_in, settles, fails) 6 years ago
Janus bfa28e5562
lnchan: make sign_next_commitment revert state 6 years ago
Janus 24f00acbc7
remove incorrect docstrings, attribute docstring sources where applicable 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 6f1287736a
add lnd copyright boilerplate to lnchan, test_lnchan 6 years ago
Janus a4e638800e
lnbase: mark initialized later, add tests, etc 6 years ago
Janus 7991165ddf
lnworker: fix listchannels 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 3b1e424b89
parse invoices with lightning: prefix 6 years ago
ThomasV a1dcc4fef7
lnbase: self.channel_reestablished is not a queue 6 years ago
Janus 35a92036ec
lightning channel reserves 6 years ago
SomberNight bb642f1b25
lnworker: store invoices based on payment_hash 6 years ago
ThomasV 5a559ee320
lnbase: call save_channel in revoke and receive_revoke 6 years ago
Janus be74575241
fix co-op close 6 years ago
Janus f470c69e5d
follow-up redeeming of local outgoing htlc outputs, fix tests 6 years ago
SomberNight 45611b3eb8
lnutil.make_funding_input: don't return payment pubkeys 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 9df0961f89
lnchan: set diagnostic_name 6 years ago
SomberNight 1b31b41b13
better handling of channel updates for private channels 6 years ago
SomberNight 8442b3ba4a
lnrouter: can_pay for own channels should use amount_to_forward 6 years ago
SomberNight a547d997e9
lnrouter: run Dijkstra in reverse direction 6 years ago
SomberNight 09f2867629
fix confusion re max path length 6 years ago
SomberNight a45e549724
protect against getting robbed through routing fees 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 29b814452a
lnonion: implement error packet construction 6 years ago
SomberNight b1dcfee505
invoice 'r' field fallback: change cltv to 1 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