Sander van Grieken
d6a6f56ddf
qml: add ice crystal icon and use for (un)freeze buttons.
2023-11-02 13:06:48 +01:00
Sander van Grieken
4671c002c9
qt: fix detected account select ( #8673 )
2023-11-02 12:49:31 +01:00
ThomasV
e8f5aa50ca
Merge pull request #8653 from accumulator/addresses_coins_filter
...
qml: also show coins in Addresses page, and add a few filter options.…
2023-11-02 12:36:24 +01:00
Sander van Grieken
6ce8a583fd
qt: add missing case for on-chain fallback for BIP21 payment identfier containing lightning invoice
2023-11-02 10:24:37 +01:00
Sander van Grieken
c694415b4b
qml: add addresslist filter persistence
2023-11-01 18:23:16 +01:00
Sander van Grieken
e88cf0a683
qml: addresses list formatting, add txid/outpoint and amount to filter
2023-11-01 17:17:16 +01:00
Sander van Grieken
cf91d2e5cc
qml: also show coins in Addresses page, and add a few filter options. Additionally, long press
...
now activates multi-select mode, and add action to (un)freeze selection.
2023-11-01 14:32:38 +01:00
Sander van Grieken
af61b9d86b
qml: also add share option for fallback address in InvoiceDialog
2023-11-01 11:38:47 +01:00
Sander van Grieken
6c51927576
qml: emit error when bip21 contains neither an address nor a lightning invoice ( fixes #8662 )
2023-11-01 02:54:19 +01:00
SomberNight
711a325085
main_window: split out "walet info" dlg into separate file
...
- no semantic changes, only moving code
- the change in qt/util.py is to avoid GC issues
- due to moving code, the group was moving out of scope and getting GC-ed,
as we only keep a reference to the vbox
(idea from 263fb2ba33 )
2023-10-31 17:41:11 +00:00
SomberNight
3060372894
qt wizard: WCHaveMasterKey: use check_multisig_constraints
...
These checks were missing from validation. e.g. duplicate master keys were allowed.
2023-10-31 17:43:15 +01:00
SomberNight
4b2d8f062c
qt wizard: fix WCHaveMasterKey for first multisig cosigner
...
fixes https://github.com/spesmilo/electrum/issues/8665
2023-10-31 17:43:15 +01:00
SomberNight
7df057aaf9
qt wizard: simplify WCHaveSeed
2023-10-31 17:43:15 +01:00
ThomasV
120faa480e
If trampoline is enabled, do not add non-trampoline nodes to invoices
...
Rationale: The sender should not assume that they share the same list of
hardcoded trampolines as the receiver.
2023-10-29 16:21:25 +01:00
Sander van Grieken
4d60432064
qml: add share option for address in InvoiceDialog
2023-10-29 12:33:25 +01:00
SomberNight
097a10f84d
qt: window.how_lightning_invoice: routing_e should be read-only
2023-10-27 14:24:16 +00:00
SomberNight
abe700167f
qt send tab: HelpLabel for "pay to" field: update text
...
- maybe make it more readable
- mention new syntax for raw scripts
- see 3ff588049e
2023-10-24 16:47:05 +00:00
SomberNight
66e2c779ea
Merge remote-tracking branch 'remotes/sombernight/202310_merge_duplicate_outputs'
...
see https://github.com/spesmilo/electrum/pull/8474
2023-10-24 14:51:51 +00:00
SomberNight
227e257444
(follow-up) wallet: add option to merge duplicate tx outputs
2023-10-24 14:41:39 +00:00
Sander van Grieken
eb676b3dc1
qml: don't show error when textfield is empty, don't log error when optional propert is undefined
2023-10-23 15:30:56 +02:00
SomberNight
22a8348303
renames: use consistent naming of cltv delta vs cltv abs
...
to avoid confusing relative vs absolute cltvs
(see b0401a6386 )
2023-10-19 16:40:05 +00:00
ThomasV
8d5f9185a4
follow-up #8646
2023-10-14 10:13:27 +02:00
Sander van Grieken
b20a4b9bf1
qml: increase font on seed keyboard, and height of seedkeyboard slightly
2023-10-13 13:42:16 +02:00
Sander van Grieken
8c4532c5cb
qml: properly show warnings in info box in RbfBumpFeeDialog
2023-10-12 16:22:51 +02:00
Sander van Grieken
941f425ff5
qml: update invoice.canPay on channel state changes
...
This re-evaluates invoice.canPay when channels get connected/disconnected (enables/disables Pay button)
2023-10-12 15:53:15 +02:00
Sander van Grieken
8dbb2e0c33
qml: remove eye icon for watch-only wallets from toolbar
2023-10-12 15:17:16 +02:00
SomberNight
57d2efc88d
wallet: merge mktx and create_transaction
2023-10-10 17:45:26 +00:00
ThomasV
e882856d4f
Merge pull request #8646 from accumulator/load_wallet_refactor
...
daemon: refactor load_wallet
2023-10-10 19:33:20 +02:00
SomberNight
65394c37d5
wallet.make_unsigned_transaction: add batch_rbf/send_change params
...
Don't side-effect config just to modify the next call of make_unsigned_transaction >.<
Cleaner to pass parameters.
2023-10-10 17:13:18 +00:00
Sander van Grieken
7ca9b735d5
daemon: refactor load_wallet to not just return None, but raise specific exceptions.
...
The following exceptions should be expected:
FileNotFoundError: given wallet path does not exist
StorageReadWriteError: given file is not readable/writable or containing folder is not writable
InvalidPassword: wallet requires a password but no password or an invalid password was given
WalletFileException: any internal wallet data issue. specific subclasses can be caught separately:
- WalletRequiresSplit: wallet needs splitting (split_data passed in Exception)
- WalletRequiresUpgrade: wallet needs upgrade, and no upgrade=True was passed to load_wallet
- WalletUnfinished: wallet file contains an action and needs additional information to finalize. (WalletDB passed in exception)
Removed qml/qewalletdb.py
This patch also fixes load_wallet calls in electrum/scripts and adds a qml workaround for dialogs opening and closing so
fast that the dialog opened==true property change is missed (which we need to manage the dialog/page stack)
2023-10-10 17:42:07 +02:00
SomberNight
63143307f1
config: follow-up rename of FEE_EST_STATIC_FEERATE
...
follow-up 455167136d
2023-10-10 12:11:45 +00:00
Sander van Grieken
cbcafe8960
qml: remove redundant WalletDB, closes #8628
2023-10-06 12:06:00 +02:00
Sander van Grieken
e4f9cfb1cc
qt: clipboard might have been changed after show menu. add check. fixes #6526
2023-10-06 11:13:16 +02:00
Sander van Grieken
9ed5f7bf43
qml: don't show "select server automatically" checkbox in network setup wizard
2023-10-05 11:01:29 +02:00
Sander van Grieken
f7bf4e146d
payment_identifier: move adding openalias to contacts out of _do_resolve.
...
This fixes "cannot pickle '_thread.RLock' object" when paying from Contacts tab
2023-10-03 11:42:12 +02:00
Sander van Grieken
67b0fa2047
qml: add extra parent_fee check. fixes #8634
2023-10-02 09:29:46 +02:00
Sander van Grieken
b12c3233e5
qml: followup 5acfe418079dbc9935cf9576e50ae2c8c841e301; don't save expiry Never as default.
2023-09-30 14:45:42 +02:00
Sander van Grieken
b8b5dab68a
qml: properly return when current wallet is selected from wallets list
2023-09-30 14:43:11 +02:00
ThomasV
5acfe41807
qml: add never-expiring requests. fixes #8631
2023-09-30 09:46:16 +02:00
ThomasV
9ebae958dc
text gui: fix WalletDB
2023-09-30 09:34:34 +02:00
Alef Farah
cf4590bee3
fix recv for text gui
2023-09-29 17:35:42 -03:00
ThomasV
98cecb305e
jsondb: raise an exception if a daemon thread attempts to write
2023-09-28 18:33:56 +02:00
ThomasV
1af6972d03
Merge pull request #8493 from spesmilo/jsonpatch_new
...
partial-writes using jsonpatch
2023-09-28 09:23:14 +02:00
Sander van Grieken
e5e1e46b7b
qml: add message sign/verify
2023-09-26 11:28:55 +02:00
Sander van Grieken
b846eabb70
qml: clicking on one of your own addresses on TxDetails page now takes you to AddressDetails page.
2023-09-25 17:53:18 +02:00
Sander van Grieken
05a34fbe24
qml: tap-on-background now removes focus, allowing convenient way to hide keyboard
2023-09-25 16:58:27 +02:00
ThomasV
35a86ec5aa
qt console history: ensure partial writes
2023-09-24 12:24:21 +02:00
SomberNight
4978d40956
qt gui __init__: restore import order - raise pyqt5 missing early
...
follow-up https://github.com/spesmilo/electrum/pull/8560
2023-09-24 02:31:25 +00:00
ThomasV
4cc3c704b2
QML: Check passwords with WalletDB instances that have no storage,
...
to avoid unwanted side effects.
In qedaemon, call load_wallet with upgrade=True when loading a
wallet. Apparently, this was not done before; db upgrades were
performed as a side-effect of password verification...
2023-09-23 15:15:48 +02:00
ThomasV
56e80c20d7
wallet_db upgrade: do not use '/' in StoredDict keys
2023-09-23 11:05:36 +02:00