SomberNight
bcdb72ae93
qt: add some type hints
2019-09-09 22:19:36 +02:00
SomberNight
58681e4d07
follow-up prev (commands)
2019-09-05 18:30:04 +02:00
ThomasV
96d3c36e4a
Qt: move settings dialog to a separate module
2019-09-05 13:21:18 +02:00
ThomasV
94e7e94e2f
fix ssl config names, add new config tab
2019-09-05 11:36:50 +02:00
SomberNight
a42a773d19
storage: replace STO_EV_* ints with IntEnum
2019-09-04 13:31:49 +02:00
ThomasV
747ab7a0a2
Integrate http_server (previously in electrum-merchant)
...
Use submodule to fetch HTML and CSS files
2019-09-04 12:20:05 +02:00
SomberNight
bb2c3475cc
qt main_window: fix receive_at, rm dead code
2019-09-03 18:56:09 +02:00
ThomasV
a50f935aec
Restructure invoices and requests (WIP)
...
- Terminology: use 'invoices' for outgoing payments, 'requests' for incoming payments
- At the GUI level, try to handle invoices in a generic way.
- Display ongoing payments in send tab.
2019-09-02 15:35:44 +02:00
ThomasV
2b52ee26e6
store qt-console-history in wallet file ( fix #5563 )
2019-08-25 11:39:11 +02:00
ThomasV
8010123c08
Display and refresh the status of incoming payment requests:
...
- All requests have an expiration date
- Paid requests are automatically removed from the list
- Unpaid, unconfirmed and expired requests are displayed
- Fix a bug in get_payment_status, conf was off by one
2019-08-22 06:00:45 +02:00
ThomasV
9f8e2c689e
test funding_txn_minimum_depth, show it in GUI
2019-08-20 09:03:12 +02:00
ThomasV
9e78fdbf71
qt gui: simplify signals
2019-08-20 09:03:12 +02:00
SomberNight
5e3e3e41a1
qt receive tab: fix update_receive_address_styling
2019-08-20 09:03:12 +02:00
SomberNight
63217c1ca7
qt main window: hide "Channels" tab if lightning is disabled
2019-08-20 09:03:12 +02:00
ThomasV
70cd29f9e1
GUI refactoring for Kivy and lightning.
...
This also touches Qt and wallet code.
2019-08-20 09:03:12 +02:00
ThomasV
1a23dcb8d5
display lightning payment attempts using signal
2019-08-20 09:03:12 +02:00
ThomasV
0913194a53
qt: add clear button to receive tab, show invoice right after it is added
2019-08-20 09:03:11 +02:00
ThomasV
b8d908d63e
lnworker improvements:
...
- enable option data_loss_protect
- separate add_peer from open_channel
- display exceptions raised in open_channel
2019-08-20 09:03:11 +02:00
ThomasV
50479086b5
raise PaymentFailure in case of timeout (follow-up previous commit)
2019-08-20 09:03:11 +02:00
ThomasV
dbe8b75659
move lnpay attempts logic to lnworker.pay
2019-08-20 09:03:11 +02:00
ThomasV
a70441f0f1
minor fixes: remove_channel
2019-08-20 09:03:11 +02:00
ThomasV
6d9ef29690
redo LNWorker pay:
...
- wait until htlc has been fulfilled
- raise if htlc is not fulfilled
- return boolean success
- try multiple paths in GUI
2019-08-20 09:03:11 +02:00
ThomasV
f5c58c5e19
lightning network dialog
2019-08-20 09:03:11 +02:00
ThomasV
842fff832f
enable lightning through command line option
2019-08-20 09:03:11 +02:00
SomberNight
cc57da704b
logging: adapt lightning branch to logging changes
2019-08-20 09:03:11 +02:00
ThomasV
90c42c7f1b
fix icons in receive tab
2019-08-20 09:03:11 +02:00
ThomasV
ed4cecf19c
ln_message: trigger notification instead of popup
2019-08-20 09:03:11 +02:00
SomberNight
7644c84e07
qt: update whole gui on every LN payment
...
inefficient... but at least kept updated.
2019-08-20 09:03:11 +02:00
SomberNight
dfc2a35ae6
qt: handle LN invoices better in Send tab
2019-08-20 09:03:11 +02:00
SomberNight
3d0b5fc80f
more post-rebase fixups
2019-08-20 09:03:11 +02:00
SomberNight
2976f50b8c
lightning post-rebase fixups
2019-08-20 09:03:11 +02:00
Janus
8274a963e6
lnworker: save outgoing invoice when initiating payment
2019-08-20 09:03:11 +02:00
Janus
f5cee9ecf6
lightning: post-rebase fixes, read_QIcon and invalid import
2019-08-20 09:03:11 +02:00
ThomasV
b7d93e2e11
gui: display lightning balance in status bar
2019-08-20 09:03:11 +02:00
ThomasV
19e60f00bb
add watchtower_window
2019-08-20 09:03:11 +02:00
ThomasV
7bb4ea150f
gui: show incoming lightning requests, add on-chain icon
2019-08-20 09:03:11 +02:00
ThomasV
0e8dba897e
lightning:
...
* store invoices for both directions
* do not store lightning_payments_inflight, lightning_payments_completed in lnworker
* payment history is returned by get_payments method of LNChannel
* command line: lightning history, lightning_invoices
* re-enable push_msat
2019-08-20 09:03:11 +02:00
Janus
1f1207ecbe
ln: request_list: post rebase fixup (remove new_request_button deactivation)
2019-08-20 09:03:11 +02:00
ThomasV
3ce0f7f0cd
simplify requests list
2019-08-20 09:03:11 +02:00
ThomasV
3c8dea9b28
lightning: simplify request tab
2019-08-20 09:03:11 +02:00
Janus
ef88bb1c28
request_list: select new items
2019-08-20 09:03:11 +02:00
Janus
56853da391
qt main_window: do not unregister on shutdown
...
this is handled differently in lightning, see commit
commit 6e355601261a60d143561f15760cc48f9c81d000
Author: ThomasV <thomasv@electrum.org>
Date: Sun Jun 3 10:07:56 2018 +0200
integrate channels_list with existing framework
2019-08-20 09:03:11 +02:00
Janus
4a2a45d7e3
lightning: post rebase qt gui fixes
2019-08-20 09:03:11 +02:00
Janus
e3409d32ef
channel details with list of htlcs
2019-08-20 09:03:11 +02:00
SomberNight
5b7c801ca4
after rebase fixes
2019-08-20 09:03:11 +02:00
ThomasV
d6b4268fde
Qt gui: show messages about payment outcome
2019-08-20 09:03:10 +02:00
ThomasV
a0acec9720
gather definitions of LN exceptions
2019-08-20 09:03:10 +02:00
Janus
71afa3cc70
lnbase: split out BOLT-08 (Noise) implementation
2019-08-20 09:03:10 +02:00
ThomasV
46cf18ce5f
open_channel: improved success message
2019-08-20 09:03:10 +02:00
ThomasV
6efe5db0d0
run open_channel in a WaitingDialog
2019-08-20 09:03:10 +02:00