SomberNight
|
2e5552816c
|
if payment fails with UPDATE onion error, also utilise channel_update for private channels
|
6 years ago |
Janus
|
962f70c7da
|
ln: add lightning_listen config option
|
6 years ago |
SomberNight
|
52377dbfa0
|
lnrouter: use htlc_maximum_msat
|
6 years ago |
SomberNight
|
ff0aa90ddf
|
lnworker: make add_peer async
|
6 years ago |
ThomasV
|
8bb23ea2cd
|
follow-up prev commit: channel_flags, message_flags, htlc_maximum_msat
|
6 years ago |
ThomasV
|
9659d23bde
|
add htlc_maximum_msat feature (bolt7)
|
6 years ago |
SomberNight
|
79989ad538
|
lnbase: typo in on_channel_reestablish
|
6 years ago |
SomberNight
|
a91e244a05
|
path finding: minor clean-up
|
6 years ago |
Janus
|
eabe23f6b8
|
make function for determining who pays fee
|
6 years ago |
SomberNight
|
cd175f0949
|
fix prev
|
6 years ago |
ThomasV
|
9a59ffaf44
|
lnrouter: filter out unsuitable channels
|
6 years ago |
ThomasV
|
a0acec9720
|
gather definitions of LN exceptions
|
6 years ago |
ThomasV
|
409a336071
|
fix tests (follow-up previous commit)
|
6 years ago |
ThomasV
|
445252284f
|
move transport code to its own file
|
6 years ago |
ThomasV
|
910e85ec01
|
future and callback are not needed here
|
6 years ago |
Janus
|
71afa3cc70
|
lnbase: split out BOLT-08 (Noise) implementation
|
6 years ago |
SomberNight
|
0578bbd5d0
|
fix tests
|
6 years ago |
SomberNight
|
f267400e1e
|
follow-up prev
|
6 years ago |
SomberNight
|
17ccb79ca4
|
channel verifier: NetworkJobOnDefaultServer, and some error handling
|
6 years ago |
ThomasV
|
5a081b2131
|
start channel verifier in network.start()
|
6 years ago |
ThomasV
|
626d09b358
|
add 'recḱless' option to allow using lightning on mainnet
|
6 years ago |
ThomasV
|
87fb0da5e1
|
minor fix
|
6 years ago |
ThomasV
|
9362130fba
|
fix race between network and lnwatcher (network.add_job does not always work)
|
6 years ago |
ThomasV
|
e761f5b876
|
add watchtower class, send encumbered tx as json
|
6 years ago |
SomberNight
|
7589bdc6a9
|
fix tests
|
6 years ago |
SomberNight
|
48252318b8
|
rebase follow-up
|
6 years ago |
Janus
|
520b5703a4
|
lnbase: resend revoke_and_ack if necessary
|
6 years ago |
ThomasV
|
30753ed475
|
watchtower: use network job, catch exceptions
|
6 years ago |
ThomasV
|
680b129b4a
|
remote watchtower: initial commit
|
6 years ago |
Janus
|
94a10e6307
|
rebase fixup: use new broadcast_transaction API
|
6 years ago |
Janus
|
601356f5d1
|
lnbase: use 45000 feerate on regtest for eclair compatibility
|
6 years ago |
ThomasV
|
46cf18ce5f
|
open_channel: improved success message
|
6 years ago |
ThomasV
|
6efe5db0d0
|
run open_channel in a WaitingDialog
|
6 years ago |
Janus
|
1763d02b05
|
rename lnhtlc->lnchan, HTLCStateMachine->Channel
|
6 years ago |
Janus
|
b26dc66567
|
lnhtlc: only store feerate once, don't store heights since we do not roll back
|
6 years ago |
Janus
|
e8471e483b
|
lnhtlc: merge config and state, remove unnecessary properties
|
6 years ago |
Janus
|
1d4c113a35
|
lnhtlc: remove lookup_htlc, use heterogeneously typed lists
|
6 years ago |
Janus
|
699368b0b7
|
lnhtlc: save settled htlc amounts separately
|
6 years ago |
Janus
|
18d06dd6b4
|
qt channels_list: use repr() and not str() for exceptions
|
6 years ago |
ThomasV
|
d439b3c308
|
fix previous commit
|
6 years ago |
ThomasV
|
1ebd1baebf
|
follow-up 1c8a4bcfa497b117e4511c2f108dbca8a1adb793
|
6 years ago |
SomberNight
|
8d4a5bd1d7
|
lnbase: handle some error codes re htlc failures ('UPDATE' flag)
|
6 years ago |
SomberNight
|
a8ace7ef4f
|
lnonion: use IntEnum and IntFlag for failure codes
|
6 years ago |
SomberNight
|
864efa029b
|
handle failing htlc after restart
|
6 years ago |
SomberNight
|
eced61123d
|
clean up local/global features
|
6 years ago |
SomberNight
|
4d32478f30
|
on_channel_reestablish: try to get remote to force close channel if out-of-sync.
see ACINQ/eclair#727 and lightningnetwork/lnd#1904
|
6 years ago |
SomberNight
|
1946254ef2
|
on_update_fail_htlc: don't send commitment without changes
c-lightning was force-closing channels with us: "[lnbase:127.0.0.1] error commit_sig with no changes"
|
6 years ago |
SomberNight
|
bf25d765d9
|
simplify ChannelDB.on_channel_update
|
6 years ago |
SomberNight
|
c1473ca97d
|
travis: don't build binaries on ln branch
|
6 years ago |
SomberNight
|
a06b49ae40
|
when paying and there are multiple 'r' hints, use one at random
|
6 years ago |