-snip-
But what do I risk if someone purposely send me dust? Is it just paying a higher fee when I try to consolidate later or there is a risk of privacy too since it links my address together?
The fee isn't much of an issue for now (
as long as the average fee isn't higher than 3sat/vB) since it's already countered by that 3sat/vB dustrelaytxfee policy.
So as long as your spend/consolidate transaction's fee rate isn't higher than that, including an input with minimum value wont reduce the overall amount that you can send.
Because its added size to the transaction's overall size wont use the other inputs' amount to cover for its bandwidth;
basically, it's free money if you don't value your privacy or if you'll consolidate with all of your address as inputs anyways.
The real danger is its impact to your privacy as explained by the users above this reply.
The catfish vanityaddress scheme (
address poisoning) is just silly but it I've seen some articles that there are victims of it.
Since you're using an exchange, be careful since some AML algorithms also follow UTXO flow, not just addresses.
So it's best to keep those spam UTXO isolated in case those are from questionable sources because it might get you in trouble when you deposit back to your exchange account from your self-custodial wallet if you accidentally spend it.
No. I'm using a different wallet currently not Electrum. It probably has coin control too but I haven't tempered with it yet because I don't want to mess things up. I might test it later with a separate wallet since Electrum does dust avoidance by default.
If it's a well-written self-custodial wallet, then it must have that feature.
Usually, such wallet picks the best UTXO(
s) available to cover for the intended amount to be sent without producing a small change as much as possible, will even include the remaining dust to the fee if needed.
But since it still depends on your available "
coins" (
UTXO) its coin-picker can still fail to do that if it doesn't have any choice.