Bitcoin Forum
June 29, 2024, 08:47:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 ... 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 [103] 104 105 106 107 108 109 110 111 112 113 114 »
2041  Bitcoin / Development & Technical Discussion / Re: Is it possible to add a receive address in an OP_RETURN transaction? on: October 24, 2014, 11:56:26 PM

i,ii,iii,iv parts should be in any ordinary tx body.
I'm wondering if I have the OP_RETURN part, is iv. part (the "to address") can still be there

Thanks~

I think you and amaclin are misunderstanding each other.

You mean that you want the output to send bitcoin to an address while at the same time storing 40 bytes of data?

In that case, no. That would be non-standard.

In order to place 40 bytes on a transaction, you are placing "OP_RETURN: 40 bytes of data here" in the place where you would normally put "To: Alice's address"... this is why blockchain.info says "Can't Decode."

Because blockchain.info expects the output to have a bitcoin address in it, but instead there's a "OP_RETURN: data data data" written there, so blockchain.info says "Can't decode"

Ha!  Shocked Cool

that's exactly what I am asking and suspecting, thanks dabura667 !
Last night I also googled a related info:
http://bitcoin.stackexchange.com/questions/19703/does-proof-of-existence-lose-bitcoins
Quote from: Murch
The transaction encoding the document hash looks exactly like any other normal pay-to-address transaction. The only difference is the address which is a representation of the document hash instead of a hashed public key, and therefore there is no private key associated with it (that's why it is unspendable).


Maybe by specifically adding an extra "To addr" can achieve that both Alice and Bob's address appear in the blockchain?

(From: Alice) ---TX--->(To addr1: Bob; To addr2: OP_return Can't decode)


2042  Bitcoin / Development & Technical Discussion / Re: Is it possible to add a receive address in an OP_RETURN transaction? on: October 24, 2014, 08:17:32 AM
Quote
Or in the worst scenario, even if "to addr" is filled with Bob's pub key, it still says "Unable to decode output address" on the blockchain...

No.
From the Bobs view:

(appearing bubble message from bitcoin client)
Wow! someone send me coins!
OK, I received 1 btc. But who sent it? I do not know. May be Alice? Only she knows my address.
I want to do some investigation... Hmm...
Strange transaction... It has several inputs and three outputs...
First output is to me (I am Bob, I know my address).
Second output is some small value... It is Alices change! But I am not sure yet that it is Alice
And third output is very strange... bc.i site can not parse it... Let me do it manually...
Wow! It is OP_RETURN script with some data attached.
May be it is plain text? Hmmm... No.
May be it is BASE64? Yes!
Decoding... Decoding... Got the message! The message is "Wonder who I am?"

LOL   Grin
2043  Bitcoin / Development & Technical Discussion / Re: Is it possible to add a receive address in an OP_RETURN transaction? on: October 24, 2014, 07:46:44 AM
Quote
i. My address (or, the "from" address, sure it's there).
ii.  tx fee of 0.0001btc (sure it's there too).
Seems to me that you do not understand correctly what are transactions itself, their inputs, outputs...
In fact, there can be many "from" addresses in transaction.
And usually there are more than one "to" address. One is Bobs, the second is change to yourself.

Sorry, it is difficult for me to explain bitcoin basics here. English is not my native language.

Quote
iv. Bob's address (or, the "to" address, ? Possible ? ).
v. 40 bytes of other information in OP_RETURN, not related to Bob's address.
I'm wondering if I have the OP_RETURN part, is iv. part (the "to address") can still be there
In two words:
Yes, you can add 40 bytes to your transaction. These bytes will be visible for everybody. What can one do with them - it is up to you.

I understand that a tx can be like a m:n relation, and by default the "change" will be sent to a new address automatically generated in my QT wallet.

I heard normally if I attach a msg in a tx, it will not go to the blockchain. But by using OP_RETURN, it can be stored in blockchain.
Like this http://bitcoin.stackexchange.com/questions/19893/how-to-send-bitcoin-with-a-message-attached

So, If Alice were to send a message "love" to Bob.
The "from addr" is Alice's pub key, and the "to addr" is Bob's pub key, and OP_RETURN contains "love".

Is that ok, or you have to contain both Bob's pub key and the "love" message in the script, and left the "to addr"  unfilled.
Or in the worst scenario, even if "to addr" is filled with Bob's pub key, it still says "Unable to decode output address" on the blockchain...

I think your answer is yes. That answers my doubt   Cheesy Cheesy
Thanks again, amaclin!
I appreciate it you take your time to answer...

BTW, English is not my native language too. It's fascinating to communicate accross the borders here.
2044  Bitcoin / Development & Technical Discussion / Re: Is it possible to add a receive address in an OP_RETURN transaction? on: October 24, 2014, 07:01:08 AM
You can add any data (no more than 40 bytes afaik) to OP_RETURN output script.
Of course, you can put an address there.
Or encrypted private key Smiley
Or a short message (encrypted or not) to somebody.

You (to be correct: your partner) should have a "decode tool" which parses data in OP_RETURN output and understands its meaning.


Thanks for your answer amaclin!
I'm still kind of confused. Pardon me for not being enough clear.

If I want to fully utilize the 40 bytes of OP_RETURN, not to store the output/recipient's public address there.
And at the mean time, still have that output address (or my partner's address) as normal output address in ordinary transactions, is that possible?

To illustrate:
Me ----- Tx ----> Bob
Where, Tx includes:
i. My address (or, the "from" address, sure it's there).
ii.  tx fee of 0.0001btc (sure it's there too).
iii. The payload of the tx -- any amount of btc sent by me which not be received by bob, right?
iv. Bob's address (or, the "to" address, ? Possible ? ).
v. 40 bytes of other information in OP_RETURN, not related to Bob's address.

i,ii,iii,iv parts should be in any ordinary tx body.
I'm wondering if I have the OP_RETURN part, is iv. part (the "to address") can still be there

Thanks~
2045  Bitcoin / Development & Technical Discussion / Is it possible to add a receive address in an OP_RETURN transaction? on: October 24, 2014, 06:09:37 AM
Hi! I've known Btc for a while now, but just recently I find myself want to dig in some "technic" aspects of this amazing system.
Recently I heard of a website http://coinsecrets.org/, which is extremely interesting.

In the website I saw many tx with OP_RETURN script.
In Blockchain.info, those transactions shows output address "Unable to decode output address".

I would like to know if it's possible to add an output public address, while still using OP_RETURN script.
Is it due to the protocol that they cannot add an output address, or they just don't want have output address added.

I guess it might be due to the protocol, but its just a guess. Anyone knows? Thanks!
2046  Bitcoin / Bitcoin Discussion / Re: Bitcoin dust on: October 24, 2014, 03:26:11 AM
 Cheesy A good way to contribute to btc's value/price. Because the total amount is less now.
2047  Other / Beginners & Help / Re: Running Bitcoind on Raspberry Pi? on: October 24, 2014, 03:17:59 AM
Yes, it's possible. But it may be too slow. I guess its better to run Bitcoind on a PC and invoke remote RPC from Raspberry Pi.
2048  Local / 中文 (Chinese) / Re: pay bounty 0.8btc on: October 24, 2014, 03:16:02 AM
Why not just buy it in exchanges like normal ways.
Huge risk to buy this amount of btc privately or through an offline deal.
2049  Local / 中文 (Chinese) / Re: Test Chinese Version of Counterwallet (bitcoin and counterparty) on: October 24, 2014, 03:13:38 AM
My browser alerted there's some problem / risk in the cert of the website...
2050  Economy / Economics / Re: "Apple Pay" on: October 24, 2014, 03:12:01 AM
Did anyone know exactly how did the double spend occured in Apple Pay system.   Huh
2051  Economy / Economics / Re: (SSS) - A Sane and Simple bitcoin Savings plan on: October 24, 2014, 03:10:46 AM
Thanks OP for providing such a informative thread.
I'll mark this thread and read it in detail later.  Cheesy
2052  Economy / Economics / Re: Video: The Biggest Scam In The History Of Mankind on: October 24, 2014, 03:07:48 AM
It's a good vid series. Mike Maloney has provided some great analysis. I also found he talked about Bitcoin in youtube for several times. Very interesting that he seems to be supportive on btc. Maybe some traditional gold buyers would also take his advice.
2053  Economy / Economics / Re: What will the cryptocurrency job market look like in 10, 20, 30 years? on: October 20, 2014, 08:49:17 AM
I actually teach at a university about Cryptocurrency. I guess, this might be fit for a lot of future job openings.
Wow, there's university offering lectures about Cryptocurrency? A very good step forward.
Do you mind to share the name of that university?
2054  Economy / Economics / Re: How profitable is BTC daytrading? on: October 20, 2014, 08:48:04 AM
It is a truely lossing game. You get 10 guesses right and 1 wrong, you can lose everything won at that 10 times.
Better buy and hold.
2055  Economy / Economics / Re: China will become Super Power ? on: October 20, 2014, 08:43:56 AM
As a Chinese, I do see my country is becoming more and more powerful. But it's still far behind the US. That's why I still want to do a postdoc in the US.
wangxinxi, where are you based in China? Which univ. are you from.
I once know a guy with the same name pronounciation.
2056  Economy / Economics / Re: China will become Super Power ? on: October 20, 2014, 08:41:01 AM
China has blow up lately because people are working 24/7 and getting paid nothing, and actually take pride on it. But this is comming to an end, young people don't want to be working drones, and with democracy and vacations comes less raw production power, and righfully so.

This is competitive strength.

The same salary that provides for 1 engineer in the US working 5x8, will be enough to provide for 7 engineers, working 7x12 in China. 1 vs 7 which one do you think will gain a better result?
2057  Economy / Economics / Re: China will become Super Power ? on: October 20, 2014, 08:36:28 AM
Being a Chinese, there's a strange feeling when reading this post.
I would say China has its problems. For instance air pollution is the cost for developing too fast and neglected the enviroment we should care about.
Yet, in the same time US and many developed countries are building factories and plants in China that's not allowed to build in their country, and pours out a lot of waste, aggrevating the land, water and air. But it helped in boosting the economy.

It is the cost we must pay.

Nothing will stop China growing big and strong, because its evolving and adapting everyday.
Now Xi is a great leader, trying very hard to eliminate corruption in China.
2058  Economy / Economics / Re: Will there ever be another crypto boom similar to BTC in my lifetime? on: October 20, 2014, 08:25:13 AM
Don't be too frustrated.
1. By having this history, you are likely to seize the next opportunity. May next new great crypto that will replace btc. This will help you a lot.
2. Who knows if BTC will skyrocket a gain and reach $100000? Buy some every month. It's still not too late.
2059  Economy / Speculation / Re: Losing faith on: October 20, 2014, 08:18:12 AM
What is FIAT ?

FIAT is an Italian car brand, short for Fabbrica Italiana Automobili Torino Cheesy Cheesy

Joking. Fiat is currency, while btc is money. you can watch the documentary "Hidden scerets of money". You'll get the idea.
2060  Economy / Speculation / Re: $10,000 when? on: October 20, 2014, 08:15:50 AM
Who else thinks Bitcoin is going to $1000 by Jan 1?
November 24, 2011, 07:33:53 PM
https://bitcointalk.org/index.php?topic=52763.0
It's too bold to say btc going to $1000 by Jan 1. But 2016 seems possible to reach $10000.
This thread is also interesting. You can check: https://bitcointalk.org/index.php?topic=828731.msg9261199#msg9261199
Pages: « 1 ... 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 [103] 104 105 106 107 108 109 110 111 112 113 114 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!