Cointime

Download App
iOS & Android

About Ethereum Blockchain Network Layers

Validated Individual Expert

Ethereum since its conception until this day has become the definitive blockchain for creating many types of applications due to its popularity and effectiveness. This ecosystem is known for its community of developers and its active ecosystem of decentralized applications and protocols. This has made it one of the most widely used blockchain platforms in the world, with a wide range of use cases and applications across industries. But in the case of Ethereum, how is it made to structure the entire codebase into one blockchain of this level? To achieve this, core developers found the idea between network layers to separate different critical functions of the Ethereum blockchain such as:

  1. Application layer
  2. Smart contract layer
  3. Consensus layer
  4. Network layer
  1. The application layer consists of all the smart contracts and dapps built so far and executed with Ethereum Virtual Machine(EVM). Developers are using specific smart contract programming languages to run those code bases. The application layer is the top layer in the Ethereum network structure having direct contact with everybody who would like to participate in the building process.
  2. The smart contract layer is often considered a subset of the application layer in the Ethereum architecture. While smart contracts are technically part of the application layer, they are often referred to as a separate layer in the Ethereum architecture because of their importance in enabling the creation of decentralized applications on the Ethereum network. It is the place where the all raw logic behind the dapps is being built. Smart contracts are auto-executing blocks of codes with their own logic and conditions. They are stored on the blockchain, attached to this layer, and are immutable however can be *upgradable!*
  3. The consensus layer is probably the most important layer in Ethereum. Ensures all the nodes and validators agree on the blockchains state. It keeps the entire blockchain decentralized with all actors being as equal as possible. Consensus clients need to participate in block gossip so that they can receive new blocks from peers and broadcast them when it is their turn to be block proposers. It currently uses a Proof of Stake consensus mechanism with validators as block producers.
  4. The network layer is made for transmitting data between full nodes, light nodes, and validators using a peer-to-peer protocol for communication. It is the lowest layer in the complex Ethereum network layers. If you ever tried to run a node and were looking for peers to connect to, this layer makes it responsible for broadcasting between nodes. The network layer is critical for ensuring the security and reliability of the Ethereum network

*Upgradable smart contracts*

It's worth adding an explanation here of this remark although we step aside from the main topic a bit.It is a highly contradictory statement when we mention that smart contracts are immutable and upgradable however both of those types exist on many blockchains including Ethereum. Blockchain, basically as one big smart contract is meant to be immutable by default so no other third party can put their bad hands into that. So why do upgradable smart contracts exist despite that and what does it mean?First things first upgrading the smart contract doesn't mean we rewrite or modify the smart contract code, but we swap one smart contract out for another where the end user does not have to change how they interact with the dApp. The old smart contract is getting simply abandoned. This feature is made available or not by developers during the creation process.

Reasons for having upgradable smart contracts can be:

  • Bug fixes
  • Code enhancements
  • Modifying unwanted functionality
  • Bad intentions from core developers of certain Dapps!

Yes, it can be an example of a double-edged sword because not every time dApp which has upgradable smart contracts is meant to do good in the long term. It is a case of unwilling harm or vice versa.We don't want to necessarily say that developers use upgradeable smart contracts just to do harmful acts towards the end users, although those cases existed in the past I believe, they usually happen because of being unaware of what gap its code can have.That leads hackers to exploit lots of money from smart contracts. Based on the past we can see they can be very risky and we should step on the dApps with bigger care. In order to be more careful what we can do is, get to know the founders, read audit reports, make sure the code is open source, and last but not least make sure you understand where your dApp’s income comes from otherwise, you will be the source of the income to other people.

Comments

All Comments

Recommended for you

  • Mitsubishi UFJ Financial Group, in conjunction with Mizuho Bank and Sumitomo Mitsui Banking Corporation, is jointly advancing a Proof-of-Concept (PoC) for a yen-pegged stablecoin.

    according to the latest disclosure, Japan's Mitsubishi UFJ Financial Group (MUFG), with assets totaling $3 trillion, announced two strategic advancements:

  • ETH falls below $2100

    the market shows ETH fell below $2100, currently at $2099.94, with a 24-hour increase of 4.78%. The market is highly volatile, please manage your risk accordingly.

  • BTC breaks through $69,000

     the market shows BTC breaking through $69,000, currently at $69,021.49, with a 24-hour increase of 1.15%. The market is highly volatile, please manage your risk accordingly.

  • Spanish Foreign Minister: Not worried about any consequences of refusing US access to military bases

     on March 3 local time, Spanish Foreign Minister Alvarez defended the Spanish government's refusal to provide the Rota and Moron military bases to the United States for participation in attacks on Iran. Alvarez stated that the operation initiated by the United States and Israel is not supported by the United Nations and is not part of the bilateral agreements allowing the use of the aforementioned Spanish sovereign military bases. Alvarez also said that the Spanish government is not concerned that this stance will have any consequences. Alvarez stated: "The position of the Spanish government represents the will of the vast majority of the Spanish people as well as the vast majority of people worldwide, which is to defend the UN Charter, respect international law, and believe that cooperation is always more powerful than confrontation."

  • Spot gold plunges nearly $100 in the short term.

     spot gold plunged nearly 100 dollars in a short time, spot gold fell below 5170 dollars/ounce, with a daily decline of 2.94%. 

  • BTC falls below $67,000

    the market shows BTC fell below $67,000, currently at $66,996.93, with a 24-hour increase of 1.18%. The market is highly volatile, please manage your risk accordingly.

  • ETH breaks $2,000

    the market shows ETH breaking through $2000, currently at $2001.64, with a 24-hour increase of 2.89%. The market is highly volatile, please manage your risks accordingly.

  • The US spot Bitcoin ETF saw a net inflow of $962.48 million yesterday.

    according to Trader T's monitoring, the US spot Bitcoin ETF had a net inflow of 962.48 million USD yesterday.

  • BTC falls below $66,000

     the market shows BTC fell below 66,000 USD, currently at 65,986.66 USD, with a 24-hour decline of 1.31%. The market is highly volatile, please manage your risks accordingly.

  • BTC falls below $66,000

     the market shows BTC fell below $66,000, currently at $65,973.16, a 24-hour drop of 2.66%. The market is highly volatile, please manage your risks accordingly.