ThomasV
9224404108
Move callback manager out of Network class
2020-04-14 18:29:51 +02:00
SomberNight
9a88c13b3d
translations: add note that f-strings cannot be translated
...
and replace current usage
2020-04-11 16:33:45 +02:00
ThomasV
312ef15cd6
fix #6056
2020-04-11 12:02:38 +02:00
ThomasV
e50f6d29ed
export channel backup from kivy gui
2020-04-10 20:04:24 +02:00
ThomasV
8f41aeb783
Replace wallet backup with channel backups
...
- channels can be backed up individually
- backups are added to lnwatcher
- AbstractChannel ancestor class
2020-04-10 14:45:23 +02:00
SomberNight
71eed1d4cb
wizard: (trivial) add show_error to base class, document API
2020-04-09 19:45:42 +02:00
SomberNight
1dc3100ba3
android build: use "cryptography" instead of "pycryptodomex" fork
...
Electrum needs either "cryptography" or "pycrytodomex" (since #6014 ).
Previously we have been using a custom fork (of ours) of pycryptodomex,
now let's just use upstream "cryptography".
2020-04-04 01:43:00 +02:00
SomberNight
f777c9ee13
android build: update buildozer/p4a/NDK
...
- updated p4a pulls in newer openssl (old one is no longer available from openssl.org)
- old NDK no longer available (new one is what updated p4a recommends)
2020-04-04 01:42:57 +02:00
SomberNight
f412420892
include lnwire csv files in binaries (follow-up #6050 )
2020-04-04 01:40:05 +02:00
SomberNight
8e9b401c88
wizard: add a warning to multisig wallet creation to backup xpubs
2020-03-31 07:44:23 +02:00
SomberNight
79d202485e
lnworker: rename can_send to num_sats_can_send
2020-03-26 09:05:12 +01:00
ThomasV
5bac2fea98
Qt: improve channel details window
2020-03-12 12:40:50 +01:00
ThomasV
81dc2591b1
kivy: switch position/size of camera and clear buttons
2020-03-10 19:01:16 +01:00
ThomasV
df5acd1ea5
kivy: add delete button for invoices/requests
2020-03-10 17:30:08 +01:00
ThomasV
6c2ef176cc
kivy: show payment log details
2020-03-10 16:44:23 +01:00
ThomasV
d19fc56eb8
kivy: requests/invoices dialogs improvements
2020-03-10 16:03:34 +01:00
ThomasV
3d69f3b0be
improve payment status callbacks:
...
- add 'computing route' status for lightning payments
- use separate callbacks for invoice status and payment popups
- show payment error and payment logs in kivy
2020-03-10 13:27:02 +01:00
ThomasV
dd0a93abd5
kivy: update screen in on_activate, remove dead code
2020-03-09 12:19:07 +01:00
ThomasV
c80aab7e20
kivy: align icons in password_dialog, use IconButton
2020-03-09 11:51:48 +01:00
ThomasV
47b6c2d87f
improve kivy password dialog:
...
- separate classes for pin code and password
- add file selector to initial screen
2020-03-09 11:13:05 +01:00
ThomasV
25626cf23b
follow-up previous commit
2020-03-07 23:18:08 +01:00
ThomasV
958898280e
follow-up previous commit
2020-03-07 23:06:30 +01:00
ThomasV
8b79e9fed1
kivy: remove dynamic screen loading.
...
The performance gain it brings is negligible,
and it causes object duplication, which makes
things difficult to debug.
2020-03-07 22:42:17 +01:00
ThomasV
b0ddd7dc27
kivy receive screen:
...
- change behavior of delete button
- screen must call parent's methods
2020-03-07 21:06:26 +01:00
ThomasV
172b03129b
kivy: fix display of request messages
2020-03-07 15:46:20 +01:00
ThomasV
c3c6b81857
kivy: show closing transaction in channel dialog
2020-03-06 06:49:46 +01:00
ThomasV
7c77d7c176
kivy: improve channel detaild dialog
2020-03-06 05:50:45 +01:00
ThomasV
a059fa0c1f
fix #6017
2020-03-06 04:27:03 +01:00
SomberNight
942e03e3ae
kivy README: add instructions re accessing internal storage
2020-03-05 19:01:55 +01:00
SomberNight
60ad5e6a52
kivy pw dialog: don't enforce min length for existing generic password
...
this allows opening short-password wallets on desktop
2020-03-05 18:09:17 +01:00
ThomasV
496de03869
(minor) typo
2020-03-05 14:43:10 +01:00
ThomasV
0c3565bd4d
kivy: show warning if request/invoice exceeds channel capacity
2020-03-05 14:30:01 +01:00
ThomasV
e362b4b94c
kivy invoices and requests: show most recent items first
2020-03-05 13:15:32 +01:00
ThomasV
69b58433bf
kivy: Show lightning balance. Remove 'unmatured', 'unconfirmed'
...
from info dialog, as this is visible in history.
2020-03-05 13:02:17 +01:00
ThomasV
c2f9c5fb1b
kivy: fix layout of addresses dialog
2020-03-05 12:06:30 +01:00
ThomasV
eadd5d58e8
kivy: improve open_channel dialog
2020-03-05 11:54:33 +01:00
SomberNight
7962e17df6
invoices: deal with expiration of "0" mess
...
Internally, we've been using an expiration of 0 to mean "never expires".
For LN invoices, BOLT-11 does not specify what an expiration of 0 means.
Other clients seem to treat it as "0 seconds" (i.e. already expired).
This means there is no way to create a BOLT-11 invoice that "never" expires.
For LN invoices,
- we now treat an expiration of 0, , as "0 seconds",
- when creating an invoice, if the user selected never, we will put 100 years as expiration
2020-03-04 14:24:07 +01:00
SomberNight
387c2a1acd
kivy wallet info screen: handle "show seed" for watch-only/no-seed case
...
For a watch-only wallet, previously a superfluous dummy "Tap to show"
box was shown.
For a has no seed stored (but not watch-only) wallet (e.g. bip39/xprv/imported_privkeys),
the "show seed" option was there and it raised an uncaught exception.
2020-03-02 06:12:24 +01:00
SomberNight
7a574c3cbc
wallet/GUI: don't allow "removing" a LN force-close-tx from history
2020-03-02 05:11:08 +01:00
SomberNight
a0b096dcb2
mnemonic: implement Wordlist class
...
Wordlist subclasses 'tuple' so it can be transparently used.
'in' and '.index()' are fast.
Use Wordlist in bip39_is_checksum_valid, which makes that faster.
2020-02-29 00:20:11 +01:00
ThomasV
b12c913d47
do not show channel balances if channel is closed
2020-02-22 12:10:41 +01:00
SomberNight
56cb45df70
android build: fix accepting licenses
2020-02-21 20:08:32 +01:00
ThomasV
c2432aa125
kivy: set pin_code timeout to 5 minutes
2020-02-21 11:33:07 +01:00
ThomasV
570167a2c4
restrict lightning to p2wpkh wallets
2020-02-20 21:17:25 +01:00
ThomasV
238fb46d87
Lightning: Show sending and receiving capacity. Fixes #5967
2020-02-19 16:11:55 +01:00
ThomasV
b90cbeb0ba
fix flake8 test
2020-02-18 14:05:28 +01:00
ThomasV
6696f40e36
follow-up previous commit: show onchain tx dialog for channel open/close transactions
2020-02-18 13:58:17 +01:00
ThomasV
feb47b0a6f
Add lightning tx dialog (qt and kivy)
2020-02-18 13:02:18 +01:00
ThomasV
b3a3267ede
follow-up a6302b3a12
2020-02-18 12:39:18 +01:00
SomberNight
a6302b3a12
fix wallet history order: incl both on-chain and LN, sorted by time
...
GUIs now respect order of wallet.get_full_history(), which is probably the sane
thing to do, given that is the order the "balance" column is calculated in.
fixes #5958
2020-02-17 16:33:54 +01:00