Bitcoin Forum
March 29, 2024, 10:23:42 AM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: RFC: Comment field in Transactions  (Read 2347 times)
Cdecker (OP)
Hero Member
*****
Offline Offline

Activity: 489
Merit: 504



View Profile WWW
December 09, 2010, 10:01:44 PM
 #1

Ok, right now there's a huge discussion going on in http://bitcointalk.org/index.php?topic=2162.0 and I would support the changes to accepting only standard transaction would it not disallow exactly what I've been looking for: the ability to reuse a BC Address for multiple transaction and being able to distinguish their purpose.

Admittedly it's a hack, but a rather clever one, it was possible to insert a comment to a transaction followed by an OP_DROP which would remove it when checking the TX on the clients.

Why would one do this? Right from the terminology it's clearer, I wouldn't create a new bank account just to receive a single payment from someone, what I'd do is give him a payment slip, with a reference ID, and I'd later check if I have received a transaction with that ID.
And for the more practical minded people, it's safer! Why? Because if you generate a new address for each transaction, and you then loose the wallet, but have an old backup, in which the new keypairs aren't, you will be able to recover the Coins that you have received for keypairs in your wallet but the new ones will be lost forever.

You see it's rather more logical to separate transactions and accounts (as the new name suggests for addresses).

I therefore put it to a vote to include an official means to add a reference ID into transaction should one be supplied. To keep it simple and to keep the block chain small we could agree on allowing UUIDs in their 16 byte representation as IDs.

Any comments?

Want to see what developers are chatting about? http://bitcoinstats.com/irc/bitcoin-dev/logs/
Bitcoin-OTC Rating
1711707822
Hero Member
*
Offline Offline

Posts: 1711707822

View Profile Personal Message (Offline)

Ignore
1711707822
Reply with quote  #2

1711707822
Report to moderator
1711707822
Hero Member
*
Offline Offline

Posts: 1711707822

View Profile Personal Message (Offline)

Ignore
1711707822
Reply with quote  #2

1711707822
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jgarzik
Legendary
*
qt
Offline Offline

Activity: 1596
Merit: 1091


View Profile
December 09, 2010, 11:05:45 PM
 #2

I think there is general agreement that arbitrary data (a comment field) should be an optional component of transactions.

The main point of contention now is whether or not to put that in the main block chain.

I think 32-64 bytes is sufficient for most uses -- reference id's and hashes.  Custom block chains might want much larger limits: 512 bytes?  4k?

Jeff Garzik, Bloq CEO, former bitcoin core dev team; opinions are my own.
Visit bloq.com / metronome.io
Donations / tip jar: 1BrufViLKnSWtuWGkryPsKsxonV2NQ7Tcj
Cdecker (OP)
Hero Member
*****
Offline Offline

Activity: 489
Merit: 504



View Profile WWW
December 09, 2010, 11:25:06 PM
 #3

Well a reference is part of the transaction, so it should be in the main chain. There is no "reference chain" to add references and comments to the transactions in the main chain is there? I agree that the main chain should only be used for the main Bitcoin purpose which is tracking and exchanging Bitcoins, but IMHO the comment/reference is just as important as the amount being spent. Using an address per transaction is actually more of a hack than adding a comment would be.

So I guess you'd vote against it on behalf that it opens the discussion for a lot of other "nice to have" data in the transactions?

Want to see what developers are chatting about? http://bitcoinstats.com/irc/bitcoin-dev/logs/
Bitcoin-OTC Rating
RHorning
Full Member
***
Offline Offline

Activity: 224
Merit: 141


View Profile
December 10, 2010, 02:34:40 PM
 #4

If such a field was clearly proscribed and had to be linked to a transaction (thus costing bitcoins to be used), I think such a field could be useful.  It should be a fixed size and IMHO only large enough for a hash where the recipient must come up with some sort of context to that field.  Such a field could contain alphanumeric characters, binary data, a hash, a nonce, or some other sort of stuff whatever it might be.

I would hate to see Bitcion getting turned into something like TwitterFS, but I think that can be kept under control through the use of transaction fees.  That may be unfortunate where transaction fees may have to show up for all transactions if this gets abused, but that is at least an option for the network miners to consider.  A flood of 0.01 BTC transactions all at about the same time would indicate some sort of mischief going on in that regard.
Hal
VIP
Sr. Member
*
expert
Offline Offline

Activity: 314
Merit: 3799



View Profile
December 10, 2010, 08:26:34 PM
 #5

I though it was funny that calling this an RFC is kind of a play on words. RFC means Request For Comments, and in this case you're requesting that comments be added to transactions. So it's a request for comments in both senses.

Hal Finney
davout
Legendary
*
Offline Offline

Activity: 1372
Merit: 1007


1davout


View Profile WWW
December 10, 2010, 08:38:57 PM
 #6

I though it was funny that calling this an RFC is kind of a play on words. RFC means Request For Comments, and in this case you're requesting that comments be added to transactions. So it's a request for comments in both senses.

mind. blown.

Cdecker (OP)
Hero Member
*****
Offline Offline

Activity: 489
Merit: 504



View Profile WWW
December 10, 2010, 09:05:58 PM
 #7

I though it was funny that calling this an RFC is kind of a play on words. RFC means Request For Comments, and in this case you're requesting that comments be added to transactions. So it's a request for comments in both senses.
That was on purpose :-)

Yes off course the reference ID would have a fixed size. Therefore comment might be the wrong choice for a name, I chose the title mainly to catch the eye of all interested people. Hashes would be one way to go, but as stated above I think UUIDs is the way to go, because Hash always implies something else being hashed, question is "of what?" whereas a UUID is easy to generate, there is no attempt to associate it with anything else.

Want to see what developers are chatting about? http://bitcoinstats.com/irc/bitcoin-dev/logs/
Bitcoin-OTC Rating
Swapster
Member
**
Offline Offline

Activity: 131
Merit: 10


View Profile
May 27, 2013, 03:44:05 AM
 #8

I agree with the idea. Any progress made on this?
Pieter Wuille
Legendary
*
qt
Offline Offline

Activity: 1072
Merit: 1170


View Profile WWW
May 27, 2013, 04:31:15 AM
 #9

I agree with the idea. Any progress made on this?

The only data that belongs in (Bitcoin) transactions as they are transmitted via the P2P network and mined into blocks, is whatever the world needs to validate them. Anything else is just using it as an extremely expensive, slow and unreliable means of communication for data that is essentially private between sender and receiver anyway.

The correct solution is a payment protocol, where sender and receiver directly communicate with eachother to negotiate a transaction (including whatever optional metadata is needed, such as memo, comments, refund addresses, identities, ...), and then broadcast the Bitcoin part of it on the network to set it in stone.

I do Bitcoin stuff.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!