Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dust threshold changed in 0.11.1 #1550

Closed
torusJKL opened this issue Nov 12, 2015 · 7 comments
Closed

Dust threshold changed in 0.11.1 #1550

torusJKL opened this issue Nov 12, 2015 · 7 comments

Comments

@torusJKL
Copy link

If the remaining bitcoins of a payment are considered to be dust then we get the error 64:dust.
This is not user friendly and can confuse new users.

The scenario could be as follow::

  • 2700 satosohi is considered to be dust
  • the input addresses sum to the amount of 1.00002000 BTC
  • the payment is 1 BTC
  • the output address (change) would be 0.00002000

Instead of giving the dust error Electrum would ask the user to increase the fee by the amount of the remaining dust (e.g. 0.00002 BTC).
The user can accept it or cancel the payment.

If he accepts than the dust will be automatically added to the fee so that the remainder will be 0.

This does not cover the scenario when a user wants to send an amount that by itself is already dust.

@ecdsa
Copy link
Member

ecdsa commented Nov 12, 2015

Electrum already adds dust outputs to the fee.
the dust threshold is 546 satoshis in the current version.
does it need to be changed?

@torusJKL
Copy link
Author

I added this request from what I understood in the recent forum threads.
e.g. https://bitcointalk.org/index.php?topic=1247379.0
I will try to reproduce it myself.

@ecdsa
Copy link
Member

ecdsa commented Nov 12, 2015

Either the OP uses an outdated version of Electrum, or the electrum server has a different definition of dust (unlikely, because 546 has been the norm for a long time).

@ecdsa ecdsa closed this as completed Nov 12, 2015
@ecdsa ecdsa reopened this Nov 12, 2015
@ecdsa
Copy link
Member

ecdsa commented Nov 12, 2015

apparently it changed again: https://bitcointalk.org/index.php?topic=1214993.0

dust_threshold = 182 * 3 * min_relay_fee/1000

@ecdsa ecdsa changed the title Ask the user to increase the fee by the dust amount of the output Dust threshold changed in 0.11.1 Nov 12, 2015
@ecdsa
Copy link
Member

ecdsa commented Nov 12, 2015

best thing will be to add a new RPC
in the short term, I will increase min_relay_fee in the client.

@ecdsa
Copy link
Member

ecdsa commented Nov 12, 2015

ok, version 2.5.4 is released, with a higher threshold

@ecdsa ecdsa closed this as completed Nov 12, 2015
Toporin pushed a commit to Toporin/electrum-satochip that referenced this issue Sep 25, 2019
Wine Build: Fix uninitialized memory in NSIS making build non-reproducible
Toporin pushed a commit to Toporin/electrum-satochip that referenced this issue Sep 25, 2019
This is a follow-up to the bug workaround in spesmilo#1550.

We insist the icon contain 7 real valid layers rather than 2 fake 1x1
layers because Calin is paranoid.
@Anynomouss
Copy link

Dust is managed very crappy in Electrum IMO.
My transaction includes one large Bitcoin output and one smaller one of 1 Satoshi. In the first place, what is the freedom of money/Bitcoin if you cannot transact it freely. If I am willing to spend dollars for a single dust output I should have that freedom.
Secondly, If 1 Satoshi output are not allowed by any Electrum network, why does the wallet itself allow me set 1 Satoshi as value for an output to begin with. Thirdly, the other output is clearly large, so why does the network reject the transaction, all outputs should be considered, not just one. Because of this shitty rule/implementation I have to repeat the dance of a large MultiSig wasting a lot peoples time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants