Add onlyNonRgbppUtxos option in the DataSource.collectSatoshi() API, tests are also updated
Set onlyNonRgbppUtxos = true by default in the TxBuilder when collecting UTXOs
What is it
Previously, if the value of a RGBPP UTXO is >= 546, it may be used to pay fee in a transaction. With the onlyNonRgbppUtxos option added, the SDK can filter out RGBPP UTXOs in the satoshi collection process, therefore preventing misuse of RGBPP UTXOs.
Changes
onlyNonRgbppUtxos
option in the DataSource.collectSatoshi() API, tests are also updatedonlyNonRgbppUtxos = true
by default in the TxBuilder when collecting UTXOsWhat is it
Previously, if the value of a RGBPP UTXO is
>= 546
, it may be used to pay fee in a transaction. With theonlyNonRgbppUtxos
option added, the SDK can filter out RGBPP UTXOs in the satoshi collection process, therefore preventing misuse of RGBPP UTXOs.Related issues