|
locksley (OP)
Newbie
Offline
Activity: 26
Merit: 0
|
|
December 30, 2013, 08:17:24 AM |
|
Answering my own question, but I eventually found this https://bitcoinfoundation.org/blog/?p=290Summary: In 0.9, OP_RETURN data TxOut will become a standard transaction type. However, this is controversial, and some miners may just reject OP_RETURNs with data junk.
|
|
|
|
maaku
Legendary
Offline
Activity: 905
Merit: 1012
|
|
December 30, 2013, 08:48:26 AM |
|
The answer to your question as stated is that if you connect directly to a miner which accepts that transaction type, then you can get those transactions in their blocks. Just because some nodes won't relay doesn't mean other nodes won't include it in their blocks.
|
I'm an independent developer working on bitcoin-core, making my living off community donations. If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
|
|
|
loquitus_of_borg
Newbie
Offline
Activity: 50
Merit: 0
|
|
February 18, 2014, 10:19:43 PM |
|
The answer to your question as stated is that if you connect directly to a miner which accepts that transaction type, then you can get those transactions in their blocks. Just because some nodes won't relay doesn't mean other nodes won't include it in their blocks.
Given we know this tx did get relayed, if we want to send out OP_RETURN tx's, is there a way to do so? I have figured out how to construct such a message properly, but it seems to be impossible so far to send it out, as expected. The typical "entry points" to send the raw tx (such as blockchain.info's push or bitcoind's sendrawtransaction) tend to fail. The latter fails client-side, I think and does not even bother talking to the network. Perhaps the IP of the node that relayed this example tx successfully is a miner that does accept such tx's?
|
|
|
|
|
loquitus_of_borg
Newbie
Offline
Activity: 50
Merit: 0
|
|
February 18, 2014, 11:10:34 PM |
|
Interesting! I tried and got the following: Trying to send... array(3) { ["result"]=> string(64) "<XXX>" ["error"]=> NULL ["id"]=> string(1) "1" } Response = 0 <XXX> replaces what appears to be a hex string that is the same length as a tx hash. What does this mean? Also, when you say it could take a while, do you mean the confirmation time?
|
|
|
|
maaku
Legendary
Offline
Activity: 905
Merit: 1012
|
|
February 19, 2014, 12:12:53 AM |
|
Eligius does not accept OP_RETURN outputs.
|
I'm an independent developer working on bitcoin-core, making my living off community donations. If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
|
|
|
TierNolan
Legendary
Offline
Activity: 1232
Merit: 1104
|
|
February 19, 2014, 10:21:16 AM |
|
Eligius does not accept OP_RETURN outputs.
Is that a policy thing, or they haven't updated?
|
1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
|
|
|
maaku
Legendary
Offline
Activity: 905
Merit: 1012
|
|
February 19, 2014, 10:42:47 AM |
|
Policy.
|
I'm an independent developer working on bitcoin-core, making my living off community donations. If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
|
|
|
TierNolan
Legendary
Offline
Activity: 1232
Merit: 1104
|
|
February 19, 2014, 11:38:57 AM |
|
Policy.
Is their reasoning that people shouldn't be spamming the blockchain with data unrelated to bitcoin? If so, how do they propose to stop it?
|
1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
|
|
|
loquitus_of_borg
Newbie
Offline
Activity: 50
Merit: 0
|
|
February 19, 2014, 01:31:39 PM |
|
It is a matter of opinion if it is spamming. You can argue it both ways. Frankly, miners can always choose to reject your TX if they want to, based on what fee you provide. So ultimately, the miners could just process such TX's with a high enough fee that justifies it. Sort of alleviates a mass-spam issue and now, people are paying to store data. Policy.
Is their reasoning that people shouldn't be spamming the blockchain with data unrelated to bitcoin? If so, how do they propose to stop it?
|
|
|
|
maaku
Legendary
Offline
Activity: 905
Merit: 1012
|
|
February 19, 2014, 03:48:49 PM |
|
Or, like Eligius, they can reason that spamming the network with data is uniformity bad for everyone and an externalized cost that is not properly accounted for, and reject all data transactions on principle, for the health of the network.
|
I'm an independent developer working on bitcoin-core, making my living off community donations. If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
|
|
|
TierNolan
Legendary
Offline
Activity: 1232
Merit: 1104
|
|
February 19, 2014, 06:42:29 PM |
|
Or, like Eligius, they can reason that spamming the network with data is uniformity bad for everyone and an externalized cost that is not properly accounted for, and reject all data transactions on principle, for the health of the network.
Well, if people are going to do it anyway, the OP_RETURN system means that it is does less damage (disk block rather than RAM bloat).
|
1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
|
|
|
|
genjix
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
February 21, 2014, 12:36:14 PM |
|
Eligius does not accept OP_RETURN outputs.
yes they do.
|
|
|
|
maaku
Legendary
Offline
Activity: 905
Merit: 1012
|
|
February 21, 2014, 05:13:35 PM |
|
Well, it's not *supposed* to, and Luke-Jr considers it a bug if it does. [09:09:16] <maaku> Luke-Jr: does Eligius accept OP_RETURN data outputs? [09:10:23] <Luke-Jr> maaku: not intentionally. [09:11:01] <maaku> you've fixed it right, so it no longer does? [09:11:08] <Luke-Jr> not sure [09:13:40] <Luke-Jr> maaku: if it works right now, hopefully we will fix that soon
|
I'm an independent developer working on bitcoin-core, making my living off community donations. If you like my work, please consider donating yourself: 13snZ4ZyCzaL7358SmgvHGC9AxskqumNxP
|
|
|
genjix
Legendary
Offline
Activity: 1232
Merit: 1076
|
|
February 21, 2014, 07:03:43 PM |
|
Well, it's not *supposed* to, and Luke-Jr considers it a bug if it does. [09:09:16] <maaku> Luke-Jr: does Eligius accept OP_RETURN data outputs? [09:10:23] <Luke-Jr> maaku: not intentionally. [09:11:01] <maaku> you've fixed it right, so it no longer does? [09:11:08] <Luke-Jr> not sure [09:13:40] <Luke-Jr> maaku: if it works right now, hopefully we will fix that soon
ok thanks for clarifying
|
|
|
|
gidgreen
Newbie
Offline
Activity: 3
Merit: 0
|
|
March 24, 2014, 08:58:59 AM |
|
This site shows all recent OP_RETURNs in the bitcoin blockchain: http://coinsecrets.org/Might be helpful for debugging purposes.
|
|
|
|
|