user3431: 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?

user153: The transaction's INPUT has ScriptSig which is both the signature as well as the public key.

http://en.bitcoin.it/wiki/Transaction#Data


3431: <p>I've skimmed through the <a href="https://en.bitcoin.it/wiki/Protocol_specification">https://en.bitcoin.it/wiki/Protocol_specification</a> 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, <strong>but</strong> my address is a digest of my public key, so where do people get my public key from?</p>
 153: <p>The transaction's INPUT has ScriptSig which is both the signature as well as the public key.</p>

<ul>
<li><a href="http://en.bitcoin.it/wiki/Transaction#Data" rel="nofollow">http://en.bitcoin.it/wiki/Transaction#Data</a></li>
</ul>
