btcsuite / btcwallet

A secure bitcoin wallet daemon written in Go (golang)
ISC License
1.15k stars 591 forks source link

Add option to allow for dust when checking outputs #907

Open benthecarman opened 10 months ago

benthecarman commented 10 months ago

This seems standard in most wallet libraries nowadays to give users the option to allow for dust if they know what they are doing.

guggero commented 14 minutes ago

You mentioned you need this for OP_RETURN outputs. But those should already be exempt by the check here. So I don't really see why this is needed? Or how exactly are you creating the OP_RETURN outputs?