ThomasV
27ce9d88c3
follow-up 2ed71579c39ab7ace9fc108a38394deb769ac98c: remove wrong assert
3 years ago
ThomasV
2ed71579c3
privacy analysis: detect address reuse
...
add tx position to get_addr_io
3 years ago
ThomasV
798cd607b5
Merge pull request #8230 from SomberNight/202302_osd_tx
...
output script descriptors, part 1: change API of transaction.py
3 years ago
SomberNight
a80bef8421
follow-up descriptor.py: small clean-up
3 years ago
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)
3 years ago
SomberNight
31f457c242
wallet.get_script_desc_for_addr: use xpub instead of derived pubkey
...
also put key origin info into descriptor, if available
3 years ago
SomberNight
847b4fa4c4
descriptor.py: sortedmulti to sort .pubkeys already in __init__
3 years ago
SomberNight
9127c12fa3
descriptor.py: do more validation in PubkeyProvider, and add tests
3 years ago
SomberNight
e7849bce94
descriptor.py: clean-up and test PubkeyProvider.get_full_derivation_*
3 years ago
SomberNight
a536658eef
descriptor.py: fix get_satisfaction_progress
3 years ago
SomberNight
144aac4523
descriptors: add more sanity checks, and unit tests
3 years ago
SomberNight
93b9591f25
tests: add test_descriptor.py from bitcoin-core/HWI
3 years ago
SomberNight
36986a9881
transaction.py: set txio.{witness,redeem}|script based on descriptor
3 years ago
SomberNight
0647a2cf9f
transaction.py: rm PartialTxInput.{num_sig, script_type}
3 years ago
SomberNight
ec889b8c3f
wallet: fix import_requests, and mention quirk re preimages
3 years ago
SomberNight
81bd6f7d1b
follow-up invoice changes: fix "Add lightning invoice to bitcoin URIs"
...
follow-up 719b468eee
3 years ago
SomberNight
9e81aba578
follow-up invoice changes: fix kivy RequestDialog
...
follow-up 719b468eee
3 years ago
SomberNight
ca0e4d21f1
follow-up invoice changes: fix kivy lightning_tx_dialog
...
follow-up 719b468eee
3 years ago
SomberNight
26cc1b8308
follow-up invoice changes: fix qt lightning_tx_dialog
...
follow-up 719b468eee
Traceback (most recent call last):
File "...\electrum\electrum\gui\qt\history_list.py", line 673, in mouseDoubleClickEvent
self.parent.show_lightning_transaction(tx_item)
File "...\electrum\electrum\gui\qt\main_window.py", line 1082, in show_lightning_transaction
d = LightningTxDialog(self, tx_item)
File "...\electrum\electrum\gui\qt\lightning_tx_dialog.py", line 60, in __init__
self.invoice = invoice.lightning_invoice
AttributeError: 'Request' object has no attribute 'lightning_invoice'
3 years ago
SomberNight
a1a1fae4cc
invoices.py: small clean-up
3 years ago
SomberNight
b42b5c0c0f
follow-up invoice changes: fix kivy ReceiveScreen
...
follow-up 719b468eee
3 years ago
SomberNight
5673f08750
follow-up invoice changes: fix wallet.get_bolt11_inv if amt is None
...
follow-up 719b468eee
Traceback (most recent call last):
File "...\electrum\electrum\gui\qt\request_list.py", line 111, in item_changed
self.receive_tab.update_current_request()
File "...\electrum\electrum\gui\qt\receive_tab.py", line 227, in update_current_request
lnaddr = self.wallet.get_bolt11_invoice(req) if not help_texts.ln_is_error else ''
File "...\electrum\electrum\wallet.py", line 2515, in get_bolt11_invoice
amount_msat = req.amount_msat if req.amount_msat > 0 else None
TypeError: '>' not supported between instances of 'NoneType' and 'int'
3 years ago
Sander van Grieken
8fe181d757
qml: sort languages
3 years ago
Sander van Grieken
ba888fc9fa
qml: background flatbuttons within pages
3 years ago
Sander van Grieken
b16fb5088b
qml: padding around label above TextHighlightPanes
3 years ago
Sander van Grieken
94fd0dcf10
qml: remove bolt11 invoice from qelnpaymentdetails/LightningPaymentDetails
3 years ago
Sander van Grieken
0f596cf2e9
qml: report unified password change failure, impose minimum password length of 5, disallow empty passwords
3 years ago
Sander van Grieken
90355a150f
qml: fix exception handler register opened wallet
3 years ago
Sander van Grieken
72b07a3630
qml: don't initialize swaphelper if a non-lightning wallet is opened
...
Due to swaphelper's lifecycle (it is kept around longer than the swap dialog) it might
get initialized with a non-lightning wallet. don't initialize in that case.
proper fix is to tie the lifecycle to the swap process, or make it a child of the wallet.
3 years ago
Sander van Grieken
41f0f73bed
qml: PIN enable/disable/change more in line with other preferences items
3 years ago
Sander van Grieken
9c73a55c45
qml: styling CPFP dialog, Toaster, GenericShareDialog
3 years ago
ThomasV
e24c4004fa
change invoice type hints following 719b468eee
3 years ago
ThomasV
9f5c5f92b3
follow-up 719b468eee
3 years ago
SomberNight
d062505cfd
transaction.py: delegate size estimation to descriptors
3 years ago
SomberNight
df9a58480b
descriptors: implement and use ".satisfy*" methods
3 years ago
SomberNight
4ee6def7ee
qt swap dialog: (trivial) make "toggle swap direction" btn wider
...
with dark theme enabled, PushButtons are only as wide by default as the text they contain
3 years ago
Sander van Grieken
8278689cc3
qml: fix initial sync state, remove isUptodate property
3 years ago
Sander van Grieken
0da1be33b7
qml: topbar label show wallet icon only when wallet name is displayed
3 years ago
Sander van Grieken
6383f83933
qml: separate app menu and wallet menu
3 years ago
Sander van Grieken
67f3c1eb05
qml: don't init QERequestListModel/requestModel
3 years ago
Sander van Grieken
6a523b3de0
Revert "qml: don't update (and by extension initialize) requestModel, as it isn't used"
...
This reverts commit 27711093d2 .
3 years ago
Sander van Grieken
27711093d2
qml: don't update (and by extension initialize) requestModel, as it isn't used
3 years ago
Sander van Grieken
f65158a23f
qml: move menu back to topbar, move addresses and channels to walletdetails and
...
add walletdetails to topbar menu
3 years ago
ThomasV
765d231209
utxo dialog: fix pipe symbol
3 years ago
SomberNight
f1f39f0e82
descriptors: wallet/transaction: construct intermediate osd
3 years ago
SomberNight
8f8dd1506e
descriptor.py: add a dozen TODOs
3 years ago
SomberNight
d2f75b7da5
descriptor.py: don't allow ypub/zpub inside descriptors
3 years ago
SomberNight
001ca775a9
descriptor.py: speed-up DescriptorChecksum a bit
3 years ago
SomberNight
9d3f53932b
add descriptor.py from bitcoin-core/HWI
3 years ago
SomberNight
958191013b
qt tx dialog: remove "desc" field, just use wallet.get_label_for_txid
3 years ago