Bitcoin-Cash

比特幣現金交易的粉塵限制是多少?

  • February 27, 2021

我從Stack Exchange 上的另一個問題了解到,比特幣交易的灰塵限制為 546 satoshi,這意味著沒有交易輸出可能低於該數量。比特幣現金交易的等效粉塵限制是多少?

Bitcoin-ABC(比特幣現金的參考實現)是比特幣核心的一個分支,設置沒有大的變化。

所以比特幣現金粉塵限制與比特幣完全相同,即 546 Satoshi。

為了確保您可以查看GitHub第 546 行上的 Bitcoin-cash-ABC/transactions_test/ 文件程式碼

並在此處的交易文件中

/**
* "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).
*/

引用自:https://bitcoin.stackexchange.com/questions/71604