Bitcoin Forum
May 12, 2024, 03:41:09 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why does Electrum force a mining fee change?  (Read 649 times)
dave3 (OP)
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile
June 02, 2017, 05:19:04 PM
 #1

I just switched to Electrum, and sent my first transaction from it.

I tried to set the mining fee manually, but whether I set the "Use dynamic fees" in the preferences on or off, Electrum still tacked on an additional 9 satoshis to the static mining fee I set.

Not that it's a great amount, but why doesn't it use the static fee I set, and instead adds more to it?

1715485269
Hero Member
*
Offline Offline

Posts: 1715485269

View Profile Personal Message (Offline)

Ignore
1715485269
Reply with quote  #2

1715485269
Report to moderator
1715485269
Hero Member
*
Offline Offline

Posts: 1715485269

View Profile Personal Message (Offline)

Ignore
1715485269
Reply with quote  #2

1715485269
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715485269
Hero Member
*
Offline Offline

Posts: 1715485269

View Profile Personal Message (Offline)

Ignore
1715485269
Reply with quote  #2

1715485269
Report to moderator
kolloh
Legendary
*
Offline Offline

Activity: 1736
Merit: 1023


View Profile
June 02, 2017, 08:21:44 PM
 #2

I just switched to Electrum, and sent my first transaction from it.

I tried to set the mining fee manually, but whether I set the "Use dynamic fees" in the preferences on or off, Electrum still tacked on an additional 9 satoshis to the static mining fee I set.

Not that it's a great amount, but why doesn't it use the static fee I set, and instead adds more to it?



I tested and wasn't able to reproduce this on 2.8.2 . You aren't using a very old version of Electrum, are you?

Settings tested were


I was able to successfully enter a manual fee and when previewing the transaction, it used exactly what I typed as the fee.

How are you reproducing this issue?
dave3 (OP)
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile
June 02, 2017, 08:40:27 PM
 #3

I'm using Electrum 2.8.2.

This happened with my first transaction, but I did a second transaction, and it used the manual fee I entered the second time.

So I guess I can't reproduce it, but it definitely happened the first time.
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 03, 2017, 08:44:55 AM
 #4

I wonder if it might be some weird little rounding error somewhere when calculating the payment, change and fee sizes? 9 satoshi's seems like a really odd amount for it to be "out" by... Huh

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
dave3 (OP)
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile
June 03, 2017, 09:06:05 AM
 #5

Yeah, I don't know.  I misread the decimal points, too, it was actually 90 satoshis.  Also, the balance in my wallet ended in 90 satoshis.
TheButterZone
Legendary
*
Offline Offline

Activity: 3052
Merit: 1031


RIP Mommy


View Profile WWW
June 03, 2017, 09:21:56 AM
 #6

Current version of Electrum is 2.8.3

Saying that you don't trust someone because of their behavior is completely valid.
dave3 (OP)
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile
June 03, 2017, 10:57:03 AM
 #7

I just checked;  it is the latest version I'm using, Electrum 2.8.3.  I just downloaded and installed the latest version a few days ago.

I can reproduce it again now.  It looks like maybe when the end of your balance is 1-99 satoshis, it adds it to your mining fee forcibly.

After my last transaction, my balance ends in 43 satoshis, so I started a Send transaction (didn't actually send it this time).  Here you can see it tacks on the extra 43 satoshis to the fee:



It's not a lot now, but it's annoying, and maybe 10 years from now those extra satoshis would buy me lunch.  Smiley
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
June 03, 2017, 11:31:38 AM
 #8

Ahhhhh that explains it... Electrum is protecting you from yourself Wink

It is preventing your transaction from generating a dust output... having a UTXO of 43 sats sent back to your wallet is just completely pointless... as an input to a new transaction, it would require 148 bytes, at even stupid low fee of 1 sat/byte, you'd need to pay 148 sats, to use that 43 sat UTXO as an input to a transaction.

Now do the math with current fee rates of 300+... all of a sudden, your 43 sat UTXO is going to cost 44,400+ sats to put in a transaction...

be thankful Electrum wants to give it to the miners... it's cheaper Tongue

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
dave3 (OP)
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


View Profile
June 03, 2017, 11:46:51 AM
 #9

Except it wasn't actually dust.  I had just transferred everything from Bitcoin Core into Electrum with a single transaction.  So everything was under a single address.  The transaction size would still be the same.
Abdussamad
Legendary
*
Offline Offline

Activity: 3612
Merit: 1564



View Profile
June 03, 2017, 12:06:52 PM
 #10

Except it wasn't actually dust.  I had just transferred everything from Bitcoin Core into Electrum with a single transaction.  So everything was under a single address.  The transaction size would still be the same.


He's talking about the transaction output not the inputs. Try reading what he wrote again. Electrum has to avoid your wallet filling up with small meaningless amounts that you can't spend. It's why we use software like electrum to manage our coins for us.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!