Unit 3 – Blockchain Categories · 31
Peer-to-Peer (P2P) Network
A peer-to-peer network lets computers exchange data directly with one another rather than relying on one central server for every message. Blockchain P2P networks propagate transactions and blocks among connected peers.
Animated diagram
Students pass a verified class update to one another instead of waiting for one teacher’s computer to send every copy
The idea in one line
Make the invisible feel visible.
A peer-to-peer network lets computers exchange data directly with one another rather than relying on one central server for every message. Blockchain P2P networks propagate transactions and blocks among connected peers.
Real-life lens
Think of it like this
Students pass a verified class update to one another instead of waiting for one teacher’s computer to send every copy.
Under the hood
How it works, step by step
Start with the idea
A peer-to-peer network lets computers exchange data directly with one another rather than relying on one central server for every message. Blockchain P2P networks propagate transactions and blocks among connected peers.
Follow the example
A wallet broadcasts a transaction to one peer, which forwards it to other connected nodes until much of the network has heard about it.
Notice the benefit
Peer-to-peer communication can reduce dependence on a single message relay and improve reach across the network.
Check the limitation
Messages can arrive at different times, be delayed or be withheld, so consensus must handle imperfect communication.
Make it concrete
Peer-to-Peer (P2P) Network in practice
Peer-to-Peer (P2P) Network in practice
A wallet broadcasts a transaction to one peer, which forwards it to other connected nodes until much of the network has heard about it.
Key point: Messages can arrive at different times, be delayed or be withheld, so consensus must handle imperfect communication.
Balanced view
Advantages & disadvantages
Advantages
- Peer-to-peer communication can reduce dependence on a single message relay and improve reach across the network.
Disadvantages
- Messages can arrive at different times, be delayed or be withheld, so consensus must handle imperfect communication.
Keep these close
Takeaways & common traps
What to remember
- A peer-to-peer network lets computers exchange data directly with one another rather than relying on one central server for every message. Blockchain P2P networks propagate transactions and blocks among connected peers.
- Peer-to-peer communication can reduce dependence on a single message relay and improve reach across the network.
- Messages can arrive at different times, be delayed or be withheld, so consensus must handle imperfect communication.
Watch out for
- Do not assume peer-to-peer (p2p) network guarantees more than its design can prove.
- Do not ignore the trade-off: Messages can arrive at different times, be delayed or be withheld, so consensus must handle imperfect communication.
Quick check
Questions people ask
Why is peer-to-peer (p2p) network useful?
Peer-to-peer communication can reduce dependence on a single message relay and improve reach across the network.
What is an important limitation?
Messages can arrive at different times, be delayed or be withheld, so consensus must handle imperfect communication.