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

Accettable OP_RETURN usage #1029

Closed
RCasatta opened this issue Aug 25, 2015 · 6 comments
Closed

Accettable OP_RETURN usage #1029

RCasatta opened this issue Aug 25, 2015 · 6 comments
Labels

Comments

@RCasatta
Copy link

I am working with wallet developers to integrate a plugin that let's users to optionally write arbitrary data in OP_RETURN. It's a separate stand-alone function in a separate window than regular wallet operations. The purpose of that transaction is explicitly to write data on OP_RETURN, not to transfer bitcoin. The transaction is not sent to someone else so it cannot be used to spam users.
One developer is concerned about the use of OP_RETURN and the possible delisting of his wallet on the bitcoin.org web site because of its use. For this reason he don't want to integrate the plugin in his wallet.
Is it a legitimate worry?
If yes, is there some accettable OP_RETURN usage?

Taking the opportunity to compliments for the great work for the community.
Best

@luke-jr
Copy link
Contributor

luke-jr commented Aug 25, 2015

Acceptable OP_RETURN use is to commit to external data, or to encode necessary metadata with a transaction. Writing arbitrary messages that get included on the blockchain is always spam; regardless of the transaction's recipient, every node must still download it. The fact that you are not intending to transfer bitcoins at all just makes the entire "transaction" itself spam whether or not an OP_RETURN is included in it.

I would support delisting any wallet software explicitly supporting such spam (or any other kind of harm to Bitcoin).

@crwatkins
Copy link
Contributor

@RCasatta If the purpose is not to transfer bitcoin, is the purpose to use the blockchain to record non-Bitcoin related information?

@RCasatta
Copy link
Author

RCasatta commented Sep 9, 2015

I personally don't know for sure... But if many found useful and valuable using the blockchain and his derived property for other purpose than transferring bitcoin and they are going to pay the fee for that why not? Colored coins and Timestamping services are doing the same.
The problem is that nodes aren't payed for their resource usage but anyway Bitcoin protocol cannot forbid this kind of interaction (banning op_return can only make thing worse as we saw) you can just discourage it by not including this kind of services on bitcoin.org but if people will find this useful the blockchain will be used also for this.
I cannot see that as a bad thing since fees are paying the miners and securing the network.
Even if I am agree that the main purpose of the blockchain is to transfer bitcoin, many times things aren't used for what they are thought for.

@dexX7
Copy link
Contributor

dexX7 commented Oct 29, 2015

Support for creating OP_RETURN raw transactions was merged into Bitcoin Core via bitcoin/bitcoin#6346, which sets a precedence for these kinds of integration in my opinion.

@luke-jr
Copy link
Contributor

luke-jr commented Oct 29, 2015

@dexX7 Please do not read unnecessary things into actions, especially when they are explicitly false.

@fraggle222
Copy link

If OP_RETURN allows any data to be included and there are no rules in bitcoin to enforce what data is included (other than length), then by virtue of website policy we should not enforce some arbitrary rule here. If there are meant to be restrictions on OP_RETURN, then those restrictions should be built in to bitcoin (with appropriate BIP and/or pull request to bitcoin-core). Not enforced as a website policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants