Distributed Ledger Technology
Distributed Ledger Technology (DLT) enables the realization and operation of distributed ledgers , where benign nodes, through a shared consensus mechanism , agree on an (almost) immutable record of transactions in the presence of Byzantine failures and eventually achieve consistency.
Relational Databases
Centralized databases
- Better and easier to maintain but less availability
Decentralized databases
Distributed Database
A distributed database is a type of database where data are replicated across multiple storage devices (nodes) with equal rights
consensus mechanism
A consensus mechanism is designed to achieve an agreement on a single state of a data value (e.g., the replication of stored data) among nodes of a distributed database under consideration of network failures.
Which two consensus mechanisms are there?
Byzantine fault
A Byzantine fault is a condition of a particularly distributed computer system, where components may fail and there is imperfect information on whether a component has failed.
Forms of Byzantine faults (3)
1) A node can be determined as crashed or not reachable over the network as the node does not respond anymore
2) A monitoring system may not be able to determine the status of a certain node, which can occur when the node crashes or network failures result in inconclusive responses from the node.
3) Nodes may follow malicious intentions such as trying to store incorrect data into the distributed database
Distributed ledger
A distributed ledger is a type of distributed database that assumes the presence of nodes, which have malicious intentions. A distributed ledger incorporates multiple replications of a ledger, where data can only be appended or read
-> Anyone can contribute to the distributed ledger and assure that stored data is not corrupted!
Blockchain 1.0 (2008) features (3)
Blockchain 2.0 features (3)
Blockchain 3.0 features (3)
Blockchain as a service
DLT designs provided as a cloud service
(SAP Leonardo, IBM Watson IoT, Microsoft Azure,
HyperLedger Fabric)
DLT concept
provides description of the architecture of a DLT and the organization of transactions
- Block-based directed acyclic graphs (blockDAG)
- Transaction-based directed acyclic graphs (TDAG)
Example: Bitcoin and Ethereum employ the DLT concept blockchain
DLT design
is the concrete implementation of a DLT concept
DLT property
forms a group of related DLT characteristics, which is featured by all DLT designs
DLT characteristic
is a granular component of a DLT property, which can be used to define application requirements for DLT
DLT Properties (7)
Community Flexibility Law & Regulation Transparency Performance Security Usability
Public Permissioned DLT design
Public Permissionless DLT design
Private Permissioned DLT design
Private Permissionless DLT design
- Any included device is allowed to access (read, write), and validate transactions
Hash functions
injective functions used to map data blocks of an arbitrary size to data of a defined, fixed size
- enable the use of digital signatures and the verifying of data integrity
- deterministic: hash function produces never differ in respect of a specific input
- Hash functions must not reveal the original data
h = hash(d) reconstructing the data value d has to be extremely difficult