Unit 1 Slides
Unit 1 Slides
Blockchain Technology
Text Book:
Mastering Blockchain
Unlocking the Power of Cryptocurrencies and Smart Contracts
Authors
Lorne Lantz & Daniel Cawrey
Electronic Systems and Trust
• Initially, in 1960, the internet was a simple, relatively small network
• It was primarily used as a tool for university researchers and the US
government to share information digitally
• With time TCP/IP model and other protocols came into existence such as
HTTP and SMTP
• Thus, electronic systems evolved
• However, using online services and products require use of Trusted Third
Parties – TTP (intermediaries)
• These TTPs act as trusted gatekeepers
• In general, electronics systems require two types of trust
• Intermediary Trust: A third party is relied on to make rational and fair decisions
• Issuance Trust: A third party is relied on to ensure the safety and security of any value.
Centralized – Decentralized – Distributed
• Internet today is mix of
centralized and distributed
applications
• Internetworks were designed as
distributed system initially with
the goal that
• if one part of the system were
attacked, remaining part would
still be able to operate
• In the recent times, companies
such as Google, Facebook, Apple,
and Amazon have dominated and
turned the internet into more
centralized system
Centralized System
No need for Easy monitoring, Established legal
multiple maintenance, and frameworks for
infrastructure controllability auditing and
High physical
facility compliance
security since
housed at
fixed locations Supports
closed
markets and
businesses
Anshuman Kalla
Issues with Centralized
Systems and Database
• Loss of ownership
• Single point-of-failure
Centralized in
• Not open and limited access
Nature
• Availability issue due to
down time
• Authoritative entities
Third Party • Processing delay
Invocation • Fee
• Privacy Issue
Centralized System – An Example
Decentralized System
• In a fully decentralized system, a given node does not
necessarily collaborate with every other node to achieve its
objective –> No collaborative decision
• In fact, every node makes its own decision and hence, has different
clocks that they run and follow
• The final behavior of the system is driven by the consensus
established among the majority of the nodes
• There is no single entity that receives and responds to the
request → No Single ownership
• Nodes are connected using Peer-to-Peer (P2P) architecture
• Nodes have different ownership and controllability
• Nodes are usually anonymous (i.e., do not know each other’s
identity)
Decentralized System – An Example
12
DigiCash
• DigiCash was founded by David Chaum in 1989
• The motive of DigiCash was to enable anonymous online digital payments
• Chaum invented the blind signature technology, which allowed privacy-
protected (anonymous) payments.
• The DigiCash platform had its own currency, known as cyberbucks
• At the time of signup users would receive $100 in cyberbucks, which were often
referred to as tokens or coins
• The company pioneered secure microchipped smart cards, similar to the
system used in most credit cards today
• It was also an early innovator in terms of the concept of a digital wallet for
storing value—in this case, cyberbucks.
DigiCash
• Many privacy-conscious users did begin using cyberbucks
• However, it was never able to achieve traction due to lack of merchants,
though, and DigiCash ultimately filed for bankruptcy in 1998.
E-Gold
• E-gold was established in 1996, and the digital value was backed by real units
of precious metal.
• E-gold was operated by a company called Gold & Silver Reserve
• Everything on the E-gold platform was denominated in units of gold or other
precious metals.
• E-gold enabled instant transfers between its users on the internet.
• With denominations as small as one ten-thousandth of a gram of gold, the
platform was the first to introduce the concept of making micropayments, on
the internet.
• Innovative for the time, E-gold also offered developers an API that allowed
others to create additional services on top of the platform.
• Merchants accepted E-gold as a form of payment alongside credit cards in
online shopping carts.
E-Gold
• By 2006 there were over 3.5 million E-gold accounts. At that time, the
company was processing $5.9 million in daily volume.
• Issues:
• As a centralized system, E-gold had no mechanism to tie accounts to
anyone’s identity.
• The platform was being used for nefarious purposes, facilitating money
laundering, online scams, and other illegal activity.
• The US government shut down E-gold in 2008, seizing its assets and
establishing a system of redemption for account holders.
Hashcash
• Hashcash was invented by Adam Back in 1997
• It was designed to solve the problem of Email spam and Denial-of-Service
(DoS) attack
• Hashcash is a cryptographic hash-based proof-of-work algorithm that
requires sender to produce some kind of verifiable output know as stamp
• Before sending an email, hashcash stamp is added to the header of an email
to prove the sender has utilized a modest amount of resources, power and
CPU time calculating the stamp
• For receiver, it takes negligible amount of effort to verify the work (i.e. stamp)
of the sender
Hashcash
Summary
• In general, the spammers want to send large numbers of emails with very
little cost per email
• Now with hashcash if there is even a small cost for each spam they send then
they will cease to be profitable
• Receivers can verify whether a sender made such an investment and use the
results to help filter email.
• For hashing, Hashcash used SHA1 algorithm
B-Money
• B-Money was proposed by Wei Dai in 1998
• B-Money introduced the concept of using computer science to create money
outside the governmental systems.
• B-Money advanced the idea of broadcasting secure transactions to a
network.
• For example, if one party wanted to pay another, a message would be sent to the
network saying, “Person 1 will send $X to Person 2.”
• The system would be enforceable via a system of digital contracts.
• B-Money would use cryptography instead of a centralized system for both
payments and the enforcement of contractual issues,
• enabling users of the network to be anonymous; no identity would be required.
B-Money
• There are many concepts put forward by B-Money
• Idea of contracts to provide order to an anonymous and distributed system
22
Bitcoin Experiment
• By 2008, the world was already relying on the internet for many services such as
Email, Skype, GPS, and WhatsApp
• In addition, e-commerce and m-commerce started in full swing
• Buying and selling of goods online and with e-payments
First bitcoin transaction took place in 2009 when Hal Finney received 10
BTC from Satoshi
Data
Technology?
Structure?
?
Anshuman Kalla 28
What is Blockchain?
2. Value
• A unit of account, called bitcoin (often denoted as BTC), is used to record transactions on the
ledger
4. Consensus
• It is a mechanism to establish the agreement among the nodes participating in the blockchain
network about the current status of blockchain database (i.e., ledger).
Why and how it is difficult to alter a
block or a transaction in blockchain?