SomberNight
48513df4ae
qml: NetworkOverview: show server height when syncing headers
...
for better feedback during initial header sync
2024-05-22 14:43:28 +00:00
Sander van Grieken
9d29e6e03c
qml: log error if not able to retrieve private key for address
2024-05-16 12:12:26 +02:00
Sander van Grieken
cea9055a65
wizard: fix wrong icon and icon disappearing when resuming unfinished wallet
2024-05-16 00:08:07 +02:00
Sander van Grieken
082cf6677e
qml: expose LIGHTNING_PAYMENT_BUDGET_FEE_MAX_MILLIONTHS in preferences
2024-05-09 12:31:51 +02:00
SomberNight
5b74aa443e
qt settings: expose LIGHTNING_PAYMENT_BUDGET_FEE_MAX_MILLIONTHS
...
Expose as a slider; perhaps it is less footgunny this way?
2024-05-08 15:54:20 +00:00
SomberNight
c84664617d
qml: qeinvoice: fix regression in update_userinfo
...
follow-up 3b0cdef871
```
29.60 | E | lnworker.LNWallet.[test_segwit_2] | Exception in pay_invoice: TypeError("unhashable type: 'list'")
Traceback (most recent call last):
File "/home/user/wspace/electrum/electrum/util.py", line 1153, in wrapper
return await func(*args, **kwargs)
File "/home/user/wspace/electrum/electrum/lnworker.py", line 1518, in pay_invoice
self.set_invoice_status(key, PR_INFLIGHT)
File "/home/user/wspace/electrum/electrum/lnworker.py", line 2404, in set_invoice_status
util.trigger_callback('invoice_status', self.wallet, key, status)
File "/home/user/wspace/electrum/electrum/util.py", line 1796, in trigger_callback
callback(*args)
File "/home/user/wspace/electrum/electrum/gui/qml/qeinvoice.py", line 90, in on_event_invoice_status
self.update_userinfo()
File "/home/user/wspace/electrum/electrum/gui/qml/qeinvoice.py", line 327, in update_userinfo
self.userinfo = userinfo_for_invoice_status([self.status])
File "/home/user/wspace/electrum/electrum/gui/qml/qeinvoice.py", line 305, in userinfo_for_invoice_status
return {
TypeError: unhashable type: 'list'
```
2024-05-06 18:11:31 +00:00
SomberNight
13d9677e53
transaction: tx.sign API change: rm hex usage
2024-04-29 17:10:30 +00:00
SomberNight
2f1095510c
bitcoin.py/transaction.py: API changes: rm most hex usage
...
Instead of some functions operating with hex strings,
and others using bytes, this consolidates most things to use bytes.
This mainly focuses on bitcoin.py and transaction.py,
and then adapts the API usages in other files.
Notably,
- scripts,
- pubkeys,
- signatures
should be bytes in almost all places now.
2024-04-29 17:10:26 +00:00
Sander van Grieken
3b0cdef871
qml: lightning invoice status can be one of onchain invoice states when using fallback address. ( fixes #9018 )
2024-04-24 13:37:33 +02:00
Sander van Grieken
41bb849f8a
qt: normalize wallet path before lookup in window list
2024-04-24 13:16:12 +02:00
SomberNight
96bb1611c5
follow-up plugins changes: fix qml gui
...
follow-up https://github.com/spesmilo/electrum/pull/8713
```
1.35 | E | __main__ | daemon.run_gui errored
Traceback (most recent call last):
File "/home/user/wspace/electrum/./run_electrum", line 458, in handle_cmd
d.run_gui()
File "/home/user/wspace/electrum/electrum/daemon.py", line 623, in run_gui
self.gui_object = gui.ElectrumGui(config=self.config, daemon=self, plugins=self._plugins)
File "/home/user/wspace/electrum/electrum/util.py", line 482, in do_profile
o = func(*args, **kw_args)
File "/home/user/wspace/electrum/electrum/gui/qml/__init__.py", line 82, in __init__
self.app = ElectrumQmlApplication(sys.argv, config=config, daemon=daemon, plugins=plugins)
File "/home/user/wspace/electrum/electrum/gui/qml/qeapp.py", line 428, in __init__
self.plugins.load_plugin('trustedcoin')
File "/home/user/wspace/electrum/electrum/plugin.py", line 269, in load_plugin
raise Exception(f"could not find plugin {name!r}")
Exception: could not find plugin 'trustedcoin'
```
2024-04-18 17:01:08 +00:00
ThomasV
8759928ec0
Merge pull request #9000 from SomberNight/202404_ecc_schnorr
...
ecc: add bindings for schnorr sign/verify, and refactor
2024-04-15 11:57:29 +02:00
ThomasV
c9820aeca0
Qt: add download_plugin_dialog
2024-04-13 11:35:49 +02:00
ThomasV
ad774a49be
external plugins: add methods to read image files
2024-04-13 11:35:49 +02:00
ThomasV
858d999d31
Allow external plugins
...
- borrows code brom ElectronCash
- external plugins are imported as zip files
- check hash from plugins.json file
2024-04-13 11:35:49 +02:00
SomberNight
bd9d0ccc33
ecc: refactor/clean-up sign/verify APIs
2024-04-11 15:25:45 +00:00
SomberNight
f495511886
safer os.chmod for wallet files and config: set perms before write
...
Set unix file permissions first, before writing data.
2024-04-08 14:09:00 +00:00
Sander van Grieken
79f9b499ff
qt: focus reason can't be None ( fixes #8962 )
2024-04-08 13:48:03 +02:00
ThomasV
17599de611
save notes whenever modified, using 10s rate limiter. fixes #8951
2024-03-27 16:44:31 +01:00
ThomasV
61dc8b7c85
Merge pull request #8894 from SomberNight/202402_qetxdetails_rbf_localtx
...
qml: QETxDetails: defer to wallet.get_tx_info() for rbf/cpfp
2024-03-15 11:18:03 +01:00
ThomasV
dcdbb0fb9c
Merge pull request #8909 from accumulator/qml_finalizer_options
...
qml: add tx options to ConfirmTxDialog, RbfBumpFeeDialog
2024-03-15 10:46:33 +01:00
SomberNight
01155ac6f5
swaps: homogenise gui messages
...
see https://github.com/spesmilo/electrum/issues/8940
2024-03-13 13:52:40 +00:00
ThomasV
c6802adbae
qt wizard: set focus on next_button
2024-03-01 16:42:16 +01:00
SomberNight
d6ef53dfab
qt: fix some strings for localization
...
closes https://github.com/spesmilo/electrum/issues/8919
2024-02-28 13:40:01 +00:00
Sander van Grieken
d0c37c6e33
qml: refactor help text in CpfpBumpFeeDialog, move most to help text popup
2024-02-23 11:11:12 +01:00
Sander van Grieken
a9282c0e36
qml: add tx options to ConfirmTxDialog, RbfBumpFeeDialog
2024-02-23 10:31:40 +01:00
Sander van Grieken
b0227c7e03
qml: add HelpDialog and HelpButton for showing additional info
2024-02-23 10:28:11 +01:00
SomberNight
5e472117df
gui: more hardcoded bytes vs vbytes strings
...
follow-up a9a8ed2eb4
2024-02-22 17:40:35 +00:00
ghost43
7da3613b12
Merge pull request #8906 from accumulator/old_2fa_passphrase
...
wizard: skip/hide passphrase option for 'old' and '2fa' seeds (see #4326 )
2024-02-21 17:03:43 +00:00
accumulator
d52e36e29e
Merge pull request #8846 from SomberNight/202401_gui_text_vendor_pyperclip
...
dependencies: vendor "pyperclip" pkg, used by text gui
2024-02-21 17:30:19 +01:00
Sander van Grieken
8ce1e6453b
wizard: skip/hide passphrase option for 'old' and '2fa' seeds (see #4326 )
2024-02-21 17:15:10 +01:00
SomberNight
8ab3dcce5d
keystore: API changes for from_seed/from_bip43_rootseed/bip39_to_seed
...
- force kwargs
- add type hints
2024-02-21 15:08:19 +00:00
ThomasV
e2db5ca2ef
Merge pull request #8871 from SomberNight/202402_slip19_trezor
...
support SLIP-19 ownership proofs, for trezor-based Standard_Wallets
2024-02-21 13:06:28 +01:00
SomberNight
a749fd7789
qt tx_dialog: share btn: add option to add slip-19 ownership proofs
2024-02-21 11:58:52 +00:00
SomberNight
b7ed016f3c
qt tx_dialog: share btn: replace nested menus with checkboxes
...
Incidentally, the checkboxes are using the config, so their state is persisted.
2024-02-21 11:56:18 +00:00
Sander van Grieken
dc3ff908b8
followup prev
2024-02-21 12:03:37 +01:00
Sander van Grieken
d12ce00417
followup prev
2024-02-21 11:28:42 +01:00
Sander van Grieken
6d2dfc9759
android: limit size of text pasted from clipboard, to avoid TransactionTooLargeException
...
https://developer.android.com/reference/android/os/TransactionTooLargeException.html
2024-02-21 11:22:00 +01:00
Sander van Grieken
de9c0249c7
qml: icons, styling
2024-02-19 14:38:29 +01:00
Sander van Grieken
2b95223e2b
qml: handle invoice removed from backend from qeinvoicelistmodel status update timer ( fixes #8898 )
2024-02-19 10:48:24 +01:00
Sander van Grieken
ef87fbd3e5
payment_identifier: return onchain invoice when GUI requests MAX amount ( fixes #8900 )
2024-02-19 10:35:55 +01:00
ghost43
e11d7b37f2
Merge pull request #8865 from SomberNight/202402_server_bookmarks
...
network: implement basic "add server as bookmark" functionality
2024-02-16 12:06:18 +00:00
accumulator
1b75e3883e
Merge pull request #8845 from accumulator/feepicker
...
qml: consolidate fee slider ui in various places to a single FeePicker control
2024-02-16 13:01:34 +01:00
Sander van Grieken
016e500993
qml: FeePicker parameterize enable display of tx info and picker, use this for CPFP
...
to put picker in Total section
2024-02-16 12:56:18 +01:00
Sander van Grieken
c0b892720e
qml: consolidate fee slider ui in various places to a single FeePicker control
2024-02-16 10:09:56 +01:00
SomberNight
87dd74d45c
qml: QETxDetails: defer to wallet.get_tx_info() for rbf/cpfp
...
It might make sense to allow bump_fee on a local tx, and so wallet.get_tx_info() allows it.
For dscancel/cpfp, it does not allow it either. Still, I think this logic should be encapsulated in the wallet.
2024-02-15 16:40:55 +00:00
ghost43
5582b753e5
Merge pull request #8881 from accumulator/qobject_test
...
add a simple test framework for testing QObjects and their signal/slot mechanism
2024-02-15 14:46:50 +00:00
SomberNight
fffbc178cd
qt wizard: hww dialogs: log some exceptions more aggressively
...
sort of related: https://github.com/spesmilo/electrum/issues/8892
2024-02-14 09:05:21 +00:00
SomberNight
7cf22d4b9f
coldcard: wallet info dlg: fix missing "Export for Coldcard" btn
...
regression from 711a325085
```
47.97 | E | plugin | Plugin error. plugin: coldcard, hook: wallet_info_buttons
Traceback (most recent call last):
File "...\electrum\electrum\plugin.py", line 261, in run_hook
r = f(*args)
File "...\electrum\electrum\plugins\hw_wallet\plugin.py", line 344, in wrapper
return func(self, *args, **kwargs)
File "...\electrum\electrum\plugins\coldcard\qt.py", line 51, in wallet_info_buttons
wallet = main_window.wallet
AttributeError: 'WalletInfoDialog' object has no attribute 'wallet'
```
2024-02-13 13:35:19 +00:00
Sander van Grieken
66af6e6239
send_tab: set tab changes focus for multiline edit
...
ref #8889
2024-02-13 13:00:11 +01:00