Bitcoin Forum

Bitcoin => Project Development => Topic started by: jamesb on June 16, 2011, 05:33:10 PM



Title: Transactions comments and messages (fields)
Post by: jamesb on June 16, 2011, 05:33:10 PM
Hello,

I've successfully compiled bitcoin 0.3.23 from the sources and I was reading the code. I was wondering why are there 'message' and 'comment' value in CWalletTx.wtx map. I think there isn't any of these fields in the transaction written in the block chain so I understood that this is only local to the wallet.

But at the moment I didn't see how to change these fields manually or from the GUI. I think commenting the transactions is a good idea only if this is in the encrypted part of the wallet (is it?).

Moreover I've seen only a few people talking about including messages in transaction and I see the message field was gone from the GUI which was only available with a IP-to-IP transactions. Why was there a such limitation? Bitcoin is working with asymmetrical keys so it musn't be hard to add and encrypt a message in any transaction.

I hope there are some interesting reasons and discussion we can make. :)