ThomasV
e99a38e538
on_payment_succeeded: show description
2020-06-17 10:37:22 +02:00
ThomasV
661ecb2cf5
add help text to channel backup QR code
2020-06-16 18:48:04 +02:00
ThomasV
4004b8085f
kivy on_resume: check self.has_pin_code()
2020-06-06 13:34:40 +02:00
ThomasV
1429c5b2bf
(minor) fix missing parameter to PincodeDialog
2020-06-06 13:19:00 +02:00
ThomasV
88bb5309c4
Fix issue #6201 :
...
- Pass a proper callback to WalletDialog
(we used to call load_wallet_by_name recursively)
- Do not cache PasswordDialog instances
2020-06-04 19:17:58 +02:00
ThomasV
6058829870
Use attr.s classes for invoices and requests:
...
- storage upgrade
- fixes #6192
- add can_pay_invoice, can_receive_invoice to lnworker
2020-06-01 21:02:45 +02:00
ThomasV
959af0065b
follow-up previous commit: cleanup imports
2020-05-26 16:06:15 +02:00
ThomasV
1c436bbc22
move units and amount formatting to simple_config
2020-05-26 15:49:28 +02:00
SomberNight
937c0f36ae
kivy: fix some bugs when paying 'max'
...
fixes : #6164
2020-05-15 20:00:56 +02:00
SomberNight
eba3fa03ee
kivy: confirm all actions even if there is no PIN set
...
eh.. I've just consolidated hundreds of testnet UTXOs by accident
2020-05-15 19:11:31 +02:00
SomberNight
6d1acc929a
kivy: fix "choose from peers" in network server-select popup
...
follow-up 9e57ae630b
fixes #6161
2020-05-13 19:05:07 +02:00
SomberNight
bf223470ce
network: handle unparseable server-str
...
follow-up 9e57ae630b
fixes #6113
2020-04-25 06:53:25 +02:00
SomberNight
9e57ae630b
network/gui: unify host/port input fields to single server str
...
This allows optionally specifying the protocol for the main server.
fixes #6095
fixes #5278
2020-04-16 21:19:48 +02:00
SomberNight
b2cfaddff2
network.NetworkParameters: merge host+port+protocol into "server" field
2020-04-16 21:19:45 +02:00
ThomasV
9224404108
Move callback manager out of Network class
2020-04-14 18:29:51 +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
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
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
958898280e
follow-up previous commit
2020-03-07 23:06:30 +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
0c3565bd4d
kivy: show warning if request/invoice exceeds channel capacity
2020-03-05 14:30:01 +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
c2432aa125
kivy: set pin_code timeout to 5 minutes
2020-02-21 11:33:07 +01:00
ThomasV
feb47b0a6f
Add lightning tx dialog (qt and kivy)
2020-02-18 13:02:18 +01:00
ThomasV
4dc74870e1
Catch exceptions raised in LNWorker._pay_to_route
...
Reset payment status if an exception is caught.
Also, do not pass status to the 'invoice_status' network callback.
This fixes #5869 , #5870 , #5964 .
2020-02-17 12:33:43 +01:00
ThomasV
098af02789
kivy: pass message to password_dialog (follow-up d9172ade71
)
2020-02-17 09:16:29 +01:00
ThomasV
eb28f57051
(minor) kivy: initialize invoice_popup
2020-02-16 19:32:18 +01:00
ThomasV
e3ccfe6449
kivy: make backups optional
2020-02-15 17:26:03 +01:00
ThomasV
d9172ade71
kivy: use password + pin_code
...
- password is per wallet, is retained in memory
- pin code is saved in config
2020-02-15 17:09:09 +01:00
SomberNight
497d6019e1
kivy/android: ask for STORAGE permission at runtime
2020-02-15 16:28:15 +01:00
ThomasV
d5dc8d1ab2
kivy: save pin code in memory
2020-02-15 16:28:15 +01:00
ThomasV
2dad87cbb4
Automate backups:
...
- backup wallet file on each channel creation
- on android, a backup password is entered in settings
- on desktop, the backup path is in settings
2020-02-15 16:28:15 +01:00
ThomasV
87b7d2c0c0
wallet backup function for kivy/android
2020-02-15 16:28:15 +01:00
SomberNight
5d8d8f743a
kivy: more reliable saving of "last wallet"
...
The intended behaviour is that when the user launches the app,
the wallet we try to open is the wallet most recently opened by the user.
The old code in 'on_stop' in practice only got called if the user exited via
repeatedly pressing the system 'back' button.
related #5952
2020-02-13 03:12:32 +01:00
ThomasV
e1ce3aace7
Separate db from storage
...
- storage is content-agnostic
- db and storage are passed to wallet contructor
2020-02-10 17:45:23 +01:00
SomberNight
96fa03c11b
fix paying bip70 payment request with Kivy GUI
2019-12-31 03:37:50 +01:00
SomberNight
02baae10d7
kivy: implement opening storage-encrypted wallet files
2019-12-17 18:39:52 +01:00
SomberNight
20bbe85bce
receive requests: encode lightning invoices as uppercase -> smaller QRs
...
By encoding bolt11 invoices as uppercase text in QR codes,
we can use the alphanumeric mode, which results in non-negligibly smaller QR codes.
2019-12-07 05:58:58 +01:00
SomberNight
8dbbc21aff
wallet: better (outgoing) invoice "paid" detection
...
- no more passing around "invoice" in GUIs, invoice "paid" detection is now handled by wallet logic
- a tx can now pay for multiple invoices
- an invoice can now be paid by multiple txs (through partial payments)
- new data structure in storage: prevouts_by_scripthash
- type: scripthash -> set of (outpoint, value)
- also, storage upgrade to build this for existing wallets
2019-11-29 15:06:16 +01:00
SomberNight
4057140e6a
lightning qr codes: more robust parsing
...
kivy qr code handling did not accept "lightning:" prefix or uppercase
2019-11-20 03:21:59 +01:00
SomberNight
27df235c26
transactions: reading QR codes: clean-up and accept all encodings
2019-11-07 06:33:15 +01:00
SomberNight
bafe8a2fff
integrate PSBT support natively. WIP
2019-11-04 22:24:36 +01:00
ThomasV
7b5869c7bc
kivy:
...
- simplify menu
- add lightning network dialog
2019-10-25 16:46:52 +02:00
ThomasV
a0ec2690cf
Call wallet.set_paid after onchain broadcast. Check if invoices are expired in util.get_request_status
2019-10-23 17:33:46 +02:00
ThomasV
aac0fe9ae6
kivy: show status with color. show inflight attempts.
2019-10-22 15:41:45 +02:00
ThomasV
576fbbd074
kivy: minor fixes
2019-10-22 11:59:16 +02:00
ThomasV
3af7920b63
fix typo
2019-10-14 12:02:04 +02:00
ThomasV
1b0521cabd
kivy: toggle lightning dialog
2019-10-14 11:59:04 +02:00