🔮
Ethereum
  • General
    • What is Ethereum
      • Ethereum & Bitcoin General Comparison
      • Singleton State
      • The Ethereum Virtual Machine (EVM)
      • Opcodes (operation codes) EVM
      • Ethereum Client
      • Forks
      • Gas (wei)
        • EIP-1559
        • Table Conversion (wei)
      • Proof of Stake (PoS)
      • Proof of Authority (PoA)
      • The Beacon Chain
      • Networks
        • Ethereum mainnet
        • Goerli
      • Account-based model & UTXO-based model
      • Externally Owned Account (EOA)
      • Node Clients
        • Geth
        • Nethermind
      • Contract Account
      • Smart Contract Upgradeability
      • Ultrasound Money
      • Merkle Trees
        • Patricia Merkle Tree
      • Tries
        • State Trie
        • Storage Trie
        • Transactions Trie
        • Receipts Trie
      • Transactions
        • Ethereum Transaction Architecture
      • World State
        • Chain of States
        • Chain of Blocks
        • Stack of Transactions / Mempool
      • Contract Creation
      • Message Call Transaction
      • P2P Network
      • Web3.js
      • Ether.js
        • Smart Contract Interaction Example
      • Web3.js vs Ether.js
      • Node Providers
      • ENS (Ethereum Name Service)
      • Web3 dapp
      • Escrow
      • Multi-signature
      • ERC-20 tokens
        • Send ERC20s to Contracts
      • NFTs
        • ERC-721 and ERC-1155
      • Solidity
        • State Variables
        • Data Location
        • Numbers
        • Modifiers
        • View & Pure Modifiers
        • Data Types
          • Modifiers
          • Modifiers (Functions)
          • Address & Address Payable
        • Hardhat
        • Payable Functions
        • Receive Function
        • Fallback Function
        • Global Variables
        • Self Destruct
        • Create2 Function
        • Revert function
        • Require function
        • Assert Function
        • Calldata
        • Interface
        • Mapping
        • Array
        • Struct
        • Inheritance
          • Virtual & Overwrite
          • Multiple inheritance
          • Hierarchical Inheritance
        • Events
          • Indexed (keyword)
          • LOG0 - LOG4
        • Multi-signature Example
        • Smart Contracts
          • Context
      • Application Binary Interface (ABI )
  • Extras
    • Terminology
      • Bytecode
      • Keccak-256
      • Turing complete
Powered by GitBook
On this page
  1. General
  2. What is Ethereum
  3. World State

Chain of Blocks

In Ethereum, a chain of blocks is a sequence of blocks that are cryptographically linked together, forming a blockchain. Each block in the chain contains a set of transactions, and the state of the Ethereum network is determined by the current state of all the transactions in the chain.

The chain of blocks in Ethereum is maintained by a network of nodes, each running an Ethereum client. Each node maintains a copy of the blockchain, and new blocks are added to the chain when they are validated and accepted by the network.

The chain of blocks in Ethereum is important because it provides a way to verify the validity of transactions and to prevent double-spending. Once a transaction is included in a block and added to the chain, it is considered to be confirmed and irreversible, making it a secure and reliable way to transfer value on the Ethereum network.

Visual

     Block 1           Block 2           Block 3           Block 4
 ______________   ______________   ______________   ______________
|   Previous   | |   Previous   | |   Previous   | |   Previous   |
|   Block      | |   Block      | |   Block      | |   Block      |
|   Hash       | |   Hash       | |   Hash       | |   Hash       |
|______________| |______________| |______________| |______________|
        |                |                |                |
      Data            Data            Data            Data

Each block contains data and a reference to the previous block's hash, forming a chain. The hash of each block is calculated based on the block's data and the previous block's hash. This makes the chain of blocks tamper-evident - any change to a block's data would change its hash and the hashes of all subsequent blocks. This makes it extremely difficult to modify the contents of a block without being detected, ensuring the integrity of the blockchain.

PreviousChain of StatesNextStack of Transactions / Mempool

Last updated 2 years ago