A quick update on this project:
Thanks to @harris the ddust tool now 1) batches new dust inputs with unconfirmed dust disposal txs it finds in the mempool and 2) has a regtest integration test framework and initial tests.
@harris and I have also created a draft BIP specification for the protocol described in this thread and implemented in the ddust tool.
We’d love to get feedback from the community on the latest updates to the tool and on the draft BIP.
We’d especially like to hear from anyone who has written or reviewed BIPs to make sure this is a good draft before we submit a PR to the bips repo. And also from wallet (or wallet lib) maintainers on if this is a feature/spec you’d consider implementing, or if not why.
If you’d like get get involved on the ddust project a few top of mind ideas are:
- testing with popular hardware wallets to confirm they can sign the PSBTs created by
ddust - more tests for different types of P2SH, P2WSH, P2TR dust inputs (ie. 3-5, tap script, others?)
- tests for batching combinations of
ddusttransactions, adding dust inputs to unconfirmed multi-input txs - add a feature to batch unconfirmed ddust transactions without contributing any inputs
Or on the dusts dust stats project:
- what is the distribution of existing dust amounts
- what is the distribution of utxo amounts that have been subjected to a dust attack
- how have the dust or victim utxo amounts changed over time