Skip to main content
Course/Module 1/Topic 2 of 4Beginner

Distributed Ledger Technology

A distributed ledger is a database shared and synchronized across many nodes. No single node controls it.

25 minBy Priygop TeamLast updated: Feb 2026

How Distributed Ledgers Work

In a distributed ledger, every participating computer (node) holds a complete copy of the entire blockchain. When a new transaction is submitted, it's broadcast to all nodes. Nodes validate the transaction and add it to their copy. All copies stay synchronized through consensus mechanisms. If one node goes offline or is hacked, the rest of the network continues normally — there's no single point of failure.

Types of Blockchain Networks

  • Public Blockchain — Open to anyone (Bitcoin, Ethereum). Fully decentralized, transparent
  • Private Blockchain — Restricted access, controlled by one organization. Faster but less decentralized
  • Consortium Blockchain — Controlled by a group of organizations (e.g., banks). Semi-decentralized
  • Hybrid Blockchain — Combines public and private elements
  • Nodes — Computers that participate in the network and hold a copy of the blockchain
  • Full Node — Stores the entire blockchain history (Bitcoin's blockchain is ~500GB)

Distributed Network Example

Example
// Simulating a distributed network of nodes

const nodes = [
    { id: "Node-A", location: "New York",  copy: [] },
    { id: "Node-B", location: "London",    copy: [] },
    { id: "Node-C", location: "Tokyo",     copy: [] },
    { id: "Node-D", location: "Mumbai",    copy: [] },
    { id: "Node-E", location: "Sydney",    copy: [] },
];

// When a transaction is submitted, it's broadcast to ALL nodes
function broadcastTransaction(tx) {
    console.log("Broadcasting transaction to all nodes...");
    nodes.forEach(node => {
        node.copy.push(tx);
        console.log(`  ✓ ${node.id} (${node.location}) received: ${tx}`);
    });
    console.log("All nodes synchronized!");
}

broadcastTransaction("Alice → Bob: 2.5 BTC");
console.log("\nAll nodes have", nodes[0].copy.length, "transaction(s)");
console.log("Network is decentralized — no single point of failure");

Quick Quiz

Chat on WhatsApp
Priygop - Leading Professional Development Platform | Expert Courses & Interview Prep