Search content
Sort by

Showing 20 of 31 results by ghost43
Post
Topic
Board Electrum
Merits 1 from 1 user
Re: How do I connect to servers?
by
ghost43
on 07/09/2025, 14:47:50 UTC
⭐ Merited by nc50lc (1)
But I found the log files and inhem is this:
interface.[ex.btcmp.com:50002] | disconnecting due to: ErrorGettingSSLCertFromServer(ConnectError(ConnectionRefusedError(22, 'The remote computer refused the network connection', None, 1225, None)))

So it eems the remote servers listed by Electrum are refusing to connect to my computer.

That specific server simply seems to be offline. It is normal that some servers are not reachable.
What does it say for other servers? For example, what gets logged if you manually try to connect to
Code:
electrum.emzy.de:50002:s
?
Could you share the logs?
Post
Topic
Board Electrum
Merits 35 from 4 users
Re: LoyceV's 0.1 sat/vbyte Electrum Server Adventure
by
ghost43
on 16/08/2025, 15:55:24 UTC
⭐ Merited by LoyceV (24) ,TryNinja (5) ,ABCbits (4) ,Pmalek (2)
In that case the old method should still work. You can set
Code:
wallet.relayfee = (lambda: 0)
in the Qt console, and then the GUI lets you do whatever you want. Create even zero-fee txs.
Question: what does the "lambda" part do?

It is monkey-patching / overwriting the `Abstract_Wallet.relayfee` instance method of the wallet object.
https://github.com/spesmilo/electrum/blob/392400295e733e1dd3f0cb14189466e8a76890ef/electrum/wallet.py#L1782-L1783

A lambda is an unnamed function. `lambda: 0` is a function that takes no parameters and returns the integer 0.

`Abstract_Wallet.relayfee` is a function that takes a single parameter, `self`, the wallet object itself, and returns an integer, the minrelayfee in sat/kvbyte units.

When you run the command in the Console, `wallet` is evaluated as the currently open wallet, an instance of the `Abstract_Wallet` class. And we are trying to replace the `relayfee` instance method with something that "looks the same" (has the same API) as the original. It gets a bit involved but basically the `self` parameter we can just ignore in this case.

Perhaps it would be easier to understand if instead of
Code:
wallet.relayfee = (lambda: 0)
I said to use
Code:
wallet.relayfee = (lambda self=wallet: 0)

Both work equally well, I just preferred to be brief. Also less error-prone when typing manually.

but with the second code snippet, you can clearly see that we are replacing a function that takes a single argument, a wallet, and returns an integer, with another function having the same characteristics.

So the point is that you cannot simply set `wallet.relayfee = 0`, that won't work, as `wallet.relayfee` is not supposed to be an integer but rather a function that returns an integer.
Post
Topic
Board Electrum
Merits 4 from 3 users
Re: LoyceV's 0.1 sat/vbyte Electrum Server Adventure
by
ghost43
on 15/08/2025, 18:15:12 UTC
⭐ Merited by Pmalek (2) ,nc50lc (1) ,DireWolfM14 (1)
I tried the latest master branch containing that PR but it can't seem to sign the lowest possible 0.1sat/vB transaction at first.
But after manually adding 1sat to the absolute fee, it let me sign the transaction.
Seem to be a minor issue with fee rate calculation since it's too small.
Do you have more details to reproduce the rounding error? What was the vbyte size of the transaction?
You set the feerate to 0.1 s/b, and what absolute fee did the GUI calculate?


In that case the old method should still work. You can set
Code:
wallet.relayfee = (lambda: 0)
in the Qt console, and then the GUI lets you do whatever you want. Create even zero-fee txs.
But towards the end of that GitHub thread they say that this method doesn't work anymore.
It works. That's why the issue got closed, and I tested it before posting that here in any case.


But what I noticed was that the equivalent amount in USD was as if I had set the fee to 1 sat/vByte. The wallet didn't lower it regardless if I set it to 0.7, 0.5, 0.3 sats, etc. There was also a notification next to the total fee that said "xxx amount of sats will be added to the transaction." It always added enough to make the fee 1 sat/vByte.
If you have "output value rounding" enabled, that can increase the fee by up to 100 sats.
Also, dust-valued change outputs are not created but converted to fees.


Quote
electrum.labrie.ca
Confirmed, I was able to make a 0.3 sat/vB tx using this server.
I don't know how you got it to work because it didn't work for me. After I switched to the server, I saw the usual notification that the server won't broadcast my transaction when I set the transaction fee below 1 sat.
What version of the client were you running? Let me repeat it again, it will not work on any released version. You need the linked PR - and - to be connected to a low-fee server. You need both.

OR you can just run that one-liner in the console:
Code:
wallet.relayfee = (lambda: 0)
That in itself is sufficient.
Post
Topic
Board Electrum
Merits 27 from 7 users
Re: LoyceV's 0.1 sat/vbyte Electrum Server Adventure
by
ghost43
on 14/08/2025, 22:23:20 UTC
⭐ Merited by LoyceV (12) ,igor72 (4) ,hosemary (4) ,Pmalek (2) ,ABCbits (2) ,TryNinja (2) ,DireWolfM14 (1)
He won't have to broadcast the transactions using his Electrum server if he doesn't want to.
[...]
you can copy/paste the raw transaction using mempool.space's broadcast transaction window and broadcast it from there.
In that case the old method should still work. You can set
Code:
wallet.relayfee = (lambda: 0)
in the Qt console, and then the GUI lets you do whatever you want. Create even zero-fee txs.

Without the linked PR, the GUI won't even let you sign the tx. (perhaps that should be changed but that's how it works atm)
The server-reported minrelayfee is clamped, just like many other server-reported values, such as the dynamic fees, there are safety limits. It cannot go below 1 sat/vbyte. The PR is changing the value of the lower clamp.
Post
Topic
Board Electrum
Merits 5 from 5 users
Re: LoyceV's 0.1 sat/vbyte Electrum Server Adventure
by
ghost43
on 14/08/2025, 12:19:04 UTC
⭐ Merited by nc50lc (1) ,ABCbits (1) ,DireWolfM14 (1) ,TryNinja (1) ,hugeblack (1)
You will need https://github.com/spesmilo/electrum/pull/10096 for the client to allow attempting the broadcast.
Post
Topic
Board Electrum
Merits 3 from 3 users
Re: Error when paying BitPay invoice
by
ghost43
on 21/07/2025, 22:35:15 UTC
⭐ Merited by khaled0111 (1) ,nc50lc (1) ,ABCbits (1)
This has nothing to do with electrum servers. It's an issue with the SSL certificate that bitpay is sending to electrum. According to electrum you don't trust the certificate authority that issued that cert.
Indeed, this seems to be what's going on based on OP's description.

I don't know how you would go about fixing it in windows 11.
Electrum does not use the operating system's CA store anymore. The python certifi package is used, which bundles Mozilla's CA root store. certifi is a required dependency, and Electrum uses it as the CA store everywhere internally.

This has been the case since around version 3.3. Before that, for some network requests the certifi (/requests) store was used, for other Electrum implicitly used the OS store. Using the OS store used to cause weird issues on some systems.

https://github.com/spesmilo/electrum/blob/8eb3c43603ed1915fa3e0b8d17c9dbeb183270c5/electrum/util.py#L88
https://github.com/spesmilo/electrum/blob/8eb3c43603ed1915fa3e0b8d17c9dbeb183270c5/contrib/deterministic-build/requirements.txt#L15-L16

Every version of Electrum ships with some specific version of certifi, so over time that CA store might get out of date, for an older release.
(At least when running the binaries. However if you e.g. install from a Linux distro, they might update the version of python3-certifi that they package independently of Electrum.)
Post
Topic
Board Electrum
Re: Electrum: BIP-39 SHOCK: Disordered Mnemonic Unlocks LIVE Bitcoin Wallet
by
ghost43
on 23/06/2025, 20:56:28 UTC
Note that the checksum in BIP39 seeds is weak. A 12 word BIP39 seed only has a 4 bit checksum. There is a 1/16 chance that a random selection of 12 words from the wordlist is a valid seed.
Post
Topic
Board Electrum
Re: Electrum 4.5.7 Release
by
ghost43
on 25/10/2024, 02:33:39 UTC
I noticed that Electrum is no longer able to connect to my electrum server, even though I have never changed my server's conf file.  Undecided
What error do you get? Check the debug log of the client.
Post
Topic
Board Electrum
Merits 7 from 3 users
Re: Sending BTC from a specific address
by
ghost43
on 22/10/2024, 18:01:14 UTC
⭐ Merited by pooya87 (4) ,hosseinimr93 (2) ,Stalker22 (1)
Yes, coin selection is supported.
In the desktop Qt GUI, go to menubar>View>Addresses, and also menubar>View>Coins.
The Coins tab is better suited for this, where you can right-click an individual coin (utxo) and select "Add to coin control" (or "Remove from coin control").
There is similar functionality in the Addresses tab too.

Also, from the same right-click context menus, you can "Freeze"/"Unfreeze" addresses/coins, which is sort of the inverse operation (except freezing is persisted in the wallet file, so it will be remembered even if you close the application and reopen it later).
Post
Topic
Board Electrum
Merits 5 from 4 users
Re: Electrum 4.5.6 released
by
ghost43
on 20/10/2024, 16:03:47 UTC
⭐ Merited by pooya87 (2) ,DireWolfM14 (1) ,nc50lc (1) ,Husna QA (1)
Do we still need to close our Lightning Network channels when we upgrade Electrum to a newer version. Or the software is now able to find and display them automatically?

You don't need to close your channels when you update, especially in minor patch releases.
Even in major releases that was never the case. Well okay, IIRC 4.3 dropped support for old pre-static_remotekey channels, but that type was never in a released version (only on git master).

You can be sure that if you had to close channels as part of an upgrade, that would be in the release notes.
Post
Topic
Board Electrum
Merits 1 from 1 user
Re: Link from electrum.org to Google app store not working.
by
ghost43
on 17/10/2024, 13:11:16 UTC
⭐ Merited by Husna QA (1)
Maybe related:

https://github.com/spesmilo/electrum/issues/9218
>  Android app currently not available in Google Play in UK
Post
Topic
Board Electrum
Re: Electrum appimage does not run on Linux Mint
by
ghost43
on 25/01/2024, 19:47:47 UTC

Yes, indeed fuse2 is needed atm.
What do you mean by electron-sandboxing (4)? Electrum does not use electron. Do we really need that sysctl? I have never seen a problem with that before.
Post
Topic
Board Electrum
Merits 4 from 2 users
Re: Electrum appimage does not run on Linux Mint
by
ghost43
on 25/01/2024, 04:49:51 UTC
⭐ Merited by ABCbits (2) ,Abdussamad (2)
I think this is a compatibility issue according to the error it seems there is no GLIBC_2.28 in your current OS.

The app image is supposed to contain all dependencies. It does not rely on the host OS to meet dependencies.
In theory yes, but in practice there are some assumptions for what the host OS has and libc is one of those.
In general with AppImages, the idea is that the developer is supposed to build them on a very old Linux distribution, and users are then able to run them on newer (but not older) distros.

The AppImages for 4.3.2-4.5.2 are built using debian 10, which ships glibc 2.28.
Debian 10 is already "oldoldstable" at this point, so OP should really upgrade their system.
Post
Topic
Board Electrum
Re: 26.51 | E | qrscanner | failed to load zbar. exceptions
by
ghost43
on 20/01/2024, 05:49:48 UTC
zbar is used for webcams to scan a QR code and to decode it.
E.g. you have an invoice with a QR code shown on your phone screen and you hold it up to your laptop camera. The laptop would then need to have the zbar library.
If you don't need this feature, it is safe to ignore.
Post
Topic
Board Electrum
Merits 2 from 1 user
Re: Electrum 4.5.0: Icon is still in bright red color and "Not connected"
by
ghost43
on 20/01/2024, 05:43:40 UTC
⭐ Merited by Abdussamad (2)
You can see in the network overview that the client managed to connect to 9 servers ("connected nodes"). The red orb means that it could not connect to the main server selected.
I can also see that "select server automatically" is unchecked, meaning the client won't try any other server as main server. I guess that server is offline though.
So you should either enable automatic selection, or manually select another server.
Post
Topic
Board Electrum
Re: Electrum: how to use Full RBF?
by
ghost43
on 17/01/2024, 12:45:55 UTC
why can't you apply RBF to a transaction that doesn't have RBF set? That would be a useful feature to add to the GUI in Electrum.

What is your use case for trying to RBF txs that do not signal RBF?

~All txs created by Electrum signal RBF. Is it to bump the fee of txs created by other wallets?
Post
Topic
Board Electrum
Merits 1 from 1 user
Re: Electrum 4.5.0 released
by
ghost43
on 17/01/2024, 01:25:40 UTC
⭐ Merited by nc50lc (1)
* Plugins:
   - new: swapserver plugin (#8489)
Does anyone understand what this plugin does? I briefly checked relevant pull link at 8489, but i only can figure out it's related with LN.
Yes, it's related to Lightning.
It's a plugin that enables the user to set a custom "swapserver"
By default, Electrum uses Boltz for submarine swaps.

It's a plugin to run your own swap server, it is an alternative implementation to Boltz.

- You can point the client to any remote swap server by setting the "swapserver_url" config key (unrelated to plugin),
- and it is possible to run a swap server yourself locally using this new plugin (which itself is a server implementation in python).

We wrote the plugin for our own use, to replace Boltz, as they changed their license from AGPL to a non-free license around 2023-04.
Since around 2023-08 we are no longer using Boltz. That is, the official swap server is now an electrum daemon with this plugin enabled.
Post
Topic
Board Electrum
Re: Seeking advice on keystore import to sparrow wallet
by
ghost43
on 13/09/2023, 18:13:26 UTC
The seed structure of my wallet file is defined by a much longer string, containing several groups of alphanumeric data joined together by plus signs, with an equals sign at it's end - and the 'seed version' of the wallet is defined as 18.
I am attempting to discover why my wallet is so different in it's wallet seed structure and seed version number to the other electrum.dat wallets i am able to create using the older releases of the client.

That sounds like base64 encoding, which suggests the seed is encrypted. Are you by any chance comparing a wallet file that has a password set with one that does not? Tongue
Post
Topic
Board Electrum
Re: Electrum 4.4.4 Released
by
ghost43
on 02/06/2023, 23:26:08 UTC
As expected, they did not restore the ability to copy wallet seeds without having to type them manually.
Do you mean in the Android app? TBH that functionality in kivy might have been accidental... What exactly is your use case?
Post
Topic
Board Electrum
Merits 6 from 4 users
Re: Electrum Lightning problem, fee rant!
by
ghost43
on 11/05/2023, 16:34:00 UTC
⭐ Merited by hugeblack (3) ,nc50lc (1) ,Cricktor (1) ,ETFbitcoin (1)
note: OP also opened an https://github.com/spesmilo/electrum/issues/8419, where I replied in detail.
In short,
- when you open a channel, you cannot receive before sending some first
- and it is the channel-opener who pays for the on-chain fees of having the channel closed in the future, for which part of the opener's balance is set aside. When the on-chain fees are as high as recently (~500 sat/vb), the fee set aside can easily be approx 2 mBTC.
As OP opened a channel with a capacity of 2 mBTC (the minimum hardcoded value allowed by Electrum), he basically had no usable balance left.