Layer 0 (Network Layer)#
Layer 0 is known as the 'network' or peer-to-peer (P2P) layer that allows nodes to communicate with each other in a decentralised manner.
The P2P layer facilitates the transmission of data and information across the blockchain network, enabling nodes to share and verify transactions, blocks, and other data. This layer is a critical component because it enables network participants to interact with each other directly without relying on a central authority or intermediary.
- Light clients: In Ergo, you can get full-node guarantees without storing the full UTXO set, enabling a superior bootstrapping experience and improved block validation times.
- Quick bootstrapping using NIPoPoWs proofs and UTXO set snapshots in development
- Logarithmic space mining allows for light miners. Similar to light clients, light miners can bootstrap with block headers without downloading the entire blockchain. Integrating logarithmic space mining in Ergo is possible via a velvet (soft) fork; see this video from Dionysis Zindros from The University of Athens for a introduction and their progress so far.
State Bloat: One of Ergo's major strengths when scaling is to avoid bloat without compromising functionality.
- Persistent updateable storage is possible, with updates to be checked by a blockchain contract. However, only the digest of the authenticated data structure (and some additional bytes, less than 40) is stored in the UTXO set regardless of the data set size.
- Ergo utilises a Storage Rent Fee to prevent spam and recirculate unused data bytes, known as dust. Storage Rent Fee helps clean the network pollution and encourages users to be more active.
Block size: Parameters like block size are not set in stone and can be adjusted by miners. So miners experiencing low full block validation time (as hardware improves with time and software) they may propose or vote to increase the block size. Currently set to
Transaction size: As of node
4.0.23, there is a transaction size limit of
96kb for the mempool. Larger transactions can only be included manually by miners.
See the Governance section for more information.