SomberNight
57704600d9
interface: make sure interface.taskgroup gets cleaned up
...
follow-up 0ce89b6d54
2025-06-02 15:24:00 +00:00
Sander van Grieken
c6fb55d416
qml: lightningpaymentdetails show Paid banner instead of just Status:settled
2025-06-02 17:21:42 +02:00
Sander van Grieken
df2c1d6ae1
qml: no feebump hint if only option is CPFP
2025-06-02 17:14:31 +02:00
Sander van Grieken
938af7b2ee
qml: remove green check-mark on request paid, open lightning payment details (LN) or Tx details (on-chain) instead
2025-06-02 17:11:08 +02:00
ThomasV
c13932452a
test_lnpeer: add mock get_invoice method
2025-06-02 16:27:24 +02:00
ThomasV
fc4f995668
lnworker: fix invoice status in htlc_failed from previous session
...
(status was remaining inflight)
2025-06-02 16:14:34 +02:00
ThomasV
4aed0582a1
Merge pull request #9886 from f321x/fix_last_wallet_exception
...
followup 9e225d1 : rm save_last_wallet call
2025-06-02 15:47:12 +02:00
f321x
58b0fdf199
followup 9e225d1: rm save_last_wallet call
2025-06-02 15:07:22 +02:00
ThomasV
9e225d1269
Replace config GUI_LAST_WALLET with CURRENT_WALLET
...
- CURRENT_WALLET is set when a single wallet is loaded in memory, and it
remains set after Electrum stops running.
- If several wallets are loaded at the same time, CURRENT_WALLET is unset,
and RPCs must specify the wallet explicitly (using --wallet for the CLI)
- The fallback to 'default_wallet' essentially only applies when
creating a new wallet file
2025-06-02 14:05:53 +02:00
Sander van Grieken
5775fd790e
qml: remove request from list once paid
2025-06-02 13:47:49 +02:00
Sander van Grieken
5fe6ff3a1f
qml: nostr relay dialog, remove help button, move text into dialog.
2025-06-02 13:42:12 +02:00
ThomasV
0ce89b6d54
PaddedRSTransport: fix busy loop in poll_sbuffer (follow-up 43ca469774)
...
According to the asyncio documentation:
> When a task is cancelled, asyncio.CancelledError will be raised in the task at the next opportunity.
I guess the 'next opportunity' means the next await statement.
Here the issue is that the task was not awaiting ever.
Note: ElectrumX needs a similar patch
2025-06-02 13:38:54 +02:00
Sander van Grieken
b5170a3fa6
qml: oneserver, auto-connect combobox
2025-06-02 13:31:05 +02:00
ThomasV
c8ea5b6173
Third-party plugins: expand warning message
...
Remove lightning is experimental warning
2025-06-02 12:58:40 +02:00
Sander van Grieken
30d6228cac
qml: remove nostr relays from NetworkOverview.qml
2025-06-02 11:52:44 +02:00
ThomasV
a23f370a43
follow-up ae7a1073cf
...
(todo: move these methods into lnworker)
2025-06-01 14:03:29 +02:00
ThomasV
40de52e829
regtest: make test_fw_fail morer reliable
2025-06-01 13:42:26 +02:00
ThomasV
ae7a1073cf
Merge pull request #9685 from f321x/hold_invoice_cli
...
cli: add hold invoice cli functionality
2025-06-01 12:03:46 +02:00
ThomasV
477dd8e478
CLI list_wallets: fix logical error in 'unlocked' value
2025-06-01 10:52:52 +02:00
ThomasV
cea4b99668
qt: on_event_payment_failed: remove onchain fallback dialog
...
We no longer create LN invoices with onchain fallbacks. Even if
other implementation might create such invoices, there is little
point suporting them.
2025-05-31 14:12:28 +02:00
ghost43
fc13001bb9
Merge pull request #9875 from SomberNight/202505_pad_protocol_3
...
interface: add padding and some noise to protocol messages
2025-05-30 15:37:12 +00:00
ThomasV
43ca469774
Merge pull request #9555 from tianzedavid/master
...
chore: fix some typos
2025-05-30 14:36:12 +02:00
ThomasV
f0930ffc1d
Merge pull request #9839 from SomberNight/202505_transaction_verify_sig_2
...
transaction: add method verify_sig_for_txin
2025-05-30 14:32:27 +02:00
ThomasV
0dafb5cd83
Merge pull request #9880 from SomberNight/202505_refactor_chains2
...
constants.py: add datadir_subdir, cli_flag, config_key methods
2025-05-30 09:50:36 +02:00
SomberNight
6257d9e266
constants.py: add datadir_subdir, cli_flag, config_key methods
...
- use these to generalise recurring "switch-like" ifs
- this effectively also adds a `--mainnet` CLI option
- closes https://github.com/spesmilo/electrum/issues/9790
2025-05-29 18:41:28 +00:00
ThomasV
b78935521b
network dialog: replace checkboxes with tri-state connect_mode ComboBox
...
If oneserver is enabled, display 'Fork detection disabled' in the split_label
2025-05-29 20:14:03 +02:00
ThomasV
d0c429e87f
txbatcher: fix max() over empty list
2025-05-29 19:53:49 +02:00
ghost43
389817a63f
Merge pull request #9878 from SomberNight/202505_refactor_chains
...
constants.py: reorganise file hierarchy in `chains/`
2025-05-29 17:30:55 +00:00
SomberNight
c9ed8779fc
interface: address feedback for PaddedRSTransport
2025-05-29 17:29:33 +00:00
SomberNight
447052b4ff
interface: add padding and some noise to protocol messages
...
basic countermeasures against traffic analysis
2025-05-29 17:29:30 +00:00
SomberNight
5fd6603ea6
ci: regtests: bump e-x
2025-05-29 17:29:27 +00:00
ThomasV
e580373c82
test_redeem_offered_htlcs: reduce bob's target because they might send anchor output sweeping tx
2025-05-29 19:27:06 +02:00
SomberNight
1355f849c3
constants.py: reorganise file hierarchy in chains/
2025-05-29 15:31:27 +00:00
SomberNight
400934b771
network: hardcoded servers: add a few more
2025-05-29 15:02:04 +00:00
SomberNight
5e2c52081d
update block header checkpoints
2025-05-29 15:02:01 +00:00
SomberNight
807832a769
logging: follow-up "rm verbosity_shortcuts option"
...
follow-up 853b793bef
2025-05-29 14:57:58 +00:00
ThomasV
11fc3ccf33
CLI: cosmetic changes and cleanup
2025-05-29 16:44:01 +02:00
ThomasV
853b793bef
rm verbosity_shortcuts option (unused, redundant)
2025-05-29 16:20:41 +02:00
ThomasV
743f5c8311
CLI: remove -W shortcut
2025-05-29 15:44:53 +02:00
SomberNight
bf168ce6f8
interface: log block height of main interface on new block
...
follow-up 7a7c0f1606
- before ref commit, we logged new headers for every interface
- after ref commit, we logged new header only for fastest interface
- now, we log new header for fastest interface and for main interface
- useful to see if main interface is very slow
2025-05-28 17:05:13 +00:00
ghost43
b10b93f130
Merge pull request #9797 from SomberNight/202505_ci_bump_ex
...
ci: regtests: bump e-x
2025-05-28 15:03:47 +00:00
SomberNight
8198209149
ci: regtests: bump e-x
2025-05-28 14:45:47 +00:00
ThomasV
c61e0f5cf9
CLI: show the list of commands if run_electrum -h is invoked
...
This fixes a regression likely introduced with the docstring parameter parser.
The short description is the first period-separated sentence of the docstring.
Also remove the 'commands' command.
2025-05-28 15:36:15 +02:00
ThomasV
fb9e300165
Merge pull request #9824 from accumulator/qml_bip21_request_if_label_or_amount
...
invoices: only skip generating BIP21 URI for payment request if both …
2025-05-28 11:05:34 +02:00
ThomasV
04da854291
follow-up 49d2f87dcf
2025-05-28 10:46:00 +02:00
ThomasV
b110179409
fix #9870
2025-05-28 10:42:59 +02:00
ThomasV
49d2f87dcf
wizard: make NewWalletWizard inherit from KeystoreWizard
2025-05-28 10:20:15 +02:00
ThomasV
5ed020f924
Merge pull request #9873 from SomberNight/202505_network_oneserver_text
...
gui: oneserver option: make text more verbose
2025-05-28 09:20:36 +02:00
ThomasV
4567150ecb
Merge pull request #9874 from SomberNight/202505_adb_get_tx_height_test
...
adb.get_tx_height: allow future txs to be partially signed
2025-05-28 09:07:54 +02:00
SomberNight
db759765d6
adb.get_tx_height: allow future txs to be partially signed
...
If the full tx is missing, we should force mempool/confirmed txs to be LOCAL height,
however future txs should not be forced to LOCAL, they should remain FUTURE.
follow-up 197933debf
2025-05-27 18:19:01 +00:00