Blockchain relay networks

Although the nodes in the blockchain network are equal, the nodes could opt to perform a variety of roles. A few nodes might function as fullnodes, maintaining the entire blockchain, whereas a few others function as lightweight nodes by maintaining only the required transactions. In addition to this, the nodes that are willing to create new blocks will perform mining operations. When all these nodes communicate with each other in a P2P fashion, there will be a network latency involved.

The mining nodes need to keep latency to a minimum since they are involved in time-sensitive operations. Even during a critical financial transaction, a decentralized system needs to keep latency as minimal as possible so that clients ...

Get Foundations of Blockchain now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.