SomberNight
564036e71d
build: partial rerun freeze_packages
2 years ago
SomberNight
2ca180ddee
bump libsecp256k1 version
2 years ago
accumulator
d52e36e29e
Merge pull request #8846 from SomberNight/202401_gui_text_vendor_pyperclip
...
dependencies: vendor "pyperclip" pkg, used by text gui
2 years ago
SomberNight
d7b0260534
requirements: bump min aiohttp-socks to 0.8.4
...
This version has the bugfix for https://github.com/romis2012/aiohttp-socks/issues/27
see 80e330d365
2 years ago
Sander van Grieken
8ce1e6453b
wizard: skip/hide passphrase option for 'old' and '2fa' seeds (see #4326 )
2 years ago
SomberNight
d18496c563
license: add copyright headers
2 years ago
SomberNight
8ab3dcce5d
keystore: API changes for from_seed/from_bip43_rootseed/bip39_to_seed
...
- force kwargs
- add type hints
2 years ago
SomberNight
96f28607f2
keystore: "old"-type seeds cannot have a passphrase
...
related: https://github.com/spesmilo/electrum/pull/8906
2 years ago
Sander van Grieken
da1727b2f7
trustedcoin: validate numeric format of OTP user entry ( fixes #8905 )
2 years ago
ThomasV
9799603779
Merge pull request #8888 from SomberNight/202402_jsonrpc_errors
...
cli/rpc: nicer error messages and error-passing
2 years ago
ThomasV
e2db5ca2ef
Merge pull request #8871 from SomberNight/202402_slip19_trezor
...
support SLIP-19 ownership proofs, for trezor-based Standard_Wallets
2 years ago
SomberNight
a749fd7789
qt tx_dialog: share btn: add option to add slip-19 ownership proofs
2 years ago
SomberNight
b7ed016f3c
qt tx_dialog: share btn: replace nested menus with checkboxes
...
Incidentally, the checkboxes are using the config, so their state is persisted.
2 years ago
SomberNight
0925f15280
wallet/keystore: add apis for "add_slip_19_ownership_proofs_to_tx"
...
- implement it specifically for the "singlesig trezor" case
- aimed to be generic enough that support for more complex scripts
and other keystores could be added later
2 years ago
Sander van Grieken
dc3ff908b8
followup prev
2 years ago
Sander van Grieken
d12ce00417
followup prev
2 years ago
Sander van Grieken
6d2dfc9759
android: limit size of text pasted from clipboard, to avoid TransactionTooLargeException
...
https://developer.android.com/reference/android/os/TransactionTooLargeException.html
2 years ago
Sander van Grieken
de9c0249c7
qml: icons, styling
2 years ago
SomberNight
27bb28e35b
tests: follow-up move of folder
...
follow-up https://github.com/spesmilo/electrum/pull/8897
2 years ago
Sander van Grieken
6ecbb8eb3f
tests: add test for payment_identifier.invoice_from_payment_identifier()
2 years ago
accumulator
d968c6245c
Merge pull request #8897 from accumulator/move_tests_to_root
...
tests: move /electrum/tests to /tests
2 years ago
Sander van Grieken
2b95223e2b
qml: handle invoice removed from backend from qeinvoicelistmodel status update timer ( fixes #8898 )
2 years ago
Sander van Grieken
ef87fbd3e5
payment_identifier: return onchain invoice when GUI requests MAX amount ( fixes #8900 )
2 years ago
Sander van Grieken
4c6421e162
tests: fix CI regtest new path
2 years ago
Sander van Grieken
0faf6928c0
tests: explicit sync on self.app instance ready and make sure _testcase_event is cleared before
...
QMetaObject.invokeMethod as that can race if it gets inadvertently executed synchronously.
2 years ago
Sander van Grieken
73fee69f5c
tests: move /electrum/tests to /tests
2 years ago
ghost43
e11d7b37f2
Merge pull request #8865 from SomberNight/202402_server_bookmarks
...
network: implement basic "add server as bookmark" functionality
2 years ago
accumulator
1b75e3883e
Merge pull request #8845 from accumulator/feepicker
...
qml: consolidate fee slider ui in various places to a single FeePicker control
2 years ago
Sander van Grieken
016e500993
qml: FeePicker parameterize enable display of tx info and picker, use this for CPFP
...
to put picker in Total section
2 years ago
Sander van Grieken
c0b892720e
qml: consolidate fee slider ui in various places to a single FeePicker control
2 years ago
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.
2 years ago
Sander van Grieken
57270e3bf3
tests: qt_util: disable timer in qt testcases
2 years ago
Sander van Grieken
d8654361af
peer_wire.csv: remove msgtype gossip_queries options, as the extract-formats.py tool
...
does not generate these anymore since aad959a297
2 years ago
SomberNight
ea4481a8dd
android readme: de-dupe "qml_gui" requirements
...
follow-up https://github.com/spesmilo/electrum/pull/8881
2 years ago
ghost43
5582b753e5
Merge pull request #8881 from accumulator/qobject_test
...
add a simple test framework for testing QObjects and their signal/slot mechanism
2 years ago
ghost43
1d0706abd8
Merge pull request #8778 from SomberNight/202312_ci_py312
...
ci: also run unit tests with python 3.12
2 years ago
SomberNight
9a6ec61647
ci: also run unit tests with python 3.12
2 years ago
SomberNight
79d88dcb5f
lnpeer: fix timing issue in reest_chan, for replaying unacked updates
...
We must not process incoming updates for a given channel until we ~finished reestablishing it.
Consider both parties have some unacked updates they want to replay during reestablish.
If Bob reacts to Alice's replayed stuff before he himself replays his stuff, madness ensues.
I think this should fix the remaining part of https://github.com/spesmilo/electrum/pull/8778
(timing issues when running the unit tests with py3.12)
2 years ago
ghost43
697968bcbb
Merge pull request #7835 from SomberNight/202205_lnpeer_async_process_message
...
lnpeer: make `process_message` async
2 years ago
Sander van Grieken
a626d1bf42
tests: add test for QEAmount(from_invoice=..) and (m)satsStr properties
2 years ago
SomberNight
45e08ada61
lnpeer: make process_message async
...
This allows making any message handler async in lnpeer.
Note: `process_message` is only called from `_message_loop`.
There are(would be) basically three types of message handlers:
1. "traditional blocking msg handlers". non-async ones. When these handlers are called, `process_message` naturally blocks until the handler returns, which means `_message_loop` also blocks until the message is fully processed before starting the next iteration.
2. "async blocking msg handlers". async ones where we want the previous property, i.e. we want the `_message_loop` to wait until the handler finishes. We await the handler inside `process_message`, and `_message_loop` awaits `process_message`.
3. "async non-blocking msg handlers". async message handlers that can be spawned e.g. onto `Peer.taskgroup` and the loop is free to start processing subsequent messages. e.g. msg handlers that start a negotiation, such as `on_shutdown` and `on_open_channel`.
Any non-async message handler (`def on_...`) automatically goes into category 1.
An async message handler, by default, goes into category 2, "blocking";
to go into category 3 ("non-blocking"), we use the `runs_in_taskgroup` function decorator.
2 years ago
Sander van Grieken
643fbecc15
wizard: fix co-signing hardware wallets data incorrectly referenced
2 years ago
SomberNight
6172898a03
trezor: minor things for better model "safe 3" support
2 years ago
SomberNight
fffbc178cd
qt wizard: hww dialogs: log some exceptions more aggressively
...
sort of related: https://github.com/spesmilo/electrum/issues/8892
2 years ago
SomberNight
130baf13c8
trezor: show descriptive error if trying to init device without fw
...
closes https://github.com/spesmilo/electrum/issues/8892
2 years ago
SomberNight
46ce5d0f3d
wizard: (trivial) follow-up prev
2 years ago
SomberNight
638fdf114e
wizard: don't log sensitive values: replace blacklist with whitelist
...
- blacklist was missing yet another item "multisig_master_pubkey"
- let's just do a whitelist. a blacklist is too risky for my liking here.
2 years ago
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'
```
2 years ago
Sander van Grieken
66af6e6239
send_tab: set tab changes focus for multiline edit
...
ref #8889
2 years ago
Sander van Grieken
b3bce0299f
send_tab: fix tab order #8889
2 years ago