I am very interested in the p2p protocol used by Bitcoin clients. There are some excellent answers here that describe the way clients connect to the network.
- How does the bitcoin client determine the first IP address to connect?
- Peer to Peer: Methods of Finding Peers
I want to replicate the peer-to-peer network only without participating in the crypto-currency part. This is for an experiment on peer to peer discovery.
So, can you please show me some code instructions to set-up such a network?