Disposing of "dust attack" UTXOs

I’m not aware of anyone looking into it, no. Congratulations, you are now the person looking into it! :slight_smile:

You can use the dumptxoutset RPC and e.g. this script

to export the current UTXO set. From there, it’s probably just a few SQL queries to figure out how many close-to-dust UTXOs remain and when they were created.

There is also a PR for a utxo to CSV script open. If you end up using it, feedback on the PR is surely welcome.

2 Likes