Commit graph

147 commits

Author SHA1 Message Date
ThomasV
dd957e1836
Qt gui: show messages about payment outcome 2018-11-05 20:23:56 +01:00
Janus
0b2f539c81
lnchan: add available_to_spend() 2018-11-05 20:23:54 +01:00
ThomasV
42ada7ffc4
gather definitions of LN exceptions 2018-11-05 20:23:44 +01:00
Janus
da7f731b93
lnbase: split out BOLT-08 (Noise) implementation 2018-11-05 20:23:42 +01:00
Janus
786ead4d83
rebase fixup: use new broadcast_transaction API 2018-11-05 20:19:03 +01:00
ThomasV
97c9a095a4
open_channel: improved success message 2018-11-05 20:19:02 +01:00
ThomasV
591e85c087
run open_channel in a WaitingDialog 2018-11-05 20:19:01 +01:00
Janus
12bc0a75f8
rename lnhtlc->lnchan, HTLCStateMachine->Channel 2018-11-05 20:19:01 +01:00
Janus
d480d52c1c
qt channels_list: use repr() and not str() for exceptions 2018-11-05 20:18:58 +01:00
ThomasV
89460aecd8
aiosafe: define user visible exception class 2018-11-05 20:18:49 +01:00
ThomasV
297c43863c
lnbase: propagate error messages received in on_error to their relevant coroutines 2018-11-05 20:18:48 +01:00
SomberNight
3b938160d1
make key derivation reasonable
no more hardcoded secrets, no more key-reuse
2018-11-05 20:18:45 +01:00
Janus
ef67f1e18a
new network API: use broadcast_transaction with run_from_other_thread 2018-11-05 20:18:41 +01:00
Janus
cfc566c93c
lnworker.pay(): lightning-integration support 2018-11-05 20:18:40 +01:00
Janus
4b2fa6a828
move connection string decoding to lnworker, fix test_lnutil 2018-11-05 20:18:38 +01:00
Janus
086acc43a2
qt channels_list: min width, not fixed with (for hiDPI displays), use OK as default button 2018-11-05 20:18:37 +01:00
Janus
d79ccb1c4c
lnhtlc: save logs and feeupdates 2018-11-05 20:16:12 +01:00
SomberNight
dea0c7ebbf
qt: pay_lightning_invoice - attempt paying multiple times in case of failure 2018-11-05 20:16:07 +01:00
SomberNight
284b2cc536
qt send tab: hide fee fields when paying with lightning 2018-11-05 20:16:06 +01:00
SomberNight
595e7cb1b4
qt open channel dialog: allow pasting invoices to open a channel 2018-11-05 20:16:06 +01:00
SomberNight
985d15dc8e
more reliable peer and channel re-establishing 2018-11-05 20:16:04 +01:00
SomberNight
4537f2bcd5
persist nodes in channel_db on disk 2018-11-05 20:15:57 +01:00
SomberNight
037290a9a8
allow paying invoice without amount. min feerate 253 sat/kw. 2018-11-05 20:05:56 +01:00
SomberNight
5538762673
qt/channels list: show error in dialog 2018-11-05 20:05:52 +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
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
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
ThomasV
e7e2b39cfa
move lnaddr.py to lib 2018-11-05 20:05:36 +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
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
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
Janus
dbcf96d917
lightning: qt channel dialog, fix for shutdown when lightning disabled 2018-11-05 19:57:41 +01:00