1
0
Commit Graph

15268 Commits

Author SHA1 Message Date
SomberNight
1a8cc68f53 wallet: _requests_addr_to_key map to prefer unexpired reqs if collision 2022-11-18 16:59:47 +00:00
SomberNight
d19d82be64 follow-up prev 2022-11-18 16:53:50 +00:00
SomberNight
c38022b5fc Qt request list: Ctrl+F filter to work for addr, LN invoice, LN rhash
add new hidden columns, mainly for ability to find a request that corresponds to an address
2022-11-18 16:49:36 +00:00
accumulator
e0f6c18073 Favor first output address in invoice/request instead of fallback address in LN invoice. (#8078)
Without this change, when configuring electrum with bolt11_fallback disabled, and calling
invoice.get_address() on a lightning enabled invoice, it will return None, thereby disabling
retrieving BIP21 uri or address from the invoice/request.
2022-11-18 16:24:32 +00:00
Sander van Grieken
6e3bd69e80 qml: fix normal submarine swap max amount calculation, add error reporting to swap initiation 2022-11-18 13:40:20 +01:00
ThomasV
5352de6a04 Merge pull request #8072 from SomberNight/202211_2fa_qrcode
qt wizard: (fix) during 2fa wallet creation, shared QR to be drawn
2022-11-17 07:43:11 +01:00
SomberNight
95a8df69b4 qt wizard: (fix) during 2fa wallet creation, shared QR to be drawn
This was a regression from 2a31f80d09,
before which, when using the default `QRCodeWidget()` constructor,
there had been a min size set on the widget. I like that old behaviour:
reasonable size should be set by default, and if you want to set the
size manually, opt-in to that.

fixes https://github.com/spesmilo/electrum/issues/8071
2022-11-17 03:58:32 +00:00
Sander van Grieken
bc69e4f907 qml: show channelbackups in channel list,
add channelbackups support in qechanneldetails.py,
only request-fclose option in CloseChannelDialog
2022-11-16 17:37:39 +01:00
Sander van Grieken
495d8d6fae qml: add import channel backup 2022-11-16 16:50:23 +01:00
Sander van Grieken
0687785994 qml: only show channel peer node name if known, add node pubkey to ChannelCloseDialog 2022-11-16 13:40:22 +01:00
Sander van Grieken
5380b21568 qml: wizard support for back button 2022-11-16 12:12:43 +01:00
Sander van Grieken
d95b18c510 qml: update swaphelper server fee 2022-11-15 19:41:08 +01:00
Sander van Grieken
57ec81cad0 qml: multisig implement finalize tx not complete result 2022-11-15 17:11:08 +01:00
Sander van Grieken
b7c31ad80e qml: move tx verified event handling to transactionlistmodel,
refresh history after broadcast
2022-11-15 15:33:21 +01:00
Sander van Grieken
9cb8dea343 qml: add save Tx option 2022-11-15 13:08:02 +01:00
Sander van Grieken
24524119f6 qml: small form-factor fixes 2022-11-14 18:22:05 +01:00
Sander van Grieken
ce35e68514 qml: multisig create_storage 2022-11-14 14:37:05 +01:00
Sander van Grieken
ba2905105d qml: multisig wizard check duplicate keys 2022-11-14 13:14:27 +01:00
Sander van Grieken
334bbf3505 qml: add plumbing for duplicate master pubkey check, fix multisig end conditions 2022-11-14 12:19:56 +01:00
Sander van Grieken
4c784ffe1f qml: consolidate multisig support into existing pages WCHaveSeed, WCHaveMasterKey, WCBIP39Refine.
Have these put cosigner data directly in the correct wizard_data leafs instead of relying on
wizard accept handlers.
2022-11-14 12:19:56 +01:00
Sander van Grieken
f07b11f283 qml: add multisig support in WCBIP39Refine, add seed valid check for multisig in qebitcoin.py 2022-11-14 12:19:56 +01:00
Sander van Grieken
89936689fb qml: fix imports, flake issues 2022-11-14 12:19:56 +01:00
Sander van Grieken
97254bb0ed qml: remove ready signal hack, wizard_data now available at WizardComponent construction time 2022-11-14 12:19:56 +01:00
Sander van Grieken
3c903d8fd7 qml: allow wizard pages to supply title suffix 2022-11-14 12:19:56 +01:00
Sander van Grieken
428ba209f4 qml: multisig wizard; cosigner w. electrum seed 2022-11-14 12:19:56 +01:00
Sander van Grieken
5246f3d510 qml: refactor is_last checks to mostly lambdas, add multisig flow for 1st cosigner keystore,
add initial flow and view placeholders for additional cosigners.
2022-11-14 12:19:56 +01:00
Sander van Grieken
b8a8c848c7 qml: enable first wizard page of multisig 2022-11-14 12:19:56 +01:00
Sander van Grieken
5fd8b63091 qml: styling TxDetails 2022-11-14 11:41:33 +01:00
Sander van Grieken
e054e9f14e qml: styling channel details 2022-11-11 17:11:49 +01:00
Sander van Grieken
37b4352c29 qml: some styling fixes 2022-11-11 16:46:24 +01:00
Sander van Grieken
725a05643e qml: channels styling 2022-11-11 16:23:24 +01:00
Sander van Grieken
18131e5a38 qml: styling addresses/address details 2022-11-11 16:00:11 +01:00
Sander van Grieken
ff0f180fab qml: check max comment length for lnurl-pay, characters remaining indicator, styling. 2022-11-11 15:13:39 +01:00
Sander van Grieken
9ce9bb5a4c qml: show request details on receive dialog after adding message/amount 2022-11-11 14:03:43 +01:00
Sander van Grieken
79d12330ac qml: let WalletListModel update the wallet state when a wallet is loaded 2022-11-11 12:28:00 +01:00
Sander van Grieken
12086ba0de qml: unify to single WalletListModel, WalletDB trigger actions on every path set,
camelcase more QML exposed functions/slots.
2022-11-11 12:00:07 +01:00
SomberNight
d2155833c1 rerun freeze_packages
(new deps for ledger plugin)
2022-11-10 18:53:05 +00:00
MrNaif2018
b357391c48 Add tx_hashes to exported payment requests (#7936)
* Add `tx_hashes` to payment requests

* Apply patch

* Fix for missing lnworker
2022-11-10 17:48:00 +00:00
SomberNight
9f3a39e9c9 requirements-hw: add comments to tie deps to hwd plugins 2022-11-10 16:03:34 +00:00
ghost43
ac239a81b8 Merge pull request #8041 from bigspider/app-bitcoin-new
Modify Ledger plugin to support the new bitcoin app v2.1.0
2022-11-10 14:24:14 +00:00
SomberNight
e75110ec04 hw_wallet: de-dupe "message_dialog" code, make text selectable 2022-11-09 21:10:52 +00:00
SomberNight
9b82eb6d06 ledger: re-add support for HW.1, and add a deprecation warning 2022-11-09 20:42:55 +00:00
SomberNight
3cac7e9a61 ledger: minor clean-up 2022-11-09 20:11:08 +00:00
SomberNight
e4a880e435 trezor: use lower device-enumeration timeout for udp transport
This transport IIUC is only used for the trezor emulator.
The default timeout is 10 seconds. Every time we enumerate hw devices,
we also enumerate trezor devices, including scanning for the udp transport.
For some reason, recently on Windows, sporadically, this scan keeps
hitting the timeout for me. Quite annoying, as I might not even be testing
trezor (and I am certainly not testing using the trezor emulator on Windows...),
but scanning to test other plugins.

Probably overkill to have a 10 sec timeout for contacting localhost anyway.
2022-11-09 17:46:18 +00:00
Salvatore Ingala
e47270daa5 Fix multiple signing 2022-11-09 13:21:14 +01:00
Salvatore Ingala
3c0e3eb7e2 Refactored LedgerPlugin::create_client, and handle errors when creating the client. 2022-11-09 11:34:41 +01:00
Salvatore Ingala
7c80779903 Replace print() with logger 2022-11-09 11:21:21 +01:00
Salvatore Ingala
80e214d465 - Remove code calling hw1-related features, not supported in the version of btchip embedded in ledger_bitcoin
- Fix signature of sign_message in Ledger_Client_Legacy
2022-11-09 10:59:12 +01:00
Salvatore Ingala
f3eb492dca Update Ledger website to ledger.com in error message 2022-11-08 17:44:09 +01:00
Salvatore Ingala
8a3fed9bc9 Remove btchip; use ranged version for ledger_bitcoin 2022-11-08 17:44:07 +01:00