Sander van Grieken
421bd93047
qml: fix a few leftovers
3 years ago
SomberNight
2378f92a6a
tests: add more "sweep" tests for different script types
3 years ago
SomberNight
2d6e34c8c2
ecc: make ECPubkey.__lt__ relation strongly-connected/total
...
Previously we had:
```
>>> import electrum
>>> from electrum.ecc import POINT_AT_INFINITY
>>> G = electrum.ecc.GENERATOR
>>> G <= (-1 * G)
False
>>> (-1 * G) <= G
False
```
3 years ago
SomberNight
df2bd61de6
bip32: change hardened char "'"->"h" when encoding derivation paths
...
We accept either when decoding - this only changes what we use when encoding.
Single quotes are annoying to use in a shell, as they often need to be escaped.
3 years ago
Sander van Grieken
2b0e624876
qml: styling CloseChannelDialog, InvoiceDialog
3 years ago
Sander van Grieken
995754e523
qml: add expiry timers to update status string in InvoiceDialog and ReceiveDialog
3 years ago
ThomasV
292ce35945
receive tab: copy to clipboard when tab is changed
3 years ago
ThomasV
1da65451c0
Qt: schedule tooltip in do_copy
3 years ago
SomberNight
faea1e6e1a
lnchannel: add more debug logging for ctx/htlc sigs
...
related: https://github.com/spesmilo/electrum/issues/8191
3 years ago
ThomasV
4a91213044
minor fix
3 years ago
ThomasV
d766f2fd9e
Qt: make copy menus more consistent
3 years ago
ThomasV
df842af0b6
UTXO tab: add menus to fully spend utxo:
...
- send to address
- in new channel
- in submarine swap
This is easier than coin control, because it does not involve
switching tabs. Coin control is activated during the operation,
so that users learn how it works.
3 years ago
ThomasV
5e88b0da88
swaps: cache pairs to file
3 years ago
ThomasV
215629235d
submarine_swaps: fix bugs and create method for max_amount_forward_swap
3 years ago
Sander van Grieken
095b6dab0f
qml: fix display of negative millisat amounts in qefx.py for historic amounts too
3 years ago
Sander van Grieken
b5f0be2d8d
qml: use FormattedAmount for fee in LightningPaymentDetails
3 years ago
Sander van Grieken
56cdc4a92b
qml: fix display of negative millisat amounts in FormattedAmount, qefx.py
3 years ago
Sander van Grieken
8a8703d5ea
qml: styling
3 years ago
ThomasV
d7f48c8805
Qt history tab: create submenu for edit actions
3 years ago
ThomasV
f617887509
RBF dialog: do not decrease payment for swap funding transactions.
3 years ago
Sander van Grieken
e9ad9986d7
qml: qedaemon doesn't need wallet path and name properties, pass them via the signal
3 years ago
Sander van Grieken
fc212b1dcc
qml: improve OpenWalletDialog, PasswordDialog and PasswordField
3 years ago
Sander van Grieken
2d5ba84e35
qml: styling InfoTextArea
3 years ago
Sander van Grieken
8ccc4801f7
qml: ConfirmTxDialog styling slider, avoid running off small screens
3 years ago
Sander van Grieken
1bfc4f1529
qml: android notification params
3 years ago
Sander van Grieken
02fd25141e
qml: ConfirmTxDialog layout fixes
3 years ago
Sander van Grieken
3cb9ded1ca
qml: fix flickable margins TxDetails and WalletDetails
3 years ago
ThomasV
965ccedc88
tx dialog clean-up: remove 'finalized' field and related code
3 years ago
ThomasV
d1eb909bee
UTXO tab: simplify freeze menus
3 years ago
ThomasV
bf16919a74
Merge pull request #8197 from spesmilo/new_tx_flow
...
Qt: new onchain tx creation flow:
3 years ago
ThomasV
a4928ea6ed
TxEditor: various tweaks
3 years ago
ThomasV
ad83eaaba1
TxEditor: rework update methods, separate _update_message from _update_send_button
3 years ago
Sander van Grieken
d1a40c47cf
qml: fix max toggle in InvoiceDialog
3 years ago
Sander van Grieken
31523449b3
qml: OTP dialog improvements
3 years ago
ThomasV
13222c479c
TxEditor: make trigger_update not private, call it on rbf combo changed.
3 years ago
ThomasV
a740a8a004
TxEditor: move set_locktime
3 years ago
ThomasV
95433cd153
TxEditor: update_extra_fees, overloaded by ConfirmTxDialog
3 years ago
ThomasV
8c00188348
TxEditor: set locktime
3 years ago
Sander van Grieken
11439fb3fd
qml: don't stack exception dialogs when multiple exceptions happen
3 years ago
Sander van Grieken
c9b6917ab7
qml: Addresses fills page
3 years ago
Sander van Grieken
1e60cb740f
qml: fixes TextHighlightPane
3 years ago
SomberNight
72d750c51c
plot history: also include lightning items
...
```
6.15 | E | gui.qt.exception_window.Exception_Hook | exception caught by crash reporter
Traceback (most recent call last):
File "/home/user/wspace/electrum/electrum/gui/qt/history_list.py", line 637, in plot_history_dialog
plt = plot_history(list(self.hm.transactions.values()))
File "/home/user/wspace/electrum/electrum/plot.py", line 24, in plot_history
if not item['confirmations']:
KeyError: 'confirmations'
```
3 years ago
SomberNight
227ccc65d4
perf: load matplotlib on-demand
...
it takes ~1.7 seconds to import electrum.plot, slowing down app-startup considerably
3 years ago
SomberNight
ad0b853cd9
invoices: improve perf by caching lnaddr even earlier
...
During wallet-open, we load all invoices/payreqs. This involved decoding the lnaddrs twice.
Now we only decode once.
For a wallet with ~1000 payreqs, this noticeably sped up wallet-open:
(before:)
8.83 | D | util.profiler | Daemon._load_wallet 6.4317 sec
(after:)
5.69 | D | util.profiler | Daemon._load_wallet 3.4450 sec
It is very expensive to parse all the lnaddrs...
3 years ago
SomberNight
8a53a3201c
wallet.try_detecting_internal_addresses_corruption: check more addrs
...
related https://github.com/spesmilo/electrum/issues/8202
For a HD wallet, instead of checking the first 10 addrs + 10 additional random ones,
we now check the first 10 addrs + 10 random used addrs + 10 random unused addrs.
Checking unused addresses is useful to prevent getting money sent there,
and checking used addresses is useful to inform people of already lost money.
3 years ago
SomberNight
90f1279d9a
addr_sync: (trivial) don't use private utxo._is_coinbase_output
3 years ago
Sander van Grieken
6b8f9f8fe2
qml: allow ln node connect string without port, default to 9735
3 years ago
Sander van Grieken
6cb6531fd9
qml: add swap progress dialog
3 years ago
ThomasV
1d00b56b64
make ConfirmTxDialog resizeable
3 years ago
Sander van Grieken
c5883c7cdb
text guis low hanging fruit
3 years ago