1
0
Commit Graph

15790 Commits

Author SHA1 Message Date
ThomasV
c595df3972 Qt: call create_toolbar in create_list_tab 2023-03-11 15:41:13 +01:00
ThomasV
1a0a52f9b6 invoices and requests lists: move import/export menus into local toolbars 2023-03-11 15:15:16 +01:00
ThomasV
f89a466d61 minor fix 2023-03-10 18:02:47 +01:00
Sander van Grieken
7e5ebf0484 swap: wrap coros in tasks (req since python3.11) 2023-03-10 15:28:59 +01:00
Sander van Grieken
a595102d5f qml: auto sign and broadcast for cancel txs too 2023-03-10 15:28:59 +01:00
SomberNight
7746cc8e60 bip32: (trivial) rename method strpath_to_intpath, for symmetry
Required a much higher mental load to parse the name "convert_bip32_path_to_list_of_uint32"
than to parse "convert_bip32_strpath_to_intpath".
And we already have the ~inverse: "convert_bip32_intpath_to_strpath".
2023-03-10 14:23:17 +00:00
SomberNight
f2dc651c9b Qt history list: Ctrl+F filter to work for "Short ID" (scid) 2023-03-10 14:03:57 +00:00
Sander van Grieken
15a3c2d344 qml: auto sign & broadcast fee bump transactions if wallet can sign without cosigners.
Show a dialog otherwise
2023-03-10 13:31:41 +01:00
Sander van Grieken
cb5a9e499f qml: SwapDialog ok button 2023-03-10 12:52:04 +01:00
ThomasV
d0b2c66550 confirm_tx_dialog: simplify messages and warnings. reduce the use of side effects 2023-03-10 11:46:36 +01:00
ThomasV
df94bc0d60 TxInOutWidget: reduce size of displayed addresses 2023-03-10 10:52:32 +01:00
Sander van Grieken
ffb899871f qml: don't explicitly add new channel to listmodel. It is updated automatically (and the
model refreshed) through the channels_updated callback
2023-03-10 10:25:14 +01:00
Sander van Grieken
016eea2c04 qml: more robust keystore properties builder, support imported type 2023-03-09 21:49:42 +01:00
Sander van Grieken
aaca7c58ad qml: BalanceSummary now flipflops between fiat view and btc view 2023-03-09 17:16:22 +01:00
Sander van Grieken
c0e7fc6dec qml: don't show placeholder in History when empty history list and synchronizing 2023-03-09 16:19:10 +01:00
SomberNight
62ab6d9702 (trivial) reduce log spam during ln-channel-open 2023-03-09 15:18:09 +00:00
Sander van Grieken
1210ef5f81 qml: various styling 2023-03-09 16:13:46 +01:00
SomberNight
7584ba00ce wallet: kill negative conf numbers for TxMinedInfo
fixes https://github.com/spesmilo/electrum/issues/8240

#8240 was triggering an AssertionError in wallet.get_invoice_status,
as code there was assuming conf >= 0. To trigger, force-close
a LN channel, and while the sweep is waiting on the CSV, try to
make a payment in the Send tab to the ismine change address used
for the sweep in the future_tx. (order of events can also be reversed)
2023-03-09 14:59:08 +00:00
Sander van Grieken
d717471389 qml: move PIN one section up in Preferences 2023-03-09 15:38:29 +01:00
Sander van Grieken
b5e7887fa4 qml: move channel backups to WalletDetails 2023-03-09 15:37:51 +01:00
Sander van Grieken
c6be2521ef qml: relabel Export tx to Share 2023-03-09 15:19:33 +01:00
Sander van Grieken
0423970ae0 qml: add word picker to SeedTextArea 2023-03-09 15:09:16 +01:00
ThomasV
d9f1a21219 reverse_swap: return as soon as we detect the funding transaction 2023-03-09 14:57:43 +01:00
ThomasV
b960433c60 confirm_tx_dialog: Use future tense in warnings + minor fix 2023-03-09 14:40:08 +01:00
ThomasV
c449c8eda8 set NoWrap for tx input/outputs. Use QTextBrowserWithDefaultSize in utxo dialog. 2023-03-09 11:26:40 +01:00
Sander van Grieken
f7a300b89b qml: successful PIN entry stays valid for 5 mins 2023-03-09 10:19:17 +01:00
Sander van Grieken
db467ff1f7 qml: remove not implemented new version check option in Preferences 2023-03-09 10:01:06 +01:00
ThomasV
37b29b1f37 confirm_tx_dialog: fix toggle_output_rounding 2023-03-08 18:44:29 +01:00
ThomasV
a244b508aa Confirm tx dialog: warn if tx has multiple change outputs 2023-03-08 17:52:15 +01:00
ThomasV
364510906f Fix edge case of batch_rbf, where we need to spend outputs from the base tx 2023-03-08 15:03:05 +01:00
SomberNight
dce0615b5d test_wallet_vertical: add a failing test for rbf-batching 2023-03-08 12:43:29 +01:00
ThomasV
3253e4904b Add rbf_merge_txid to PartialTransaction, instead of calling
get_unconfirmed_base_tx_for_batching a second time from GUI.
2023-03-08 12:38:41 +01:00
SomberNight
18cf546aab fix tests side-effecting each other in test_wallet_vertical.test_rbf 2023-03-07 19:07:44 +00:00
ThomasV
a5c7cc65ee make_unsigned_transaction: call get_unconfirmed_base_tx_for_batching lazily 2023-03-07 18:13:27 +01:00
ThomasV
0545edd4c6 confirm_tx_dialog: fix warning (follow-up previous commit) 2023-03-07 08:28:34 +01:00
ThomasV
74718e9085 confirm_tx_dialog: separate messages from warnings. add warnings about tx batching and spending unconfirmed coins 2023-03-06 19:25:46 +01:00
Sander van Grieken
b788f79509 qml: styling, padding various wizardcomponents 2023-03-06 18:05:54 +01:00
Sander van Grieken
9b0ff481b2 qml: txdetails feebump/cancel below mempool position 2023-03-06 18:05:20 +01:00
Sander van Grieken
00286254f9 qml: wizard button padding, wizardcomponent now a Pane 2023-03-06 16:47:19 +01:00
Sander van Grieken
461fcf2443 qml: wizard use flatbuttons 2023-03-06 16:02:08 +01:00
Sander van Grieken
a5485e5f68 android: use material dark style for splashscreen action bar 2023-03-06 12:03:25 +01:00
Sander van Grieken
ce5b6499fd qml: styling fixes 2023-03-06 11:43:32 +01:00
Sander van Grieken
d2883e19ac android: qt5 activity inhibit screenshots 2023-03-06 11:11:08 +01:00
ThomasV
2f6d60c715 Move transaction related settings into transaction editor.
That way, users can see the effects settings directly on their transaction.
This changes the API of make_tx:
 - get_coins is called inside make_tx, so that inputs can be changed dynamically
 - make_tx takes an optional parameter: unconfirmed_only, passed to get_coins
 - ConfirmTxDialog detects if we can pay by disabling confirmed_only or lowering fee
2023-03-05 10:17:03 +01:00
ThomasV
27ce9d88c3 follow-up 2ed71579c3: remove wrong assert 2023-03-04 09:04:50 +01:00
ThomasV
2ed71579c3 privacy analysis: detect address reuse
add tx position to get_addr_io
2023-03-04 08:53:49 +01:00
ThomasV
798cd607b5 Merge pull request #8230 from SomberNight/202302_osd_tx
output script descriptors, part 1: change API of transaction.py
2023-03-04 08:48:56 +01:00
SomberNight
a80bef8421 follow-up descriptor.py: small clean-up 2023-03-03 16:40:45 +00:00
SomberNight
e457bb50e9 trezor: TrezorPlugin._make_multisig to use MultisigDescriptor
This fixes a regression where the plugin was assuming ordering for
txin.pubkeys (which is now a set).
(previously txin.pubkeys was a list ordered according to the final
sort order of keys inside the bitcoin script)
2023-03-03 16:40:41 +00:00
SomberNight
31f457c242 wallet.get_script_desc_for_addr: use xpub instead of derived pubkey
also put key origin info into descriptor, if available
2023-03-03 16:40:38 +00:00