I've skimmed through the https://en.bitcoin.it/wiki/Protocol_specification and it seems that when sending someone bitcoins, I would sign the transaction data (not quite sure which parts exactly) with my private key, so that people could verify it with my public key, but my address is a digest of my public key, so where do people get my public key from?
Asked
Active
Viewed 1,547 times
1 Answers
2
The transaction's INPUT has ScriptSig which is both the signature as well as the public key.

Stephen Gornick
- 27,040
- 12
- 67
- 141
The script contains two components, a signature and a public key. The public key belongs to the redeemer of the output transaction and proves the creator is allowed to redeem the outputs value.
So it's the receiver's public key. How does that help?
– Phlexonance Mar 19 '13 at 12:09