It all starts at the base networking layer, which utilizes libp2p. libp2p is modular, extensible and fast and provides a great foundation for some of the advanced features of Polygon SDK.
Synchronization & Consensus
The separation of the synchronization and consensus protocols allows for modularity and implementation of custom sync and consensus mechanisms.
The Blockchain layer is the central layer that coordinates everything in a Polygon SDK based system.
The State inner layer contains state transition logic. It deals with how the state changes when a new block is included.
The JSON RPC layer is an API layer that dApp developers use to interact with the blockchain.
The transaction pool that is closely linked with other modules in the system, so transactions can be added from multiple entry points.
The GRPC layer is vital for operator interactions. Through it, node operators can easily interact with the client, providing an enjoyable UX.