What is the dust limit on Bitcoin Cash transactions?

7

I understand from another question here on Stack Exchange that the dust limit for Bitcoin transactions is 546 satoshi, meaning that no transaction output may be on an amount less than that. What is the equivalent dust limit for Bitcoin Cash transactions?

Thorkil Værge

Posted 2018-03-01T10:58:21.463

Reputation: 637

I usually think about the dust level in units of sat/Kb.Willtech 2018-03-05T10:20:46.267

Answers

6

Bitcoin-ABC (the reference implementation of Bitcoin Cash) is a fork of bitcoin core, there are no big changes to the settings.

so bitcoin cash dust limit is exactly the same as Bitcoin which is 546 Satoshi.

To make sure you can review Bitcoin-cash-ABC/transactions_test/ file code on GitHub line 546

And on transactions file here

/**
 * "Dust" is defined in terms of CTransaction::minRelayTxFee, which has
 * units satoshis-per-kilobyte. If you'd pay more than 1/3 in fees to
 * spend something, then we consider it dust. A typical spendable
 * non-segwit txout is 34 bytes big, and will need a CTxIn of at least
 * 148 bytes to spend: so dust is a spendable txout less than
 * 546*minRelayTxFee/1000 (in satoshis). A typical spendable segwit
 * txout is 31 bytes big, and will need a CTxIn of at least 67 bytes to
 * spend: so dust is a spendable txout less than 294*minRelayTxFee/1000
 * (in satoshis).
 */

Adam

Posted 2018-03-01T10:58:21.463

Reputation: 3 215

How weird is it that this information was on line 546?Thorkil Værge 2019-07-29T20:23:21.037

Can you provide some sources for this answer somehow?Thorkil Værge 2018-03-05T09:41:09.653

Yeah, I've edited the answer!Adam 2018-03-05T10:01:49.910

1I didn't know the dust limit was different on segwit transactions but it makes sense based on the comments from the code.Thorkil Værge 2018-12-10T09:31:56.290