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
SomberNight
014d25ff28
lnwatcher: sweep to_remote and to_local outputs if they close
2018-11-05 20:05:40 +01:00
ThomasV
e7e2b39cfa
move lnaddr.py to lib
2018-11-05 20:05:36 +01:00
Janus
d894320625
ln: store HTLCStateMachine in lnworker.channels
2018-11-05 20:05:34 +01:00
SomberNight
94c9943054
improve Qt Receive tab for LN payment requests
2018-11-05 20:05:33 +01:00
ThomasV
93796b1e32
Separate open_channel dialog. In open_channel_coroutine, use host and port from channel announcements
2018-11-05 20:05:33 +01:00
ThomasV
586dc0a891
lightning: single shared instance of Watcher, ChannelDB and PathFinder
2018-11-05 20:05:31 +01:00
Janus
ab0a609ef7
daemon: prevent json-rpc-pelix from suppressing stack traces of TypeErrors
2018-11-05 20:02:44 +01:00
Janus
5508fe5c24
ln: remove lnbase global flag
2018-11-05 20:02:42 +01:00
ThomasV
2f35212446
do not block GUI with open_channel
2018-11-05 20:02:41 +01:00
ThomasV
3dc8c08f6b
lightning: display remote balance in gui
2018-11-05 20:02:40 +01:00
ThomasV
81f7cfd8aa
integrate channels_list with existing framework
2018-11-05 20:02:36 +01:00
ThomasV
af7498f4b0
request list: remove Type column
2018-11-05 20:02:36 +01:00
ThomasV
12c3dbd317
qt: fix unit of lnaddr.amount
2018-11-05 20:02:35 +01:00
ThomasV
37393fe686
lightning: connect send button
2018-11-05 20:02:33 +01:00
ThomasV
7c1c3d2d6d
lightning GUI: use existing receive and send tabs with lightning invoices
2018-11-05 20:02:33 +01:00
Janus
31f92d7e7d
ln: don't make invoice if peer can't possibly pay, append _sat to sat
...
parameters to avoid confusion
2018-11-05 20:02:32 +01:00
ThomasV
59e8c44311
lnworker: separate invoice creation from payment flow
2018-11-05 20:02:31 +01:00
Janus
25c300f10c
ln: restore functionality
2018-11-05 20:02:29 +01:00
ThomasV
2e3535e6f5
fix amount in open_channel, add listchannels command
2018-11-05 20:02:27 +01:00
ThomasV
1d1a5d6c44
move on_funding_locked to lnworker
2018-11-05 20:02:27 +01:00
ThomasV
47c0b2501d
lightning: add payment methods to lnworker
2018-11-05 20:02:26 +01:00
ThomasV
938343e68a
fix lnaddr.py following rebase
2018-11-05 20:02:25 +01:00
ThomasV
aaf40af7d0
update lnbase after crypto refactoring
2018-11-05 20:02:24 +01:00
Janus
18f2335bf9
lnbase: remove lnbase stub
2018-11-05 20:02:24 +01:00
ThomasV
86972cc9e2
qt: fix password passed to open_channel, cleanup
2018-11-05 20:01:19 +01:00
Janus
f82d40af1b
kivy: port lightning ui to lnbase
2018-11-05 20:01:18 +01:00
Janus
98f73348c1
lightning: remove hub based approach, port qt gui to lnbase
2018-11-05 20:00:35 +01:00
SomberNight
d44d1a8467
calc short_channel_id after funding locked
2018-11-05 19:58:45 +01:00
SomberNight
96f89fbd97
minor clean-up of prev. util.xor_bytes
2018-11-05 19:58:38 +01:00
ThomasV
d921aa50dd
lnbase: derive keys from wallet keystore
2018-11-05 19:58:33 +01:00