Commit graph

9994 commits

Author SHA1 Message Date
Janus
c443231f29
lightning.json with gossip_queries 2018-11-05 20:06:01 +01:00
SomberNight
e79130019e
constants.py: remove duplicate Simnet declaration 2018-11-05 20:06:00 +01:00
Janus
593552b3cb
ln: do not use mSAT accuracy for commitment fees 2018-11-05 20:06:00 +01:00
Janus
cd4d8e0598
ln: fundee must commit to fee first 2018-11-05 20:06:00 +01:00
SomberNight
ce9bf7c5f1
bolt-08 handshake must use ephemeral key 2018-11-05 20:05:59 +01:00
SomberNight
ef39459e90
avoid crash if don't have peer for open channel 2018-11-05 20:05:58 +01:00
Janus
d797f4d146
use correct dust limit for their to_local/to_remote outputs 2018-11-05 20:05:58 +01:00
Janus
a058ed3100
ln: initialize genesis with object, fix method name typo, use depth_target_to_fee 2018-11-05 20:05:58 +01:00
ThomasV
f6fcda7f85
lnwatcher: pass address instead of wallet reference 2018-11-05 20:05:57 +01:00
ThomasV
67174b9814
encapsulate funding_address_for_channel 2018-11-05 20:05:57 +01:00
SomberNight
037290a9a8
allow paying invoice without amount. min feerate 253 sat/kw. 2018-11-05 20:05:56 +01:00
Janus
f3bd710bbf
lnbase: fee handling: add todo since depth_to_fee is inappropriate 2018-11-05 20:05:56 +01:00
ThomasV
adbd3e9883
asyncio: do not set event loop from wallet 2018-11-05 20:05:55 +01:00
Janus
fc147242e1
ln: fix race in on_network_update 2018-11-05 20:05:55 +01:00
Janus
05300a01e6
ln: send update_fee on fee change, handle nodes without data_protect 2018-11-05 20:05:54 +01:00
Janus
95fd640a31
lnrouter: ignore duplicate channel announcement 2018-11-05 20:05:54 +01:00
ThomasV
6c901b3e9a
remove unused method 2018-11-05 20:05:53 +01:00
SomberNight
309331a936
ChannelDB: print_graph 2018-11-05 20:05:53 +01:00
SomberNight
8c24e2101d
qt channels list: update channel when detecting close 2018-11-05 20:05:52 +01:00
SomberNight
5538762673
qt/channels list: show error in dialog 2018-11-05 20:05:52 +01:00
SomberNight
f99de79da1
lnwatcher improvements
- only try sweeping csv-locked to_local if past timelock
- check if outputs are already spent
- no need to keep watching channels for which all outputs are spent and mined deep
2018-11-05 20:05:51 +01:00
Janus
d9208f3245
move channel_state into HTLCStateMachine 2018-11-05 20:05:51 +01:00
ThomasV
c0c7b92bff
follow-up a7e5b9421c014fc0be72696837cb9d77519c5e03 2018-11-05 20:05:50 +01:00
ThomasV
73d0a3baf6
lightning: improve request tab layout 2018-11-05 20:05:50 +01:00
ThomasV
010740c060
draw qrcode with fixed framesize 2018-11-05 20:05:49 +01:00
ThomasV
8af31ad045
follow-up c505a9b8b498fa661a09fc9bc02e4b71e0f76a68 2018-11-05 20:05:49 +01:00
ThomasV
f78e1a5606
do not use Qt.UserRole+1, it does not work with findItems 2018-11-05 20:05:48 +01:00
ThomasV
b79573c858
do not set background in frozen_style, it does not look good with dark theme 2018-11-05 20:05:48 +01:00
ThomasV
f6aae9e399
fix crash in lnworker main_loop 2018-11-05 20:05:47 +01:00
ThomasV
8e39bae831
lightning: improve receive in Qt GUI 2018-11-05 20:05:47 +01:00
ThomasV
841124ce47
add peer suggestion to open channel dialog. move add_peer code back to lnworker constructor 2018-11-05 20:05:46 +01:00
ThomasV
2fd3a1ca72
add lnworker.main_loop to network.futures so it gets cancelled on exit. fix aiosafe verbosity. 2018-11-05 20:05:46 +01:00
ThomasV
e7a1f6b7cb
diagnostic_name: convert to str 2018-11-05 20:05:45 +01:00
ThomasV
ae389ae5e2
LNWorker: connect to multiple peers.
save exceptions in aiosafe.
enable adding peer in GUI.
2018-11-05 20:05:45 +01:00
Janus
8276d023c2
lightning: fixup after rebasing on restructured master 2018-11-05 20:05:44 +01:00
ThomasV
de75872bfc
Refresh LN status in GUI using network callback. 2018-11-05 20:05:44 +01:00
Janus
c244e47024
lnhtlc: remove unnecessary double application of pending feerate 2018-11-05 20:05:43 +01:00
Janus
017f275f18
ln: enable receiving dust htlcs 2018-11-05 20:05:43 +01:00
SomberNight
36de0ac9d7
lnwatcher: naive code to sweep to_local from our ctx (will not wait for timelock yet) 2018-11-05 20:05:42 +01:00
Janus
009b56a777
ln: use pending_local_commit while closing (won't be revoked) 2018-11-05 20:05:42 +01:00
Janus
e464c989e9
ln: raise our dust/reserve to 546 to be compatible with c-lightning 2018-11-05 20:05:41 +01:00
Janus
3a89e4f9a8
ln: test fix: our commit fee is implicit from outputs 2018-11-05 20:05:41 +01:00
Janus
be068de6a0
lnbase: do not revoke more than once if we have missed reading commitments 2018-11-05 20:05:40 +01:00
SomberNight
014d25ff28
lnwatcher: sweep to_remote and to_local outputs if they close 2018-11-05 20:05:40 +01:00
Janus
1ee125df8a
ln: revoke before sending bare ctx in pay(), remove subtraction of trimmed amt from fee 2018-11-05 20:05:39 +01:00
Janus
43d72c236a
ln: add two trimming tests, avoid negative numbers in htlc trim decision 2018-11-05 20:05:39 +01:00
Janus
98574bf5ee
lnhtlc: fee update upgrade and passes ReciverCommits and SenderCommits tests, fix NameErrors in lnbase 2018-11-05 20:05:38 +01:00
Janus
d4433cfcd4
lnaddr: remove remnants of lightning_payencode directory 2018-11-05 20:05:38 +01:00
Janus
413a94a13d
lnaddr: fix imports 2018-11-05 20:05:37 +01:00
ThomasV
fd18ae6773
move comment 2018-11-05 20:05:37 +01:00