user-1: Does anyone have an idea of where can I find a copy of the bitcoin source code. I mean doesn't it supposed to be open source, where is the open source project for bitcoin so I can read the code.

user8717: bitcoind is what is most widely used. And here is the source: https://github.com/bitcoin/bitcoin/
But there's various other implementations for clients such as BitcoinJ for Java https://code.google.com/p/bitcoinj/ or http://libbitcoin.dyne.org/ for C++.
However, for miners the story is a bit different. If you're a miner you kind of need to use bitcoind. Otherwise bad things might happen such as the blockchain fork from last March: http://bitcoinmagazine.com/3668/bitcoin-network-shaken-by-blockchain-fork/

There is also helpful documentation such as the detailed Bitcoin spec for the P2P layer at bitcoin.org.

-1: <p>Does anyone have an idea of where can I find a copy of the bitcoin source code. I mean doesn't it supposed to be open source, where is the open source project for bitcoin so I can read the code.</p>
 8717: <p><a href="https://en.bitcoin.it/wiki/Bitcoind" rel="nofollow noreferrer">bitcoind</a> is what is most widely used. And here is the source: <a href="https://github.com/bitcoin/bitcoin/" rel="nofollow noreferrer">https://github.com/bitcoin/bitcoin/</a></p>
<p>But there's various other implementations for clients such as BitcoinJ for Java <a href="https://code.google.com/p/bitcoinj/" rel="nofollow noreferrer">https://code.google.com/p/bitcoinj/</a> or <a href="http://libbitcoin.dyne.org/" rel="nofollow noreferrer">http://libbitcoin.dyne.org/</a> for C++.</p>
<p>However, for miners the story is a bit different. If you're a miner you kind of need to use bitcoind. Otherwise bad things might happen such as the blockchain fork from last March: <a href="http://bitcoinmagazine.com/3668/bitcoin-network-shaken-by-blockchain-fork/" rel="nofollow noreferrer">http://bitcoinmagazine.com/3668/bitcoin-network-shaken-by-blockchain-fork/</a></p>
<hr />
<p>There is also helpful documentation such as the <a href="https://developer.bitcoin.org/devguide/p2p_network.html" rel="nofollow noreferrer">detailed Bitcoin spec for the P2P layer</a> at bitcoin.org.</p>
