Questions tagged [op-return]

An opcode that allows you to create an unspendable transaction output that stores up to 80 bytes of data.

Filter by
Sorted by
Tagged with
1
vote
0answers
32 views

How to add money to my Bitcoin Wallet and send my first Raw Transaction with OP_RETURN using bitcoin-cli

Background So after reading these two articles (Learning Bitcoin from the Command Line and Mastering Bitcoin), I am trying to piece together how I can get my first transaction with OP_RETURN data ...
1
vote
1answer
49 views

Send payment and message at the same time

I am using NBitcoin to write some code. I want to send some bitcoin to an address AND include a message with it. The message could say who the payment came from or why it was sent. According to the ...
0
votes
1answer
47 views

Is OP_RETURN dangerous for Bitcoin?

Please explain something about OP_RETURN to me? https://bitcointalk.org/index.php?topic=1166928.0 I saw a discussion that the contents of OP_RETURN can open the value of access to the private key. I ...
2
votes
1answer
142 views

Why does this coinbase transaction have two op_return outputs?

I've been looking at coinbase transactions for fun and I came across one with two op_return outputs.. Does anyone know what the second one is? Also, I understand the first op_return is used to ...
1
vote
1answer
40 views

What is service or entity broadcasts transactions with OP_RETURN data starting with “LP…”?

There have been quite a few OP_RETURN transactions recently where OP_RETURN data in the scriptPubKey starts with 4c 50 which is LP as ASCII. For example these transactions: - ...
0
votes
1answer
57 views

How do I broadcast an OP_RETURN transaction using bitcoin cli

I am using Bitcoin Testnet's command line (and GUI). I am curious how, using my own computer and equipment (I already used a faucet) I could send a transaction easily. I tried https://github.com/...
0
votes
1answer
38 views

Retrieve number of OP-RETURN transaction

Is there a possible way to extract the bitcoin transaction protocoll with Python and extract specifically OP RETURN transaction? I want to plot the number of those over the course of time to derive ...
1
vote
1answer
94 views

In the bitcoin scripting language, how can I access other outputs of the transaction? Or how else can I limit how the coins may be spent?

Is there any way to add an opcode to a UTXO that prevents how the coins are spent? For example, in order to to spend the output, a person must send X number of bitcoin to Y address within the ...
0
votes
2answers
139 views

Is there anything preventing Lightning Network from passing embedded data in OP_RETURN?

As long as you pay a BTC fee for all the routing node incentives and the last layer in the onion routing includes a transaction with OP_RETURN, wouldn't that allow using OP_RETURN for various ...
0
votes
2answers
70 views

What Opcodes are used to store a file within Bitcoin? [closed]

At a block-to-block level, what is actually encoded at a byte[] level to encode a file stream?
0
votes
0answers
32 views

How does transaction authentication between buyer and seller look for?

I am new to cryptography and would like to understand how a digital signature works between a buyer and a Bitcoin seller. How does transaction authentication between buyer and seller look for? Please ...
3
votes
1answer
72 views

Can PUSHDATA/OP_RETURN be used to break a trail of transactions permanently?

I was reading the Bitcoin wiki on how the Bitcoin protocol has no "From" address and the closest thing to a from address is a "previously receiving address". The article then proceeds to show a ...
3
votes
1answer
377 views

What's the deal with OP_RETURN and length?

It seems like most OP_RETURN transactions include length as the first byte after the OP_RETURN code. Is this specified anywhere? Also, the length is sometimes the entire length of the rest of the ...
0
votes
1answer
65 views

Consensus roles for op_return

What is the validation rule, not policy, for op_return? What is the maximum length of the data that can be attached? Is it 514 bytes? As if the maximum script size was 520 bytes -1 byte for the ...
2
votes
1answer
1k views

OP_RETURN max bytes clarification

I've read that an OP_RETURN opcode allows up to 80 arbitrary bytes to be used in an unspendable transaction. My question is, how is it possible that in this famous transaction (...
2
votes
1answer
524 views

OP_RETURN in a coinbase transaction?

Hey looking at this transaction I'm confused why there are two outputs and why one of them is labelled with OP_RETURN
1
vote
1answer
886 views

What's with this address 1111111111111111111114oLvT2?

It was the burn address with the most BTC received in 2017 according to http://bitcoinwhoswho.com/blog/2017/12/30/8-97-bitcoins-burned-in-2017/. It's Hash160 is ...
2
votes
1answer
206 views

Why is there an output with op-return in regtest mode?

Here is an output from getrawtransaction: { "txid": "a2b9e3aa4adeb68a9b8b8b0bbc8d4890585cd711e89cda83e7f236397fac6218", "hash": "6d96c04d49eefe3eab4934188841ef3592c818bf789517b90b1f71ff75a14c26",...
4
votes
1answer
688 views

Bitcoin Protocol OP_RETURN + Omni USDT Tether + CoPay Multisig Help

I have been asked to recover some tether that have been sent to the wrong address... Sitting on the blockchain in a multisig copay account. I have written small php command line tools to reproduce ...
0
votes
1answer
637 views

Create an OP_RETURN tx and validate it's existence in Regtest

A part of my MSc thesis is storing the hash of a string with OP_RETURN tx in the Blockchain to exist as a proof. My main concerns are: -how can i send this tx successfully to my regtest network -...
0
votes
1answer
67 views

Is possible specify who can send bitcoins to me?

I have an idea to store data in OP_RETURN, but… The main problem is it need to easy to review all the transactions. I mean, every user need to have access to the OP_RETURN, giving the public key ...
1
vote
2answers
887 views

Convert plaintext script into hex-encoded script in python

I'm creating a program (for an altcoin I'm developing) that should make it easy to create OP_RETURN transactions. Currently I'm having some trouble with actually creating the script pythonically (I ...
0
votes
1answer
269 views

Get OP_RETURN from bitcoin-cli

Is there a way to extract old OP_RETURN transactions from the commandline with bitcoin-cli or something? Something in the way of getAllOpRetFromBlock(345345) ...
2
votes
1answer
358 views

Can a transaction have a single 0-value OP_RETURN as its only output?

My goal is to create a transaction that spends dust outputs to a miner. Since the goal is to reduce the UTXO set by consuming low value outputs, I do not want to create any new UTXO by actually ...
1
vote
1answer
627 views

creating OP_RETURN script on bitcoin core console. i.e. with the help of commands

I want to create a OP_RETURN script on bitcoin core console. Not using GUI, i.e. available on proofofexistence.com , Just as we create raw transaction and then sign it and then broadcast it, I am ...
0
votes
1answer
139 views

Is it feasible to store information in the Bitcoin system?

I see that some new services are based on the possibility of storing information in the bitcoin system. For example, you can use it to store an encrypted file with a blueprint of an invention. Is ...
0
votes
1answer
167 views

Thin Client and OP_RETURN

I'd like to better understand how a light client works. As far as I know, a light client stores locally only the block headers (80 bytes each) and it receives a new block header on average each 10 ...
3
votes
2answers
389 views

Colored coin adds meta data to OP_RETURN. Why isn't this frowned upon?

It seems that adding data to OP_RETURN is frowned upon and considered as bloating the blockchain. Blockchain.info wallet also had a short stint where users could include data into the OP_RETURN ...
1
vote
1answer
439 views

What is the 6a[…] hash in OP_RETURN transactions?

I've been looking up OP_RETURN transactions on http://coinsecrets.org/ and I noticed that they all contain hashes that start with 6a, for instance: ...
0
votes
1answer
921 views

Why OP_RETURN should be used instead of raw data?

I've read this great Explanation of what an OP_RETURN transaction looks like and now I have only one question. Imagine that someone want to store some data in Bitcoin's blockchain. Why should he use ...
2
votes
1answer
670 views

What was the very initial value of OP_RETURN?

My understanding is that OP_RETURN was first introduced in v0.9.0 (https://bitcoin.org/en/release/v0.9.0). This link (https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2014-November/006917.html)...
1
vote
1answer
111 views

OP_RETURN malleability?

Can anyone alter the data after OP_return? My question needs to have more characters, so I insert an example, that doesn't hurt: "vout" : [ { "value" : 0.00000000, "n" : 0, ...
3
votes
1answer
488 views

Do OP_RETURN messages persist on the blockchain?

I've been doing a lot of reading on OP_RETURN, and I want to understand something that still seems unclear. When we create a transaction with OP_RETURN (which I understand will not eternally pollute ...
3
votes
1answer
442 views

OP_RETURN marks transaction or output as invalid

I am currently looking into the Bitcoin script. I want to create a transaction with one output with OP_RETURN and some data, and one output which pays coins to some address. I am confused, does ...
1
vote
1answer
124 views

Do I need a full node to perform OP_RETURN transactions?

I want to build a services that allows people to perform OP_RETURN for proof of existence. Do I need to run a full node to do this (then e.g. using the OP_RETURN PHP scripts from https://github.com/...
1
vote
2answers
285 views

Is OP_RETURN combined with a hash, appropriate for proof of existence of an asset?

I want to store a hash (of a tweet) in a way that is : Censorship proof Public Unchangeable Persistent Non centralized Less expensive as possible, obviously free if possible Technology offered by ...
1
vote
1answer
159 views

Zero-BTC transaction fees, service-specific mining pools and external compensation

Bitcoin is a network that is proven to be stable, but if you want applications on top of Blockchains you have to play by the rules of the system. For notary use cases (for example), where you would ...
0
votes
1answer
88 views

error durring the bitcoincore installation

I want to use python-OP_RETURN library. For this I need to install bitcoin core. But when I exceute this command sudo apt-get update I have this error : Err http://ppa.launchpad.net jessie/main ...
1
vote
1answer
2k views

Install bitcoin core on debian jessie error

I have to install bitcoin core to use op_return library. But I have difficulties to install correctly bitcoin core. First I run the command sudo apt-add-repository ppa:bitcoin/bitcoin Second I ...
4
votes
1answer
111 views

Does any current SegWit or blocksize increase proposal also seek an increase in the OP_RETURN byte limit?

Does any current SegWit or blocksize increase proposal also seek an increase in the OP_RETURN byte limit? https://en.bitcoin.it/wiki/OP_RETURN Are there any current pull requests that seek an ...
1
vote
3answers
165 views

Accessing Testnet [duplicate]

Can i access the testnet without downloading the blockchain? im developing a software to do a testnet (later it will be in mainnet) transaction with a custom message embedded into OP_RETURN. if the ...
1
vote
1answer
389 views

OP_RETURN custom message in testnet transaction

I would like to do a bitcoin transaction in testnet by embedding a custom message in the OP_RETURN. do i have to download the bitcoin core client with and the block chain to do that? or can i use a ...
4
votes
1answer
524 views

Transaction with `OP_RETURN` to a particular address

How do I formulate a transaction with OP_RETURN to a particular address using the bitcoinj library? SendRequest req; Transaction transaction = new Transaction(Main.getNetWorkParameters()); ...
2
votes
1answer
155 views

Question regarding the number of bytes in an OP_RETURN transaction

I was reading this very useful explanation of what an OP_RETURN transaction looks like and got tripped up by part of it. "hex" : "6a13636861726c6579206c6f766573206865696469" This first ...
6
votes
1answer
2k views

Testnet: mandatory-script-verify-flag-failed when doing OP_RETURN

For some reason I keep getting error: {"code":-25,"message":"Missing inputs"} EDIT: Updating error now that the full testnet blockchain is downloaded "code":-26,"message":"16: mandatory-script-...
5
votes
3answers
632 views

What would happen if there are more blockchain imitators like Factom?

I was referring to this question. Apparently Factom creates its own "chain" for timestamping purposes, "hashes" the entries, and then stores these hashes on the blockchain, to create an unalterable ...
0
votes
1answer
147 views

How to read the asset quantity list of open asset protocol?

I'm studying open asset protocol, however I have no idea how to read asset quantity list. The Open Assets Protocol documentation tells that data in marker output 0xac 0x02 0x00 0xe5 0x8e 0x26 ...
3
votes
1answer
471 views

'The node is not in a connected state' error when trying to execute OP_RETURN transaction with NBitcoin

This is my first time trying out the NBitcoin library to create a transaction. I am trying to create an OP_RETURN transaction, but every time I try to execute the Version Handshake with the node I get ...
2
votes
2answers
359 views

Where is the code making OP_RETURN a standard transaction type?

I am looking through the bitcoin github history. I am trying to find the commit where OP_RETURN became accepted as a standard tx. This was included in the changelog for Bitcoin Core 0.90. Any help ...
4
votes
2answers
221 views

When can I send 80 byte OP_Returns?

I heard bitcoin-core 0.11 allows 80 byte OP_Returns, but I know miners operate different implementations and was wondering when it would be likely that 80 byte OP_Returns will be swiftly included in ...