Lecture 2 - Blockchain technology in SBN Flashcards
What are blockchain drivers?
- Securing built-in the protocol.
- Transparency for the customer.
- Immutable data.
- Human trust replaced by mathematics.
- Disintermediation.
- Servification (combination of immutable data and execution).
- Single source of truth.
What are the blockchain challenges?
- Concept of regulation.
- Highly complicated technology.
- Transparency for the supplier.
- Maturity (design paradigms)
- We have and also love central authorities.
- Lack of standards (every platform has its own technology).
- Boundaries (on- and offchain)
- Scaling problem (Merkle root)
- Too many use cases
What is Blockchain?
A distributed consensus system for parties that do not trust each other to transact, by irreversibility storing transaction data or logic in a distributed ledger.
Combination of:
- existing knowledge in P2P (networking).
- cryptography (security).
- consensus mechanisms (AI).
- distributed computing (mainframe)
Blockchain is distributed since every node is connected to another node.
Three types of blockchain
- Public: most common and is decentralized, based on proof (e.g. bitcoins/virtual currency).
- Hybrid: used by multiple companies (hybrid) and based on validation (e.g. a group of banks).
- Private: selected miners and in centralized, based on validation (e.g. government).
Public blockchain
Type: public, not permissioned. Consensus: decentralized, based on proof. Governance: anonymous nodes. Trust: low Scalability: limited Use: e.g. virtual currency.
Hybrid blockchain
Type: consortium, private, permissioned. Consensus: hybrid, based on validation. Governance: pre-selected set of nodes. Trust: medium. Scalability: unlimited. Use: e.g. banking system.
Private blockchain
Type: private, permissioned. Consensus: centralized, based on validation. Governance: single organisation. Trust: high. Scalability: unlimited. Use: e.g. government, notary.
How does a blockchain transaction work?
- Transaction is initiated by an actor through a wallet. 2. The transaction is prefunded to ensure that there is sufficient balance.
- The transaction is either simple (default) for one-time value transfers or contains contract code (smart contract).
- Once a transaction is verified and valid, it is added to a block.
- The transaction carriers a fee for the nodes to execute it, regardless of the outcome.
- Transaction is verified by network nodes, validated or mined and consequently executed or rejected. Nodes implement a certain codebase with default (Bitcoin) or custom (Altchain).
- Once a transaction is verified and valid, it is added to a block. For enhanced security an uncle or cousin is included by the nodes.
- Nodes update the balance states and are awarded for each succesful transaction.
- Winning node propagates the updated chain to other nodes in the chain (= forking). Chain can be queried for transaction specifics or state.
Chain
A combination of blocks. Within the blockchain ecosystem, there are multiple concepts of chains.
Main chain
A chain that contains the block headers generated by the network nodes. Main chain can be related to a side chain, where additional functionality is built upon.
Sidechain
A chain that allows the transfer of assets from the side chain to the main chain and vice-versa. The benefit is that it can store assets and data that cannot be saved on the main chain, and may increase the transaction speed significantly by using pre-mined main chain addresses (e.g. counterparty).
Altchain
Refers to a main chain that is implemented for an alternative codebase (e.g. Ethereum and Tendermint).
Drivechain
Side chain that provide a two-way peg allowing transfers of cryptocurrency form a main chain to another main chain requiring low-third-party trust.
Pegged chain side chain
A side chain that enables assets to be moved between multiple main chains, thereby illuminating counterparty risk, enabling atomic transactions, enforcing firewalled chains and making chains independent.
Blockchain technology is the enabler for?
- Smart contracts: coded contracts on the blockchain that automatically move digital assets according to arbitrary specified rules.
- Servification: risk-free exploitation of physical goods as a service, like car rental services that remotely disable the ignition system in the event that payment fails according to data on the blockchain.
- Tokenization: process of converting rights to real world assets into a digital token on a blockchain.