SomberNight
|
80798061c3
|
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
|
2018-11-05 20:23:59 +01:00 |
|
SomberNight
|
f1ea73a2c6
|
start failing htlcs
|
2018-11-05 20:23:58 +01:00 |
|
SomberNight
|
5538b9bb8a
|
lnonion: implement error packet construction
|
2018-11-05 20:23:58 +01:00 |
|
SomberNight
|
1503227bbf
|
invoice 'r' field fallback: change cltv to 1
|
2018-11-05 20:23:57 +01:00 |
|
SomberNight
|
5493296d81
|
unify hardcoded regtest fee
|
2018-11-05 20:23:57 +01:00 |
|
ThomasV
|
dd957e1836
|
Qt gui: show messages about payment outcome
|
2018-11-05 20:23:56 +01:00 |
|
ThomasV
|
784b4a9d65
|
encapsulate get_invoice in lnworker
|
2018-11-05 20:23:56 +01:00 |
|
ThomasV
|
1aa624c96c
|
make on_update_add_htlc async
|
2018-11-05 20:23:55 +01:00 |
|
SomberNight
|
d5f83c827a
|
follow-up prev
|
2018-11-05 20:23:55 +01:00 |
|
SomberNight
|
1de6e7f673
|
fix multi-hop payments
|
2018-11-05 20:23:54 +01:00 |
|
Janus
|
0b2f539c81
|
lnchan: add available_to_spend()
|
2018-11-05 20:23:54 +01:00 |
|
Janus
|
c7ccaabcc2
|
lnchan: make function for onion_keys decoding/encoding
|
2018-11-05 20:23:54 +01:00 |
|
ThomasV
|
cb0cebba0c
|
follow-up 3460ba738e
|
2018-11-05 20:23:53 +01:00 |
|
SomberNight
|
97d1438f5d
|
lnaddr: encode min_final_cltv into invoice
|
2018-11-05 20:23:53 +01:00 |
|
SomberNight
|
66cfcd9feb
|
log if no invoice has no routing hints
|
2018-11-05 20:23:52 +01:00 |
|
ThomasV
|
8ed199b87a
|
revert rbf on funding tx
|
2018-11-05 20:23:52 +01:00 |
|
SomberNight
|
ab61a7592e
|
lnbase: fix peer clean-up
|
2018-11-05 20:23:51 +01:00 |
|
ThomasV
|
bcf202c465
|
improve suggest_peers; add htlcs to list_channels.
|
2018-11-05 20:23:51 +01:00 |
|
ThomasV
|
3c1fbc2247
|
funding tx: use fees from config and set rbf
|
2018-11-05 20:23:50 +01:00 |
|
SomberNight
|
2f9e3067ff
|
clean-up Peer init
|
2018-11-05 20:23:50 +01:00 |
|
SomberNight
|
be6a7e432b
|
if channel_update for our channel is missing, fill invoice with zeroes
|
2018-11-05 20:23:50 +01:00 |
|
SomberNight
|
3d89cc355d
|
if payment fails with UPDATE onion error, also utilise channel_update for private channels
|
2018-11-05 20:23:49 +01:00 |
|
Janus
|
34dff98919
|
ln: add lightning_listen config option
|
2018-11-05 20:23:49 +01:00 |
|
SomberNight
|
763eaec21e
|
lnrouter: use htlc_maximum_msat
|
2018-11-05 20:23:48 +01:00 |
|
SomberNight
|
3dad632472
|
lnworker: make add_peer async
|
2018-11-05 20:23:48 +01:00 |
|
ThomasV
|
7091e59df3
|
follow-up prev commit: channel_flags, message_flags, htlc_maximum_msat
|
2018-11-05 20:23:47 +01:00 |
|
ThomasV
|
1112e72e9d
|
add htlc_maximum_msat feature (bolt7)
|
2018-11-05 20:23:47 +01:00 |
|
SomberNight
|
f29a88147a
|
lnbase: typo in on_channel_reestablish
|
2018-11-05 20:23:46 +01:00 |
|
SomberNight
|
2d0cabbc5f
|
path finding: minor clean-up
|
2018-11-05 20:23:46 +01:00 |
|
Janus
|
e85226a6b3
|
make function for determining who pays fee
|
2018-11-05 20:23:46 +01:00 |
|
SomberNight
|
77ce64bc58
|
fix prev
|
2018-11-05 20:23:45 +01:00 |
|
ThomasV
|
ecb6922456
|
lnrouter: filter out unsuitable channels
|
2018-11-05 20:23:45 +01:00 |
|
ThomasV
|
42ada7ffc4
|
gather definitions of LN exceptions
|
2018-11-05 20:23:44 +01:00 |
|
ThomasV
|
560a8e99ac
|
fix tests (follow-up previous commit)
|
2018-11-05 20:23:44 +01:00 |
|
ThomasV
|
0e3e43f522
|
move transport code to its own file
|
2018-11-05 20:23:43 +01:00 |
|
ThomasV
|
354a4acea5
|
future and callback are not needed here
|
2018-11-05 20:23:43 +01:00 |
|
Janus
|
da7f731b93
|
lnbase: split out BOLT-08 (Noise) implementation
|
2018-11-05 20:23:42 +01:00 |
|
SomberNight
|
a124e7ebf9
|
fix tests
|
2018-11-05 20:23:42 +01:00 |
|
SomberNight
|
bcb7da938d
|
follow-up prev
|
2018-11-05 20:23:41 +01:00 |
|
SomberNight
|
0fbbc7b060
|
channel verifier: NetworkJobOnDefaultServer, and some error handling
|
2018-11-05 20:23:41 +01:00 |
|
ThomasV
|
1a108b86f8
|
start channel verifier in network.start()
|
2018-11-05 20:23:40 +01:00 |
|
ThomasV
|
d4527b84c1
|
add 'recḱless' option to allow using lightning on mainnet
|
2018-11-05 20:22:45 +01:00 |
|
ThomasV
|
5243ca97d9
|
minor fix
|
2018-11-05 20:22:44 +01:00 |
|
ThomasV
|
7cbb186167
|
fix race between network and lnwatcher (network.add_job does not always work)
|
2018-11-05 20:22:43 +01:00 |
|
ThomasV
|
1e3a91964d
|
add watchtower class, send encumbered tx as json
|
2018-11-05 20:19:05 +01:00 |
|
SomberNight
|
4e8d019d8d
|
fix tests
|
2018-11-05 20:19:05 +01:00 |
|
SomberNight
|
dc43341717
|
rebase follow-up
|
2018-11-05 20:19:04 +01:00 |
|
Janus
|
04741512ce
|
lnbase: resend revoke_and_ack if necessary
|
2018-11-05 20:19:04 +01:00 |
|
ThomasV
|
0c52c1cc8d
|
watchtower: use network job, catch exceptions
|
2018-11-05 20:19:04 +01:00 |
|
ThomasV
|
bdb54ef8ca
|
remote watchtower: initial commit
|
2018-11-05 20:19:03 +01:00 |
|