|
January 09, 2016, 04:50:58 PM |
|
When you are signing something, there must always be a message to sign, otherwise nothing is being signed. Part of signing a message is also revealing the message you signed; a standalone signature is useless since the actual message of a standalone signature cannot be known.. You should not sign your private key since that would reveal your private key in the message or simply produce a signature that you can't do anything with since you don't want to reveal the message.
You can sign whatever you want, but in the case of Bitcoin, the thing that is signed is the entire transaction. An unsigned transaction is created and something (I don't remember what) is put in place of where the signature would be and that is signed in order to create the signed transaction.
|