0% found this document useful (0 votes)
5 views

dlt

Uploaded by

jusfep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

dlt

Uploaded by

jusfep
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 18

DLT

Tags

What is distributed ledger technology


(DLT)

Distributed ledger technology (DLT) is a digital system for recording


the transaction of assets in which the transactions and their details are
recorded in multiple places at the same time. Unlike traditional databases,
distributed ledgers have no central data store or administration functionality.
DLT refers specifically to the technological infrastructure and protocols that
enable the simultaneous access, validation and updating of records that
characterize distributed ledgers. It works on a computer network spread over
multiple entities, locations, or nodes.
In a distributed ledger, each node processes and verifies every item, thereby
generating a record of each item and creating a consensus on its veracity. A
distributed ledger can be used to record static data, such as a registry, and
dynamic data, such as financial transactions. Blockchain is a well-known
example of a distributed ledger technology.

DLT 1
1. Centralized
In a centralized system, there is one main authority or entity that controls
everything. All decisions, data, or information go through this central point, like
a leader or a server.

Example:
Banking System: Imagine your bank. The bank has control over all your
financial transactions. If you want to send money to someone, it goes
through the bank. The bank approves or denies your request, and it keeps
a record of everything. The bank is the central authority.

Social Media Platforms: Companies like Facebook or Instagram have


central control. They decide what content is allowed, store all the data, and
have access to all user information.

Advantages of Centralized Systems:

Easier management and decision-making.

Central authority can fix issues quickly.

Disadvantages:

A single point of failure: If the central authority goes down or gets hacked,
the whole system can fail.

Less control for users.

2. Decentralized
In a decentralized system, there is no central authority controlling everything.
Instead, power is spread across many different nodes (computers or people).
Each participant has a say, and information is shared among all participants.

Example:
Bitcoin (Blockchain): In the Bitcoin network, there’s no single entity like a
bank controlling transactions. Instead, everyone on the network has a copy
of the transaction ledger (blockchain), and transactions are verified by

DLT 2
multiple participants (miners). No single person or company controls
Bitcoin.

File Sharing (BitTorrent): When you download files using BitTorrent, the file
is not stored in one place (like a server). Instead, it is broken into pieces,
and different users (peers) share these pieces with each other. There is no
central server, and everyone contributes.

Advantages of Decentralized Systems:

No single point of control, so it’s harder to hack or shut down.

More transparency and user control.

Disadvantages:

Slower decision-making or problem-solving, as there’s no single authority.

Can be more complex to manage.

Summary:
Centralized: One central entity controls everything (e.g., banks, social
media platforms).

Decentralized: No single authority, power is distributed across participants


(e.g., Bitcoin, file sharing).

Blockchain technology
Blockchain technology is like a digital ledger or record book that keeps track of
information in a secure, transparent, and decentralized way.

Imagine you have a notebook where you and your friends write down every
transaction you make with each other, like who paid whom and how much.
Instead of one person keeping the notebook, everyone gets a copy of it, and
once something is written down, no one can change it. This way, everyone can
trust that the information is correct because they all have the same record.

Now, instead of using a notebook, blockchain uses computers and the internet
to store this information. Each "page" in the notebook is called a block, and
every time new information is added (like a transaction), a new block is created

DLT 3
and connected to the previous one, forming a chain of blocks, hence the name
blockchain.
Since the blockchain is stored on many computers around the world
(decentralized), it's really hard for anyone to cheat or hack it. This makes
blockchain great for things like cryptocurrency (like Bitcoin) and other
applications where trust, security, and transparency are important.\

Digital Ledger
A digital ledger is like an online version of a traditional notebook or logbook
where you keep records of important things—such as transactions,
agreements, or events—but instead of paper, it’s stored on computers.

Let’s break it down:

What is a Ledger?
In the old days, businesses or banks would use ledgers to record transactions.
For example:

When you pay for something, the transaction would be written down:
"David paid $50 to John for a service."

All transactions are written in one place so they can be tracked.

A digital ledger does the same thing but electronically. It records information in
digital form (on computers) instead of in a book.

Key Features of a Digital Ledger:


1. Digital: Everything is recorded and stored on computers rather than on
paper.

2. Real-time Updates: It can be updated instantly as new transactions or


information come in.

3. Shared and Accessible: In many cases, multiple people or systems can


access the ledger at the same time.

Examples of Digital Ledgers:

DLT 4
1. Bank Accounts:

When you use your debit card, every transaction (deposit, withdrawal,
transfer) is recorded by the bank in a digital ledger. This allows you and
the bank to see your balance and transaction history anytime.

This ledger is centralized because only the bank manages it.

2. Cryptocurrency (Blockchain):

In systems like Bitcoin, a digital ledger records every transaction made


by users. However, unlike a bank’s ledger, this ledger is decentralized,
meaning that it is stored on thousands of computers all over the world.

Each computer has a copy of the same ledger, which ensures trust and
transparency, and once something is added to the ledger, it cannot be
changed.

3. Supply Chain:

Companies use digital ledgers to track the movement of products. For


example, a company that makes smartphones might use a digital ledger
to track every step of the process—from parts being ordered to the
final product being shipped to stores.

This ensures that everyone involved knows exactly where the product
is and if there are any issues along the way.

How it Works (Basic Steps):


1. Transaction/Action: Something happens, like a transaction between two
people (e.g., David pays John $50).

2. Record Creation: The transaction is recorded in the ledger. In a blockchain,


for example, this information is grouped with other transactions to form a
block.

3. Storage and Verification: The information is stored, and depending on the


system (like a decentralized blockchain), other participants verify that the
transaction is valid.

4. Secure and Immutable: Once recorded, the entry cannot be changed,


ensuring accuracy and security.

DLT 5
Real-World Use Case Example: Blockchain and Bitcoin
When someone sends Bitcoin to another person, the transaction is
recorded in the blockchain, which is a type of digital ledger.

The transaction includes:

Who sent the Bitcoin?

Who received the Bitcoin?

How much Bitcoin was sent?

Instead of being stored by one central authority (like a bank), this


transaction is stored on multiple computers globally.

Everyone in the network has access to the same copy of the ledger, so no
one can tamper with the records without others noticing.

Why Use Digital Ledgers?


1. Accuracy: They automatically calculate and track everything, reducing the
chance of errors.

2. Transparency: With systems like blockchain, everyone can see the history
of transactions, making it hard for anyone to cheat.

3. Speed: Transactions can be processed and recorded instantly, without


waiting for manual updates.

4. Security: Once recorded, data in many digital ledgers (especially in


blockchain) cannot be easily altered.

In blockchain technology, the block and the digital ledger are closely related,
but they are not exactly the same. Let me explain this using an analogy of a
notebook (ledger) filled with notes (blocks), which should help clarify how
blocks and the ledger relate to each other.

1. The Digital Ledger as a Whole


The digital ledger is like a notebook that contains the entire history of
transactions. This notebook records everything that happens in a system, just
like a bank ledger records every transaction made by customers. In blockchain,

DLT 6
this ledger contains every transaction that has ever happened on the
network.

Digital Ledger = Entire Notebook: The digital ledger is the complete record
of all transactions or data entries across the entire blockchain network.

2. Blocks as Individual Pages (or Notes)


Now, a block is like a single page (or note) in that notebook. Each block
contains several pieces of information, such as transactions, that are written
down and stored together. When a block is filled with enough transactions, it is
"sealed" or added to the blockchain, and a new block is started.

Block = One Page in the Notebook: A block is a small part of the larger
ledger, like one page in the notebook, where a bunch of transactions is
written down at once.

How Blocks and the Digital Ledger Work Together


1. Transactions (Notes): Let’s say multiple transactions happen, like:

David sends 2 Bitcoins to John.

Alice sends 1 Bitcoin to Bob.

Charlie sends 3 Bitcoins to Dave.

2. Block (Page): These transactions get bundled together into a block. This
block is like one page of a notebook, filled with a certain number of
transactions.

3. Block Added to Ledger (New Page Added): When the block is filled (like a
full page in the notebook), it is sealed and added to the digital ledger. The
blockchain continues by adding another block (like a new page) when more
transactions happen.

4. Blockchain (Full Ledger): All blocks are linked together one after another.
So, if you flip through the pages of the notebook (ledger), you’ll see all the
blocks (pages) full of transactions.

Relationship Between Block and Ledger

DLT 7
One Block ≠ Entire Ledger: A block is only a part of the entire digital
ledger, just like one page is only a part of the whole notebook. Multiple
blocks make up the complete ledger.

Blockchain (Blocks + Chain) = Digital Ledger: The complete blockchain is


a series of blocks linked together, and this series forms the digital ledger,
which holds all the historical data.

Types of Information in a Block (like Notes on a Page)


Each block contains:

Transaction Data: A list of all the transactions happening in that block (e.g.,
David sends 2 Bitcoins to John).

Timestamp: The time when the block was created, like a date on the page.

Previous Block’s Hash: A reference to the previous block in the chain,


ensuring that blocks are linked together securely.

Nonce and Hash: Security measures that ensure the block’s data cannot
be tampered with once it’s added to the chain.

Example Using the Notebook Analogy:


Let’s say we have a notebook (the blockchain ledger) where we write all the
transactions happening in a system.

Block 1 (Page 1): The first page of the notebook contains:

David sends 2 Bitcoins to John

Alice sends 1 Bitcoin to Bob

Block 2 (Page 2): When Page 1 (Block 1) is filled, a new page is started:

Charlie sends 3 Bitcoins to Dave

Eve sends 0.5 Bitcoin to Frank

Block 3 (Page 3): Once Page 2 (Block 2) is filled, we start Page 3, and so
on.

All these pages (blocks) together form the complete ledger, which can be
looked at to see the entire transaction history.

DLT 8
Summary:
Block: A collection of transactions or data, like a single page in a notebook.

Digital Ledger: The complete collection of all blocks, just like the whole
notebook that contains all the pages.

Blockchain: A digital ledger made up of blocks, where each block is linked


to the previous one to ensure security and transparency.

What is Stored in a Block?


A block in a blockchain contains several key elements:

a. Relevant Information (Transaction Data):


This is the core data stored in the block. It usually includes:

A list of transactions that took place in the network. For example, in


Bitcoin, this would be information like "David sends 2 Bitcoins to John."

Other types of data could also be stored depending on the type of


blockchain, like smart contracts (e.g., Ethereum) or records in supply
chains.

b. Hash of the Block:


The hash is a unique digital fingerprint or identifier for that block. It’s generated
by running all the information in the block through a special mathematical
function (a hashing algorithm), and the result is a fixed-length string of
numbers and letters.

The hash ensures that if anyone tries to change even a tiny piece of data in
the block, the hash will change completely, signaling tampering.

c. Previous Block’s Hash:


Each block stores the hash of the previous block. This is how blocks are
chained together. By linking blocks this way, the blockchain ensures that each
block is securely connected to the one before it.

Example: Block 2 will store the hash of Block 1. Block 3 will store the hash
of Block 2, and so on.

DLT 9
This creates an unbreakable link between the blocks, making the
blockchain secure because if someone tried to change one block, it would
break the link to the next block.

d. Nonce (Number Used Once):


The nonce is a special number used in the mining process to help generate
the correct hash for a block. Miners need to find the right nonce value that,
when combined with the data in the block, produces a hash that meets certain
criteria (usually a number of leading zeros in the hash).

Once the right nonce is found, the block is added to the blockchain.

e. Timestamp:
The time and date when the block was created or validated. This helps keep
track of when each block was added to the chain.

Example (Simplified Blockchain Structure):


1. Genesis Block (Block 1):

Transaction Data: Initial transaction (e.g., "100 Bitcoin created").

Hash: Unique identifier (e.g., abc123 ).

Previous Hash: None or a special value like 000000 .

2. Block 2:

Transaction Data: David sends 2 Bitcoin to John.

Hash: New identifier (e.g., def456 ).

Previous Hash: Hash of Genesis Block ( abc123 ).

3. Block 3:

Transaction Data: Alice sends 1 Bitcoin to Bob.

Hash: New identifier (e.g., ghi789 ).

Previous Hash: Hash of Block 2 ( def456 ).

DLT 10
2. The Genesis Block
The Genesis Block is the very first block in a blockchain.

It is called the "genesis" because it's the starting point of the entire chain.
Every other block in the blockchain is built on top of this initial block.

In blockchain systems, the genesis block is unique because it does not


have a previous block's hash, as there is no block before it. This makes it
special, and every blockchain begins with its own genesis block.

Example:
In Bitcoin, the Genesis Block was created by Satoshi Nakamoto on January
3, 2009. It contained a special message in the data field: “The Times
03/Jan/2009 Chancellor on brink of second bailout for banks.” This was a
reference to the financial crisis at the time and reflected the purpose
behind creating Bitcoin.

Characteristics of the Genesis Block:


First Block: Every blockchain starts with this block.

No Previous Hash: Since there’s no block before it, the genesis block has a
special value in place of a previous block’s hash (usually all zeros).

Sets the Rules: The Genesis Block often establishes the rules for the rest
of the blockchain, including how future blocks will be linked.

What Happens When Data is Changed in a Blockchain


Every block in a blockchain has a unique hash. This hash is based on the
contents of that block, which include:

The transactions or data stored in the block.

The hash of the previous block.

The nonce (a special number used in mining).

If a person tries to change even a single bit of data in a block, the hash of that
block will change completely because the hash is calculated from the block's
data.

DLT 11
Example:
Let’s say we have three blocks linked together:

Block 1:

Data: "David sends 2 Bitcoin to John"

Hash: abc123

Previous Block Hash: None (because it’s the Genesis Block)

Block 2:

Data: "Alice sends 1 Bitcoin to Bob"

Hash: def456

Previous Block Hash: abc123 (from Block 1)

Block 3:

Data: "Charlie sends 3 Bitcoin to Dave"

Hash: ghi789

Previous Block Hash: def456 (from Block 2)

Now, imagine someone changes the data in Block 2 (e.g., changes "Alice
sends 1 Bitcoin to Bob" to "Alice sends 5 Bitcoin to Bob").

Block 2’s hash ( def456 ) will completely change because the hash is based
on the block's data.

Since Block 3 contains the previous block’s hash (in this case, def456 from
Block 2), Block 3 will also become invalid, because its "previous block
hash" no longer matches the new hash of Block 2.

So, changing the data in a single block will break the link between that block
and all the following blocks. This makes it extremely difficult for anyone to
alter the blockchain without being noticed.

What is Proof of Work?


Proof of Work (PoW) is a system that helps secure the blockchain by making it
computationally hard to tamper with blocks. It’s the process that miners go

DLT 12
through to add new blocks to the blockchain, and it involves solving a complex
mathematical puzzle.

How Proof of Work works:


To add a new block to the blockchain, miners need to find a special number
called the nonce. The nonce, when combined with the data in the block,
must produce a hash that meets certain criteria (usually, the hash must
start with a certain number of leading zeros).

Finding the correct nonce takes a lot of computational effort because


miners have to try many different nonce values until they find the one that
produces the correct hash.

Once the correct nonce is found, the block is added to the blockchain, and
the miner is rewarded.

Importance of Proof of Work in Preventing Tampering:


If someone wanted to change the data in a block, they would need to
recalculate the nonce for that block, which is a very time-consuming and
resource-intensive task.

Not only that, but they would also have to recalculate the nonce for every
following block because changing one block changes all the hashes of the
blocks that come after it.

This makes it practically impossible to alter a blockchain without having a


massive amount of computational power.

In short, Proof of Work makes it incredibly difficult to change the data in a


blockchain because any attempt to do so would require re-mining all the
following blocks.

What is Consensus Rule?


Consensus rules are the set of rules that all participants (nodes) in the
blockchain network agree to follow. The purpose of consensus is to ensure
that everyone in the network agrees on the current state of the blockchain (i.e.,
which transactions are valid and which blocks are part of the chain).

DLT 13
Types of Consensus Mechanisms:
1. Proof of Work (PoW):

As mentioned, PoW is the consensus mechanism used by Bitcoin and


many other cryptocurrencies. It ensures that new blocks can only be
added to the chain after miners have done the necessary work (solving
the puzzle).

2. Proof of Stake (PoS):

Another type of consensus mechanism (used by Ethereum 2.0, for


example). Instead of miners solving puzzles, validators are chosen
based on the amount of cryptocurrency they "stake" as collateral.
Validators verify transactions and are rewarded, but if they act
dishonestly, they lose their stake.

3. Other Consensus Mechanisms:

There are other consensus mechanisms, like Delegated Proof of Stake


(DPoS) or Practical Byzantine Fault Tolerance (PBFT), but all have the
same goal: to ensure agreement and trust among the network
participants.

How Consensus Prevents Tampering:


Consensus rules ensure that all participants in the network agree on
which version of the blockchain is valid.

If someone tries to change the data in a block, the tampered block will
have a different hash, and the majority of participants will reject it because
it doesn't follow the established consensus rules.

For example, in Proof of Work, the network will reject any block that
doesn’t have a valid hash (meaning the miner didn't solve the puzzle
correctly).

So, consensus rules ensure that only valid blocks are added to the blockchain,
and any attempt to tamper with the blockchain will be noticed and rejected by
the majority of the network.

Blockchain in Cryptocurrency

DLT 14
This is the most well-known application of blockchain technology.
Cryptocurrencies like Bitcoin, Ethereum, and others operate on a blockchain.

Cryptocurrency: Blockchain acts as a distributed ledger that records all


transactions in the network. It ensures transparency, security, and
immutability, meaning once a transaction is recorded, it cannot be altered.

For example, when you send Bitcoin to someone, that transaction is


verified by miners using Proof of Work and recorded on the blockchain.

2. Blockchain in Notary Services (Verification of Documents)


A notary is responsible for verifying the authenticity of documents or
agreements. Blockchain can enhance this process in the following ways:

Immutable records: Blockchain can store a permanent, time-stamped


record of documents or contracts. Once a document is notarized and
placed on the blockchain, it can't be changed, which ensures the
authenticity and integrity of the document.

Example: A person uploads a document (like a contract or certificate) onto


a blockchain, where it’s assigned a unique hash. This hash verifies the
document’s authenticity. Anyone can check the document's authenticity by
comparing the hash of the uploaded document with the hash stored on the
blockchain.

3. Blockchain in Real Estate (Property Transactions)


Blockchain has potential applications in real estate to streamline and secure
property transactions.

Smart Contracts: Blockchain can automate property sales via smart


contracts (explained below). For example, once certain conditions are met
(like receiving payment), the ownership of a property is automatically
transferred without needing intermediaries like agents or banks.

Land Registration: The government or real estate registries can use


blockchain to keep an immutable record of property ownership. This makes
it easier to verify ownership, prevents fraud, and reduces paperwork.

DLT 15
Example: A buyer and seller agree on a property sale. The details are
recorded in a smart contract, and once the buyer transfers the payment,
the ownership is automatically transferred on the blockchain, without
manual intervention.

4. Blockchain in Hospital Management


Hospitals can use blockchain to securely manage patient data and improve the
healthcare system.

Patient Records: Blockchain can store patient records in a way that


ensures security, privacy, and integrity. Each patient can have a unique
blockchain ID, allowing hospitals to share patient data securely between
departments or even different healthcare providers, with permission-
based access.

Medical Supply Chain: Blockchain can help track and manage the entire
supply chain for medical equipment and drugs, ensuring authenticity and
reducing fraud.

Example: A patient’s medical history (lab tests, surgeries, medications) is


stored on the blockchain. Doctors, insurance companies, and other parties
can access these records securely, but only with the patient’s consent.

5. Blockchain in Business & Project Management


Businesses can use blockchain for several purposes to improve transparency
and efficiency:

Supply Chain Management: Blockchain allows businesses to track


products at every step of the supply chain, from production to delivery.
This ensures transparency and helps prevent fraud or counterfeiting.

Payment Systems: Businesses can use blockchain for secure and fast
payments. For example, international payments can be processed without
the need for intermediaries, saving time and money.

Auditing and Accounting: Blockchain can automatically record financial


transactions in a transparent and immutable way. This helps in auditing and
ensures compliance with regulations.

DLT 16
Example: A company selling goods can track the entire journey of their
products (from manufacturing to delivery) on the blockchain, with all
stakeholders (suppliers, distributors, customers) being able to verify the
data.

6. Smart Contracts
A smart contract is a self-executing contract where the terms of the
agreement are written directly into the code. The contract is automatically
executed when predefined conditions are met, without needing intermediaries.

How Smart Contracts Work:


Self-executing: The contract will automatically execute the terms of the
agreement once the conditions are fulfilled. For example, if a person is
supposed to receive a payment when they complete a task, the payment is
automatically transferred once the task is marked as complete.

Decentralized: The execution of the contract is handled by the blockchain,


making it tamper-proof and independent of any central authority.

Smart Contracts in Practice:


1. Real Estate: A smart contract could automatically transfer ownership of a
house to the buyer once the payment is made.

2. Insurance: If certain conditions (like natural disasters or accidents) are


met, a smart contract could automatically trigger a payout to the insured
person without the need for a manual claims process.

3. Supply Chain: Smart contracts can automatically release payments when


goods arrive at their destination, ensuring that payments are made only
after certain conditions are met.

4. Crowdfunding: In a decentralized crowdfunding platform, if a project raises


enough funds (reaching the target), the smart contract automatically
releases the funds to the project owner. If it doesn't meet the target, the
funds are returned to the investors.

Example of a Smart Contract:

DLT 17
Let’s say David wants to sell a car to John. They create a smart contract on
Ethereum. The contract states that once John sends payment, the car
ownership will be transferred to him. As soon as the blockchain detects
that John has transferred the payment, the ownership is automatically
updated in the digital registry.

7. Additional Uses of Blockchain:


Voting Systems: Blockchain can create secure, transparent voting systems
where every vote is recorded immutably, ensuring free and fair elections.

Intellectual Property: Blockchain can be used to protect intellectual


property (IP), such as music, art, or patents. By recording the ownership of
an IP asset on a blockchain, creators can prove they are the original
owners and track any transfers of ownership.

Charity and Donations: Blockchain can provide transparency in charitable


organizations by allowing donors to see how their donations are being
used, ensuring the funds are not mismanaged.

DLT 18

You might also like