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
order depends on who is initiator anyway
|
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
previously was only set for tests
|
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
and make sure we don't try to create the funding txn from local UTXOs
|
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 |
Janus
|
55121210c0
|
lnchan: add available_to_spend()
|
6 years ago |
Janus
|
c0871f3055
|
lnchan: make function for onion_keys decoding/encoding
|
6 years ago |
ThomasV
|
f174fa0a79
|
follow-up 3460ba738e
|
6 years ago |
SomberNight
|
40ec6985e4
|
lnaddr: encode min_final_cltv into invoice
|
6 years ago |
SomberNight
|
f1b88b2173
|
log if no invoice has no routing hints
|
6 years ago |
ThomasV
|
be1bc40484
|
revert rbf on funding tx
|
6 years ago |
SomberNight
|
789267dffb
|
lnbase: fix peer clean-up
|
6 years ago |
ThomasV
|
bdc465f8cb
|
improve suggest_peers; add htlcs to list_channels.
|
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
|
91477d6194
|
if channel_update for our channel is missing, fill invoice with zeroes
|
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
|
6 years ago |
SomberNight
|
2a375d776d
|
lnrouter: use htlc_maximum_msat
|
6 years ago |
SomberNight
|
cc066f9f1c
|
lnworker: make add_peer async
|
6 years ago |
ThomasV
|
bbff3d6f3e
|
follow-up prev commit: channel_flags, message_flags, htlc_maximum_msat
|
6 years ago |
ThomasV
|
370b1214e8
|
add htlc_maximum_msat feature (bolt7)
|
6 years ago |
SomberNight
|
e5d8ec069c
|
lnbase: typo in on_channel_reestablish
|
6 years ago |
SomberNight
|
7c1818ecbf
|
path finding: minor clean-up
|
6 years ago |
Janus
|
9844205aa9
|
make function for determining who pays fee
|
6 years ago |
SomberNight
|
ffa20f15a5
|
fix prev
|
6 years ago |
ThomasV
|
428a768b67
|
lnrouter: filter out unsuitable channels
|
6 years ago |