1. As soon as the peer files and tracker file are run, the connection to the tracker is established automatically.
3. Click on "peer list" box in all the peer GUIs to request for the list of peers from the tracker.Showing only peer1 as other two are similar to peer1
- Peer1 Output console
- Peer1 Output Console
- Peer2 Output Console
- Peer3 Output Console
- Peer1 Output Console after interconnection
- Peer2 Output Console after interconnection
- Peer3 Output Console after interconnection
6. There is a box with title "create transaction" in every peer GUI. Using this we can generate random transactions and send it to all the other peers. Then, every peer tries to mine using the transaction and whichever peer mines first will get a reward.
- Peer1 has created transaction and its displayed in peer1.py output console
- Peer2 has received transaction and its displayed in peer2.py output console
- Peer3 has received transaction and its displayed in peer3.py output console
- This shows new cheese is added in other peers
- This shows new cheese is minied in this peer
- This shows new cheese is added in other peers
- Cheese Stack is shown in all the peers. We have taken only one cheese stack output here
9. Note - All the results are displayed in the terminal of corresponding peer code. This feature has not been added in the GUI.
- Bitcoin: A Peer-to-Peer Electronic Cash System "https://bitcoin.org/bitcoin.pdf"
- BlockChain and Networking "https://www.rad.com/blog/blockchain-and-networking"
- Bitcoin network "https://en.wikipedia.org/wiki/Bitcoin_network"
- Develop a blockchain application from scratch in Python "https://developer.ibm.com/technologies/blockchain/tutorials/develop-a-blockchain-application-from-scratch-in-python/"
- Socket Programming Documentation https://docs.python.org/2/library/socket.html
- Threading Documentation - https://docs.python.org/2/library/threading.html
- Udemy course - https://www.udemy.com/course/network-socket-programming-in-python-3-practical-way-r/
- Git reference - https://github.com/Elvin-Arrow/Blockchain-on-sockets/blob/master/server.py
- https://github.com/emrekaragozoglu/blockchain-python