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.
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-attachedSo, 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
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.