ThomasV
776caeeff0
follow-up prev commit: use maxsize to sort timestamps
2019-08-20 09:03:11 +02:00
ThomasV
f04e10f61a
save channel timestamps, and show lightning payments in history tab
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
2af178a586
Store boolean is_received in lightning invoices. Sort lightning history with timestamp. Minor fixes
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
e6bd3959e0
ln: handle channel limits better, show remote limits in details dialog, replace rusty's testnet peer (doesn't work currently)
2019-08-20 09:03:11 +02:00
ThomasV
b0d6000771
turn lightning_payments_completed into dict. Show status of lightning payments in GUI. Make 'listchannels' available offline
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
02798aeb39
sort requests by date
2019-08-20 09:03:11 +02:00
ThomasV
3ce0f7f0cd
simplify requests list
2019-08-20 09:03:11 +02:00
ThomasV
290a1c61a8
confirmation dialog before force closure
2019-08-20 09:03:11 +02:00
ThomasV
dbcd5fe59d
channel_details: minor fix
2019-08-20 09:03:11 +02:00
ThomasV
3c8dea9b28
lightning: simplify request tab
2019-08-20 09:03:11 +02:00
Janus
e56e849505
lnchan refactor
...
- replace undoing logic with new HTLCManager class
- separate SENT/RECEIVED
- move UpdateAddHtlc to lnutil
2019-08-20 09:03:11 +02:00
Janus
ef88bb1c28
request_list: select new items
2019-08-20 09:03:11 +02:00
Janus
9cbf55f977
request_list: do not mention that ln invoice is bolt-11
2019-08-20 09:03:11 +02:00
Janus
720146ee40
request_list: fix qr code display and keyboard selection of lightning invoices
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
ThomasV
f4b9d2f47c
show lightning network capacity in GUI
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
864d910888
qt: channel_details: add more info: sent/received, channel id, funding tx, short channel id, node id
2019-08-20 09:03:11 +02:00
Janus
c339eabd31
qt: channel_details: remove demo code
2019-08-20 09:03:11 +02:00
Janus
e3409d32ef
channel details with list of htlcs
2019-08-20 09:03:11 +02:00
Janus
9d32031ca2
Kivy: Lightning support in Receive tab
2019-08-20 09:03:11 +02:00
Janus
7db9a22d63
Kivy: open channel dialog
2019-08-20 09:03:11 +02:00
Janus
1352b0ce9f
Kivy: Support Lightning in Send tab
2019-08-20 09:03:11 +02:00
Janus
f803bb571d
kivy: restore channel list to working state, add [force-]closing functionality
2019-08-20 09:03:11 +02:00
SomberNight
5b7c801ca4
after rebase fixes
2019-08-20 09:03:11 +02:00
Janus
c570bc5fb1
avoid leaving FORCE_CLOSING state, rebroadcast closing tx if reorged out
2019-08-20 09:03:11 +02:00
Janus
a5a7c1406e
lightning channels reserves: use pretty balance in Qt, fix bugs, add tests
2019-08-20 09:03:10 +02:00
ThomasV
eb4e6b2e54
use WaitingDialog to close channels
2019-08-20 09:03:10 +02:00
ThomasV
70dbd8e672
add close_channel method to peer
2019-08-20 09:03:10 +02:00
ThomasV
a5ab431b4b
parse invoices with lightning: prefix
2019-08-20 09:03:10 +02:00
SomberNight
54edc9488a
lnworker: store invoices based on payment_hash
2019-08-20 09:03:10 +02:00
ThomasV
d6b4268fde
Qt gui: show messages about payment outcome
2019-08-20 09:03:10 +02:00
Janus
ac68c8f531
lnchan: add available_to_spend()
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
Janus
94a10e6307
rebase fixup: use new broadcast_transaction API
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
Janus
1763d02b05
rename lnhtlc->lnchan, HTLCStateMachine->Channel
2019-08-20 09:03:10 +02:00
Janus
18d06dd6b4
qt channels_list: use repr() and not str() for exceptions
2019-08-20 09:03:10 +02:00
ThomasV
6b9de278d4
aiosafe: define user visible exception class
2019-08-20 09:03:10 +02:00
ThomasV
6f3c2b30ed
lnbase: propagate error messages received in on_error to their relevant coroutines
2019-08-20 09:03:10 +02:00
SomberNight
17457327ef
make key derivation reasonable
...
no more hardcoded secrets, no more key-reuse
2019-08-20 09:03:10 +02:00
Janus
139f773c2e
new network API: use broadcast_transaction with run_from_other_thread
2019-08-20 09:03:10 +02:00
Janus
646881f437
lnworker.pay(): lightning-integration support
2019-08-20 09:03:10 +02:00