Commit graph

475 commits

Author SHA1 Message Date
SomberNight
8632f027da lnhtlc: small clean-up / docstrings 2019-08-20 09:03:11 +02:00
ThomasV
9983578df0 lightning tx: remove amount from label 2019-08-20 09:03:11 +02:00
ThomasV
eae8f1a139 gui: show only initialized peers 2019-08-20 09:03:11 +02:00
ThomasV
3abe30e9d8 basic watchtower synchronization 2019-08-20 09:03:11 +02:00
ThomasV
90c42c7f1b fix icons in receive tab 2019-08-20 09:03:11 +02:00
ThomasV
8d77a7ecd8 save timestamps in htlc log 2019-08-20 09:03:11 +02:00
ThomasV
b861e2e955 lnwatcher: save sweepstore in sqlite database 2019-08-20 09:03:11 +02:00
Janus
dd7c4b3bab sqlite in lnrouter 2019-08-20 09:03:11 +02:00
ThomasV
d94e40d2be add 'txpos' field to lightning history items, in case two transactions have the same timestamp 2019-08-20 09:03:11 +02:00
ThomasV
7a51f034e4 add future transactions to address synchronizer 2019-08-20 09:03:11 +02:00
ThomasV
2994764ad8 history: add column for ln amount 2019-08-20 09:03:11 +02:00
ThomasV
8aa4ce0704 improve watchtower gui 2019-08-20 09:03:11 +02:00
ThomasV
8b12f481da lightning: display forwarded payments as a single history item 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
962628ac3d lnworker: minor clean-up re payment_completed 2019-08-20 09:03:11 +02:00
SomberNight
828f07a1ff qt request_list: disable editing existing items 2019-08-20 09:03:11 +02:00
SomberNight
f0b4d1ecce qt request_list: minor fix for context menu 2019-08-20 09:03:11 +02:00
SomberNight
64b2844e81 qt request_list: fix changing between items 2019-08-20 09:03:11 +02:00
SomberNight
3d0b5fc80f more post-rebase fixups 2019-08-20 09:03:11 +02:00
ThomasV
62be0c481c lightning: Save invoices and preimages separately. Save preimages when forwarding 2019-08-20 09:03:11 +02:00
ThomasV
5f516bac35 move lightning icon 2019-08-20 09:03:11 +02:00
SomberNight
2976f50b8c lightning post-rebase fixups 2019-08-20 09:03:11 +02:00
ThomasV
3dce65dc73 Rename lnchan, lnchannel_verifier, lnbase
Auto-completions are a pain if files share a long prefix
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
98e85fd16d qt: channel_details: prevent crash on stuck SENT htlc 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
b265212fe6 show amount in channel opening/closure 2019-08-20 09:03:11 +02:00
ThomasV
108a986ef0 history tab: render channel opening/closure on a single line 2019-08-20 09:03:11 +02:00
ThomasV
42cbe74e95 history: better handling of None timestamps 2019-08-20 09:03:11 +02:00
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