Commit graph

158 commits

Author SHA1 Message Date
Janus
f6ee7adabd Kivy: Lightning support in Receive tab 2018-11-13 21:17:54 +01:00
Janus
6e69c9ed1a Kivy: open channel dialog 2018-11-12 18:02:15 +01:00
Janus
a6601dc0d7 Kivy: Support Lightning in Send tab 2018-11-08 11:38:18 +01:00
Janus
bf4797edbe kivy: restore channel list to working state, add [force-]closing functionality 2018-11-07 19:41:30 +01:00
SomberNight
dbb482a512
after rebase fixes 2018-11-05 20:29:44 +01:00
Janus
a774f3339e
avoid leaving FORCE_CLOSING state, rebroadcast closing tx if reorged out 2018-11-05 20:24:16 +01:00
Janus
1dc9e062df
lightning channels reserves: use pretty balance in Qt, fix bugs, add tests 2018-11-05 20:24:08 +01:00
ThomasV
f8fd131d01
use WaitingDialog to close channels 2018-11-05 20:24:07 +01:00
ThomasV
b38e25844b
add close_channel method to peer 2018-11-05 20:24:07 +01:00
ThomasV
61cbe573a5
parse invoices with lightning: prefix 2018-11-05 20:24:06 +01:00
SomberNight
53027d6b2f
lnworker: store invoices based on payment_hash 2018-11-05 20:24:04 +01:00
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