Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
Dust limit defined as 5460 satoshi instead of 5430 in Bitcoin core #50
Comments
|
Thanks - spec should be updated to reflect 5460 if that's what's in the bitcoin source. |
marv-engine
commented
Feb 14, 2014
|
Corrected in #51 |
dexX7
closed this
Feb 14, 2014
dexX7
referenced this issue
Mar 26, 2014
Merged
Clarified aspects of smart property creation; other cleanup #97
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dexX7 commentedFeb 13, 2014
This issue has rather an impact on MSC related applications than the specification itself, but as the dust limit is explicitly mentioned as 5430 satoshi, it's probably worth to discuss.
When first introduced, the dust transaction threshold was falsely advertised as 5430 satoshi, but in fact it's 5460 satoshi. (see: fix comment about dust logic #2760)
To quote the reference implementation of Bitcoin:
Source: https://github.com/bitcoin/bitcoin/blob/master/src/core.h#L151 (or main.cpp in earlier versions)
As a direct result any transaction with an output value lower than 5460 satoshi gets rejected with the message "TX rejected (code -22)".
As secondary result this allows zero confirmation double spends where one transaction is broadcasted via a client that accepts such transactions and one that does not (e.g. via https://blockchain.info/pushtx and bitcoind).
After some testing it furthermore became clear that semi-dust transactions have a significant longer confirmation time compared to those that are accepted by the Bitcoin core client.