dlt
dlt
Tags
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.
Disadvantages:
A single point of failure: If the central authority goes down or gets hacked,
the whole system can fail.
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.
Disadvantages:
Summary:
Centralized: One central entity controls everything (e.g., banks, social
media platforms).
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.
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."
A digital ledger does the same thing but electronically. It records information in
digital form (on computers) instead of in a book.
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.
2. Cryptocurrency (Blockchain):
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:
This ensures that everyone involved knows exactly where the product
is and if there are any issues along the way.
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.
Everyone in the network has access to the same copy of the ledger, so no
one can tamper with the records without others noticing.
2. Transparency: With systems like blockchain, everyone can see the history
of transactions, making it hard for anyone to cheat.
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.
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.
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.
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.
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.
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.
Nonce and Hash: Security measures that ensure the block’s data cannot
be tampered with once it’s added to the chain.
Block 2 (Page 2): When Page 1 (Block 1) is filled, a new page is started:
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.
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.
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.
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.
2. Block 2:
3. Block 3:
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.
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.
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.
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:
Hash: abc123
Block 2:
Hash: def456
Block 3:
Hash: ghi789
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.
DLT 12
through to add new blocks to the blockchain, and it involves solving a complex
mathematical puzzle.
Once the correct nonce is found, the block is added to the blockchain, and
the miner is rewarded.
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.
DLT 13
Types of Consensus Mechanisms:
1. Proof of Work (PoW):
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.
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.
Medical Supply Chain: Blockchain can help track and manage the entire
supply chain for medical equipment and drugs, ensuring authenticity and
reducing fraud.
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.
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.
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.
DLT 18