wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Layers Of Blockchain

profile
Neha koli
Apr 30, 2023
0 Likes
0 Discussions
275 Reads
  1. Application Layer
    This layer deals with applications which are built on the Blockchain technology as well as applications which enhance the blockchain technology and are part of the various flavors of blockchain. There are various flavors of blockchain in the market and each has its own implementation of blockchain. Some of the flavors have developed applications which are integrated into the technology and become a part of it.
    Some applications in blockchain follow the traditional development model and include programming constructs, scripting, APIs, development frameworks, etc.
    Other types of applications use blockchain as a backend. These applications might be hosted on some web servers and that might require web application development, server-side programming, and APIs, etc.
  2. Execution Layer
    The executions of instructions as ordered by the Application Layer take place in the Execution Layer. The instructions could be a simple instruction or a set of multiple instructions in the form of a smart
    contract.In either case, a program or a script is executed for the correct execution of the transaction. All the nodes in a block chain network execute the programs/scripts independently. The output on the same set of inputs and conditions always produces the same output on all the nodes.
             Bitcoins scripts are simple and have only a few sets of instructions. Ethereum and Hyperledger, use smart contracts that are made up of multiple instructions and can be complex executions.
  3. Semantic Layer
    The instructions executed in the previous layer are validated in the Semantic layer. It is a logical layer because there is an orderliness in the transactions and blocks. Semantic layer is responsible for checking if a transaction is legitimate or not. It checks for the authorization of a transaction. In case of bitcoin, an amount is paid by the amount received in a previous transaction. This layer checks if the previous transaction is legitimate and has received the amount they are spending.                                  
                 Ethereum has the system of Accounts like banks. It means that the account of the one making the transaction and that of the one receiving it both get updated. The rules of the system, the data models and structures are defined in this layer. A block usually contains a bunch of transactions and some smart contracts. The data structures such as the Merkle tree are defined in this layer with the Merkle root in the block header to maintain a relation between the block headers and the set of transactions in a block. Also, the data models, storage modes, in- memory/disk based processing, etc. can be
    defined in this logical layer.
  4. Propagation Layer
    This layer is responsible for information dissemination. It deals with the communication between nodes in the Blockchain. The previous layers are all about transaction processing at independent block level. The Propagation Layer is the peer-to-peer communication layer that allows the nodes to discover each other, and talk and sync with each other with respect to the current state of the network.                         When a transaction is made it gets broadcast to the entire network.
    Similarly, when a node wants to propose a valid block, it gets immediately
    propagated to the entire network so that other nodes could build on it,
    considering it as the latest block.
    So, transaction/block propagation in the network is defined in this layer, which ensures stability of the whole network. By design, most of the blockchains are designed such that they forward a transaction/block immediately to all the nodes they are directly connected to, when they get
    to know of a new transaction/block.
  5. Consensus Layer
    The Consensus Layer is usually the base layer for most of the blockchain systems. The primary purpose of this layer is to get all the nodes to agree on one consistent state of the ledger. There are different
    ways of achieving consensus among the nodes. This layer is responsible for the Safety and security of the blockchain. For a public blockchain to be self-sustainable, an incentives mechanism helps in keeping the network alive as well enforces consensus.In Bitcoin or Ethereum, the incentive technique is called
    “mining”. Bitcoin and Ethereum use the Proof of Work (PoW) consensus mechanism.

Comments ()


Sign in

Read Next

Cyber Security in Data Breaching

Blog banner

10 Reasons to date your best friend

Blog banner

Is Pursuing a Dance Career in India Worth it?

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

ONLINE NEWSROOMS

Blog banner

How India made the GIS its Own, and its Use in Infrastructural Developments

Blog banner

Webmail

Blog banner

Southern Turkey Earthquake: Causes and Consequences of a Tragic Natural Disaster

Blog banner

What is thread and multithreading ?

Blog banner

Teenagers of Today

Blog banner

Types of OS

Blog banner

Data carving - using hex editor

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Blockchain Transactions

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

Networking 101: How to Build Meaningful Connections in College

Blog banner

Mendeley (management software)

Blog banner

Deadlock

Blog banner

How International Schools Build Global-Minded Students through Curriculum & Activities

Blog banner

LIMITED EDITION

Blog banner

Sage business cloud accounting

Blog banner

How Preschool Annual Day Shapes Confidence, Emotions, and Growth

Blog banner

Khau Galli – Vile Parle

Blog banner

10 Interesting facts you should know!!!

Blog banner

Race Condition in Operating Theatre

Blog banner

My First Trek - Sondai, Karjat - Shoaib Malik

Blog banner

PERSONALITY DEVELOPMENT

Blog banner

Deadlock

Blog banner

Use case of K-means clustering

Blog banner

Health and fitness

Blog banner

Rapido

Blog banner

Business-to-Business

Blog banner

OS Assignment 3 Deadlock

Blog banner

Caching windows

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

What is time ? The term which has astonished Scientists

Blog banner

Veg Mix Pickle

Blog banner

Blog name

Blog banner

Operating system

Blog banner

Importance of business process documentation

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner