Sebastian Falbesoner
ede9b2b372
transaction: cache address determination from output script
...
In order to avoid repeatedly calling get_addr_from_output_script() on
every read of the "TxOutput.address" property, determine and cache it
only whenever the output script is created/changed.
3 years ago
SomberNight
71697afabd
invoices: get_outputs to use .outputs field if available
...
It is wasteful to create new PartialTxOutput objects if we already have an outputs field.
Btw apparently lightning invoices too have an outputs field.
3 years ago
ThomasV
bc3946d2f4
Qt: new onchain tx creation flow:
...
- transaction_dialog is read-only
- ConfirmTxDialog and RBF dialogs inherit from TxEditor
- TxEditors are configurable
3 years ago
Sander van Grieken
5eb7bcebef
qml: remove ugly notification popup, add wallet name to notifications
3 years ago
Sander van Grieken
c3c308ec0b
qml: qewallet logger add wallet name
3 years ago
Sander van Grieken
78d68d00e0
qml: override default Material styling for toolbar, use grays
3 years ago
Sander van Grieken
73004b4993
qml: button min size
3 years ago
Sander van Grieken
393dcde7ae
qml: set a minimum button size
3 years ago
Sander van Grieken
9d02f6ee4c
qml: shorten text for adding addresses/keys and add add.png icon
3 years ago
Sander van Grieken
2dff6a10ca
qml: fix issue with number of addresses in model
3 years ago
Sander van Grieken
9d4e00d582
qml: styling ImportAddressesKeysDialog
3 years ago
Sander van Grieken
db34efd333
qml: silence undefined property errors when not really used
3 years ago
ghost43
899c468c34
Merge pull request #8190 from jsarenik/jsn/signet-on-bublina
...
signet on bublina
3 years ago
Sander van Grieken
b9b0ada15d
qml: better fix
3 years ago
Sander van Grieken
b2d4a2a81f
qml: fix show mempool depth when unconfirmed
3 years ago
Sander van Grieken
fa72da57fd
Revert "qml: silence undefined property errors when not really used"
...
This reverts commit ba51cef0d5 .
3 years ago
Sander van Grieken
ba51cef0d5
qml: silence undefined property errors when not really used
3 years ago
Sander van Grieken
2cfcf5035d
qml: add rocket.png for fee bump icon
3 years ago
Sander van Grieken
99133a65dd
followup a844503861
3 years ago
Sander van Grieken
a844503861
qml: move separator visible property binding to its component so our master index ref is stable
3 years ago
Sander van Grieken
049a59f57a
qml: move fee bump button below fee amount
3 years ago
Sander van Grieken
ad26d809a4
qml: update history in more cases when saving/removing tx
3 years ago
SomberNight
d3a10c4225
commands: allow cmd to launch new gui window for wallet
...
e.g. imagine electrum Qt gui is already running, with some wallet (wallet_1) open,
running `$ ./run_electrum --testnet -w ~/.electrum/testnet/wallets/wallet_2` should
open a new window, for wallet_2.
related https://github.com/spesmilo/electrum/issues/8188#issuecomment-1419444675
3 years ago
Sander van Grieken
7adc8b1fbb
qml: fix issues with close channel
3 years ago
Sander van Grieken
036a5997c7
qml: fix confusion when dialogs not on top of activeDialog stack are closed
3 years ago
SomberNight
c6b464f1cb
gitignore: add .so.* (.so libs regardless of version)
...
to cover `electrum/libsecp256k1.so.1`
3 years ago
SomberNight
046609c5d2
lnpeer: add note about thread-safety, and some checks
...
I was calling methods from the Qt console (e.g. peer.pay()) and seeing weird behaviour...
htlc_switch() (running on asyncio thread) was racing with pay() (running on GUI thread).
3 years ago
ThomasV
406b676ce6
Merge pull request #8189 from 1440000bytes/duplicate-asyncio
...
remove duplicate import
3 years ago
Jan Sarenik
c7a7c54ccd
Add another signet electrum server
...
Running electrs v0.9.11 currently. TLS via nginx.
Always up-to-date info at http://ln.uk.ms/signet.txt
3 years ago
Jan Sarenik
9ef9b9b768
Add ex.signet.bublina.. option for signet explorer
3 years ago
/dev/fd0
d4a6768b40
remove duplicate import
3 years ago
ghost43
0eea47c78d
libsecp256k1: update hardcoded .so lib name in binaries ( #8186 )
...
follow-up 7d83335e34
3 years ago
SomberNight
c66411f47e
contrib/make_libsecp256k1.sh: rm Makefile patch
...
unneeded since c0cd7de6d4
and in fact buggy since 0bd3e4243c
related https://github.com/spesmilo/electrum/pull/8185#issuecomment-1416171287
3 years ago
SomberNight
240edb4a77
Merge branch '20230203_libsecp'
3 years ago
SomberNight
7d83335e34
bump libsecp256k1 version
...
now there are tags :O
3 years ago
SomberNight
dd141c7fa0
libsecp256k1: add runtime support for both 0.2.x and <0.2.0 lib vers
...
related:
https://github.com/spesmilo/electrum/pull/8185
https://github.com/bitcoin-core/secp256k1/pull/1055
3 years ago
Sander van Grieken
f8e43b3149
qml: styling MessageDialog
3 years ago
Sander van Grieken
3cd3212921
qml: show correct delete confirm text for channel backups
3 years ago
SomberNight
b4d2c902c4
qt tx dialog: fix for pre-segwit legacy wallets
...
```
Traceback (most recent call last):
File "/home/user/wspace/electrum/electrum/gui/qt/invoice_list.py", line 169, in <lambda>
menu.addAction(_("Pay") + "...", lambda: self.send_tab.do_pay_invoice(invoice))
File "/home/user/wspace/electrum/electrum/gui/qt/send_tab.py", line 585, in do_pay_invoice
self.pay_onchain_dialog(self.window.get_coins(), invoice.outputs)
File "/home/user/wspace/electrum/electrum/gui/qt/send_tab.py", line 271, in pay_onchain_dialog
preview_dlg = PreviewTxDialog(
File "/home/user/wspace/electrum/electrum/gui/qt/transaction_dialog.py", line 962, in __init__
self.update()
File "/home/user/wspace/electrum/electrum/gui/qt/transaction_dialog.py", line 658, in update
self.io_widget.update(self.tx)
File "/home/user/wspace/electrum/electrum/gui/qt/transaction_dialog.py", line 212, in update
tx_height, tx_pos = self.wallet.adb.get_txpos(self.tx.txid())
File "/home/user/wspace/electrum/electrum/address_synchronizer.py", line 483, in get_txpos
verified_tx_mined_info = self.db.get_verified_tx(tx_hash)
File "/home/user/wspace/electrum/electrum/json_db.py", line 44, in wrapper
return func(self, *args, **kwargs)
File "/home/user/wspace/electrum/electrum/wallet_db.py", line 1256, in get_verified_tx
assert isinstance(txid, str)
AssertionError
```
3 years ago
SomberNight
b9f4758853
qt tx dialog: add "Copy Outpoint" to both IO ctx menus
3 years ago
Sander van Grieken
ee5dec0c59
qml: correctly update channel list after channel backup import, and correctly delete channel backup
3 years ago
SomberNight
3dadfadcab
qt tx dialog: readd "insert_tx_io" code-factorisation recently rm-ed
...
follow-up 7d42676785
3 years ago
Roman Zeyde
f05ab403fb
Support latest Debian libsecp256k1 package
...
https://packages.debian.org/source/testing/libsecp256k1
3 years ago
Sander van Grieken
dc1441d129
qml: make sure to keep ref to instance
3 years ago
SomberNight
6ae105ca99
qt tx dialog: fix size of IO textedits when resizing
...
textedit.setMinimumWidth(950) (from 5af399d19639b0c141398db964270c4974f124acdoes) does not play well with the tx_dlg.setMinimumWidth(640)
when resizing. Make 950 only affect the default sizing of the textedit.
3 years ago
SomberNight
04a5aaeddc
transaction: (trivial) add comment about is_cb_input vs is_cb_output
...
follow-up d6febb5c12 , 96ac199f5c
3 years ago
SomberNight
c2c02391a2
qt tx dialog: add context menus to IO fields
...
based on:
46df4190c8
3 years ago
SomberNight
7d42676785
qt tx dialog: make scid and addr texts clickable in IO fields
...
based on:
7eea0b6dae
52d845017c
3 years ago
SomberNight
53ca75d878
qt AddressDialog: separate parent and window
3 years ago
Sander van Grieken
420546c201
qml: assert role exists in qechannellistmodel.filterModel
3 years ago