Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dust avoidance for OP_RETURN output #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

deeb33
Copy link

@deeb33 deeb33 commented Oct 30, 2018

OP_RETURN outputs don't require a non-dust output value. If a non-zero
value is put into the output, the amount becomes unspendable and lost
forever.

I've tested the change with a small html file which I have not included in the pull request at this time. The results of the test can be found on memo.cash by searching for "sorry dave" and and viewing the tx on one of the block explorers.

One concern: the datacash code allows for arbitrary scripts to be passed in. If something other than a dataout type script is given, then the zero value output would cause the tx to be rejected.

OP_RETURN outputs don't require a non-dust output value.  If a non-zero
value is put into the output, the amount becomes unspendable and lost
forever.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant