January 2019
Beginner to intermediate
372 pages
11h 17m
English
Nodes communicate with each other in a P2P network by setting up multiple one-to-one connections, because there is no single peer that is completely trustable. Maintaining multiple connections forces each node to broadcast any information to its connected peers in order to distribute data to the entire network and maintain the global truth.
In our application, we will be broadcasting information for several scenarios, as shown in the state transition diagram depicted in Figure 4.5:

A node in the network performs broadcasting in the following scenarios:
Read now
Unlock full access