1
0
Commit Graph

5337 Commits

Author SHA1 Message Date
ThomasV
47c480be49 check_scriptpubkey_template_and_dust: support anysegwit. fix #8012 2022-10-12 10:06:56 +02:00
ghost43
b619e2b3af Merge pull request #8003 from SomberNight/202210_android_debug_logs
android: add setting to enable debug logs
2022-10-10 19:03:52 +00:00
SomberNight
174cbde762 kivy: window.request_focus_for_main_view: fix compat with newer pyjnius
```
Traceback (most recent call last):
  File "kivy/_clock.pyx", line 645, in kivy._clock.CyClockBase._process_events
  File "kivy/_clock.pyx", line 218, in kivy._clock.ClockEvent.tick
  File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/uix/dialogs/password_dialog.py", line 227, in <lambda>
  File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/uix/dialogs/password_dialog.py", line 333, in <lambda>
  File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/main_window.py", line 721, in on_open_wallet
  File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/main_window.py", line 687, in on_wizard_success
  File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/util.py", line 445, in <lambda>
  File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/util.py", line 441, in do_profile
  File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/main_window.py", line 940, in load_wallet
  File "/home/user/wspace/electrum/.buildozer_kivy/android/app/electrum/gui/kivy/main_window.py", line 950, in request_focus_for_main_view
  File "jnius/jnius_export_class.pxi", line 844, in jnius.jnius.JavaMethod.__call__
jnius.jnius.JavaException: Cannot call instance method b'requestFocusForMainView' on class b'org/kivy/android/PythonActivity'
```
2022-10-10 14:43:43 +00:00
SomberNight
34b594ea40 android: add setting to enable debug logs
If enabled, we log to stderr, which can get inspected via logcat.
Not user-friendly at all - but previously there was no way to get logs from a release build.

closes https://github.com/spesmilo/electrum/issues/7409
2022-10-07 20:28:52 +00:00
Sander van Grieken
685f32750c qml: ui 2022-10-05 18:00:51 +02:00
Sander van Grieken
488600788e qml: open invoices list after saving invoice, add invoice to model instead of reloading the whole list 2022-10-05 11:07:40 +02:00
Sander van Grieken
090706bfd6 qml: fix crashes on tx finalizing 2022-10-04 21:51:55 +02:00
Sander van Grieken
2118eb57bd qml: follow-up de83a10c20 2022-10-04 16:35:28 +02:00
Sander van Grieken
de83a10c20 qml: restore Save button in InvoiceDialog, restore invoice list view, now from menu 2022-10-04 16:33:22 +02:00
Sander van Grieken
6dab3de1f2 qml: start new wallet wizard if no wallets exist, create/open button opens wizard if no wallets exist 2022-10-04 15:09:37 +02:00
Sander van Grieken
8184093a34 qml: start new wallet wizard immediately after network wizard on initial start 2022-10-04 14:34:48 +02:00
Sander van Grieken
dff435a745 qml: expose use_recoverable_channels in config/preferences 2022-10-04 14:20:46 +02:00
Sander van Grieken
e5951bbd2d qml: expose RbF in config/preferences 2022-10-04 14:14:03 +02:00
Sander van Grieken
98c747ea6e qml: use -w command line parameter to open wallet, if specified 2022-10-04 12:35:07 +02:00
ThomasV
8867387847 lnworker: fix stuck payment loop (fixes #7995)
If the short_channel_id of a channel update received
with update_fail_htlc does not match the channel in
our route, blacklist the channel in our route.
2022-10-04 10:51:18 +02:00
Sander van Grieken
f9156912a3 qml: move balancesummary to controls/ 2022-10-04 10:42:26 +02:00
Sander van Grieken
b4d13ffb41 qml: show balance summary on top 2022-10-04 10:42:26 +02:00
ThomasV
ff5ba7cca4 rbf: fix issues with bump_frr_through_decreasing_change
- break from loop if target is reached
- recompute delta if there is no next iteration.
2022-10-04 10:23:58 +02:00
Sander van Grieken
54b69348f4 qml: scroll-drag in history, fix a few more assumptions w.r.t positioning of listview and size of indicator 2022-10-03 17:36:38 +02:00
Sander van Grieken
ce068eb8fc qml: no need for an active wallet to access server/proxy settings 2022-10-03 11:40:43 +02:00
Sander van Grieken
5a64d62b24 qml: lnurl comment only when allowed by server 2022-09-30 14:48:24 +02:00
Sander van Grieken
8538bfe49b qml: add lnurl-pay comment feature 2022-09-30 14:40:35 +02:00
Sander van Grieken
68b630a2e9 qml: unify dialog headers 2022-09-30 14:37:14 +02:00
Sander van Grieken
e73993dba5 lnurl: add support for comments (LNURL12) 2022-09-30 14:01:18 +02:00
Sander van Grieken
fd791f4fb1 qml: make request types clickable, some fixes 2022-09-30 09:27:55 +02:00
Sander van Grieken
ae15c0527b qml: expose bolt11_fallback in preferences 2022-09-29 13:18:13 +02:00
ThomasV
552300dc89 follow-up previous commit 2022-09-29 12:13:22 +02:00
ThomasV
4366055ada Remove old trampoline compatibility bits from invoices
bits 50/51 are now used on the network (as option_zeroconf)
2022-09-29 12:06:49 +02:00
Sander van Grieken
95b2f6fd63 qml: use Lightning, URI and Address for type names in ReceiveDialog 2022-09-29 11:57:34 +02:00
Sander van Grieken
8437e13666 add initial lnurl-pay 2022-09-28 18:21:07 +02:00
Sander van Grieken
2778a1bc20 fix dialog stack handling when closing from outside 2022-09-28 18:21:07 +02:00
Sander van Grieken
d65a7e7efc change address-only handling: create amount=0 onchain invoice
invoicedialog auto enables edit mode when amount is 0
2022-09-28 18:21:07 +02:00
Sander van Grieken
fb68931a8d allow zero amount invoices, add edit amount option for invoices 2022-09-28 18:21:07 +02:00
Sander van Grieken
5f9068d7b0 add default request expiry to preferences/config 2022-09-28 18:21:07 +02:00
Sander van Grieken
dd58328534 ui, fix payment failed 2022-09-28 18:21:07 +02:00
Sander van Grieken
d50d83e186 icons, buttons, receivedialog lifecycle 2022-09-28 18:21:07 +02:00
Sander van Grieken
10a1f11a53 re-add copy and share buttons 2022-09-28 18:21:07 +02:00
Sander van Grieken
b963c48238 remove old Send and Receive pages 2022-09-28 18:21:07 +02:00
Sander van Grieken
58e3e0c235 add manual input option 2022-09-28 18:21:07 +02:00
Sander van Grieken
cabf8e0644 support stacking dialogs 2022-09-28 18:21:07 +02:00
Sander van Grieken
d4df633f22 move request details into separate dialog 2022-09-28 18:21:07 +02:00
Sander van Grieken
15c76114c6 replace swipeview, send & receive now dialogs
send mostly working, though no user entered payment yet
2022-09-28 18:21:07 +02:00
Sander van Grieken
0f02c54c77 qml: fix qerequestdetails.py signal, remove qr scan loop logging 2022-09-27 10:01:20 +02:00
SomberNight
d94c934e47 qt main_window: _coroutines_scheduled needs locking
window.run_coroutine_from_thread starts a coroutine on the asyncio loop,
which, when finishing, pops from the dict.
The for loop in clean_up is running on the Qt thread.

fixes https://github.com/spesmilo/electrum/issues/7983
2022-09-26 20:10:44 +00:00
ThomasV
e138b02bac prepare release 4.3.2 2022-09-26 20:13:45 +02:00
ThomasV
60e2ad4316 follow-up 444dc7fb7f 2022-09-26 18:28:02 +02:00
Arian Ventura Rodríguez
7de1c604c6 Add yadio.io api to exchange rate 2022-09-26 17:11:08 +02:00
ThomasV
444dc7fb7f wallet: fix race condition that inhibits proper call of set_up_to_date 2022-09-26 17:02:30 +02:00
SomberNight
1478d9d878 Qt CompletionTextEdit: cast KeyboardModifiers to int
closes https://github.com/spesmilo/electrum/issues/7979
2022-09-23 17:08:16 +00:00
SomberNight
9ed5b092e4 coinchooser: (trivial) add some type hints 2022-09-23 16:37:35 +00:00