Bitcoin Forum

Bitcoin => Development & Technical Discussion => Topic started by: TiagoTiago on October 22, 2011, 08:30:58 PM



Title: Will we ever be allowed to attach arbitrary text to transactions?
Post by: TiagoTiago on October 22, 2011, 08:30:58 PM
Among other things this could serve to explain transactions ("here's the payment for painting my house", "automatic payment from Pool X", "HAPPY BIRTHDAY!!!!111one" etc). And of course, people could use it as a messaging system, using public key encryption when privacy is desired (since the attached messages would be visible in the blockchain to anyone).


Is this in the roadmap somewhere or currently there are no plans at all of implementing this functionality?



ps:as pointed elsewhere by someone i forgot who, this would also help with providing Bitcoin protection under freedom of expression, since any transaction could double as a message.


Title: Re: Will we ever be allowed to attach arbitrary text to transactions?
Post by: Xenland on October 22, 2011, 08:36:19 PM
Why not have Bitcoin Messaging services. you pay 0.00000001 to show that you own an address(from the address you are claiming) then attach a message to it?


Title: Re: Will we ever be allowed to attach arbitrary text to transactions?
Post by: ThomasV on October 22, 2011, 09:28:13 PM
I don't think this is in the bitcoin roadmap.
You could use this website: http://ecdsa.org/annotate


Title: Re: Will we ever be allowed to attach arbitrary text to transactions?
Post by: MoonShadow on October 22, 2011, 09:48:46 PM
Yes, but only after the scripting function is enabled, which will allow you to associate a particular transaction to an external document on the web, among many other complex things.


Title: Re: Will we ever be allowed to attach arbitrary text to transactions?
Post by: GoldenBoar on October 22, 2011, 10:07:20 PM
You can already do this if I'm not misunderstanding something.

sendfrom <fromaccount> <tonamecoinaddress> <amount> [minconf=1] [comment] [comment-to]
sendmany <fromaccount> {address:amount,...} [minconf=1] [comment]
sendtoaddress <namecoinaddress> <amount> [comment] [comment-to]

You just need to use the daemon. I think I'll add it to my GUI tomorrow.


Title: Re: Will we ever be allowed to attach arbitrary text to transactions?
Post by: MoonShadow on October 22, 2011, 10:11:46 PM
You can already do this if I'm not misunderstanding something.

sendfrom <fromaccount> <tonamecoinaddress> <amount> [minconf=1] [comment] [comment-to]
sendmany <fromaccount> {address:amount,...} [minconf=1] [comment]
sendtoaddress <namecoinaddress> <amount> [comment] [comment-to]

You just need to use the daemon.

No, the comment is only internal to your logs unless you are directly connected to the receiving client daemon, which is only likely using the -sendtoipaddress flag that is deprecated due to other security issues.


Title: Re: Will we ever be allowed to attach arbitrary text to transactions?
Post by: GoldenBoar on October 22, 2011, 10:46:17 PM
What's the "comment-to" for?


Title: Re: Will we ever be allowed to attach arbitrary text to transactions?
Post by: racerguy on October 28, 2011, 08:36:31 PM
Tenebrix is going to have something like this soon, hopefully.


Title: Re: Will we ever be allowed to attach arbitrary text to transactions?
Post by: Luke-Jr on October 30, 2011, 11:50:29 PM
bitcoind 0.5 supports this via the signmessage JSON-RPC method. I wrote a patch to add it to Bitcoin-Qt, which will hopefully be merged for 0.6.


Title: Re: Will we ever be allowed to attach arbitrary text to transactions?
Post by: finway on October 31, 2011, 03:12:26 AM
I dont' think you means this, but can't help to suggest this

http://btcmsg.staticloud.com/

 ;D