SlideShare a Scribd company logo
1 of 38
The Basic Theories of Blockchain
Mainly Bitcoin
Sota Watanabe
The purpose of this document is to understand the basic systems and
theories of Blockchain. I believe that Blockchain is one of the main
general purpose technologies in the following decades.
Purpose
2
01
02
03
04
Agenda
3
Preface
Basic System
Practical System
Use cases
Preface
5
Sota Watanabe
Hello. I am a student at Keio university and San
Francisco State University.
Ex-SoftBank Robotics Intern, Ex-VALUENEX Intern, Ex-NPO.ETIC. Intern.
https://www.facebook.com/SotaWatana
be0426
Facebook
https://medium.com/new-story
Medium
https://twitter.com/souta__watanabe?lang
=ja
Twitter
Bitcoin : Price
6
Cyprus Crisis
https://www.coindesk.com/price/
Reward : 50BTC Reward : 25BTC Reward : 12.5BTC
Currently, the price is $4,351 / 1 BTC
Mt.Gox
Bitcoin : Basic Knowledge
7
Half-life period
In terms of Bitcoin, The reward of mining is
reduced by half in every 210,000 blocks,
and a block is made every single 10 minutes.
-2012 : 50BTC
-2016 : 25BTC
-NOW: 12.5BTC
The total amount of Bitcoin is 21,000,000BTC.
And, the number of last block will be 6,929,999.
Mining
Miners are participating Proof of Work
and get rewards, if they can contribute to the
network. (correct answers)
Ability of processing
Bitcoin : 7 tps (transaction per second.)
Cf. VISA : 4000〜6000tps
Private Blockchain (mijin) : 3000tps
The aim of Bitcoin
A purely peer-to-peer version of electronic cash would allow online payments to be sent
directly from one party to another without going through a financial institution.
Source: https://bitcoin.org/bitcoin.pdf
Bitcoin : Basic Knowledge
8
• A maximum number of Bitcoins is 20,999,999.
• The maximum will be reached in 2140.
9
The innovative solution of Bitcoin is not cost reduction,
but to minimize the user-charges by making a new value
(BTC) in a virtual ecosystem.
Innovation
10
Bitcoin is the first practical solution to a longstanding problem in
computer science called the Byzantine Generals Problem.
Mark Andreessen
https://dealbook.nytimes.com/2014/01/21/why-bitcoin-matters/
Bitcoin is just one of the use cases of Blockchain.
Basic System
Satoshi Nakamoto Research Paper(2008)
A purely peer-to-peer version of electronic cash would allow online
payments to be sent directly from one party to another without going through a
financial institution. Digital signatures provide part of the solution, but the main
benefits are lost if a trusted third party is still required to prevent double-spending.
We propose a solution to the double-spending problem using a peer-to-peer network.
The network timestamps transactions by hashing them into an ongoing chain of
hash-based proof-of-work, forming a record that cannot be changed without redoing
the proof-of-work. The longest chain not only serves as proof of the sequence of
events witnessed, but proof that it came from the largest pool of CPU power. As
long as a majority of CPU power is controlled by nodes that are not cooperating to
attack the network, they'll generate the longest chain and outpace attackers. The
network itself requires minimal structure. Messages are broadcast on a best effort
basis, and nodes can leave and rejoin the network at will, accepting the longest
proof-of-work chain as proof of what happened while they were gone.
Features of Blockchain
14Source: MITI
• It is nearly impossible to tamper the transactions.
• All transactions are opened to participants.
• Trustless system (Without 3rd party)
3 Core Characteristics
15
Genesis
Block
BlockBlock
BlockBlockBlock
Contract : A→B $10
①Connect each block which was proved
to be correct.
②P2P system.
Every node has the same ledger.
③Consensus algorithm
PoW, PoS
The former block’s
hash value
Transactions in
about 10 minutes.
The former block’s
hash value.
PoW
N transactions
New Block
Workflow System①
16
Participants : A, B, C, D, E, F, G
Miners : α, β, γ, δ, ε
A
B
C D
E
F
α
β
γ
ε
δ
Blockchain
Workflow System②
17
A send 10BTC to C, C send 5BTC to F, E send 8BTC to D
A→C, C→F, E→ D
A
B
C D
E
F
α
β
γ
ε
δ
Workflow System③
18
A
B
C D
E
F
α
β
γ
ε
δ
The transactions are broadcasted to participants and miners at the same time.
Transactions like A→C, C→F, E→D are also the same.
Workflow System④
19
A
B
C D
E
F
α
β
γ
ε
δ
The miners which received transactions confirm signatures and start to find Nance.
Workflow System⑤
2020
A
B
C D
E
F
α
β
γ
ε
δ
The one who finds Nance will make a new block and broadcast it to all participants and miners.
Workflow System⑥
21
A
B
C D
E
F
α
β
γ
ε
δ
Miners which received the block confirm it and add it to own blocks.
*Reference : Miner
22
Source: bitflyer
• A miner is a agent who tries to mine blocks.
• When a miner mines a block, the block
is broadcasted to the network. If the block
is part of the longest chain, the miner can
get reward with bitcoin.
Types of Blockchain
23https://www.jbs.cam.ac.uk/fileadmin/user_upload/research/centres/alternative-finance/downloads/2017-09-27-ccaf-globalbchain.pdf
• Read (who can access the ledger and see transactions)
• Write (who can generate transactions and send them to the network)
• Commit (who can update the state of the ledger).
Practical System
The Structure of Blocks
25
Former block’s hash value Former block’s hash value Former block’s hash value
Nance Nance Nance
Transaction Transaction
TransactionTransaction
Transaction Transaction
TransactionTransaction
Transaction Transaction
Transaction Transaction
• A block is including transactions in a certain period of time.
• A block is including the former block’s hash value.
Therefore, it looks like a chain structure.
• The hash is recomputed for each value until a hash containing the
required number of zero bits is found. (set by “the difficulty”)
☓
☓
*Reference : Nance
26
• The nance in a bitcoin is a 32bit (4byte).
• In terms of bitcoin, the difficulty of finding “nance”
is set. It is about 10 minutes.
Hash
Hash
Hash
Nance : aaaaaa
Nance : aaaaaa
Nance : aaaaaa
Other data : bbbbbbbbbbbb
Other data : bbbbbbbbbbbb
Other data : bbbbbbbbbbbb
21333508fdw9cujsighweh・・・
000000000000000012ec2h93・・
0000012dwvf344brthhh64・・・10 min
P2P
27
Hybrid model is a combination of peer-to-peer and
client-server models.
There is a central server that helps peers find each other.
Hybrid P2P
Index information
P2P P2P
P2P is a decentralized model whereby two individuals
Interact directly with each other, without intermediation
by a third-party
Pure P2P
Consensus Algorithm : PoW in Bitcoin
28
A proof of work is a piece of data which is difficult (costly, time-consuming) to produce but easy for others to verify and which satisfies certain
requirements. Producing a proof of work can be a random process with low probability so that a lot of trial and error is required on average before a valid
proof of work is generated. Bitcoin uses the Hashcash proof of work system.
One application of this idea is using Hashcash as a method to preventing email spam, requiring a proof of work on the email's contents (including the To
address), on every email. Legitimate emails will be able to do the work to generate the proof easily (not much work is required for a single email), but mass
spam emailers will have difficulty generating the required proofs (which would require huge computational resources).
Hashcash proofs of work are used in Bitcoin for block generation. In order for a block to be accepted by network participants, miners must complete a proof
of work which covers all of the data in the block. The difficulty of this work is adjusted so as to limit the rate at which new blocks can be generated by the
network to one every 10 minutes. Due to the very low probability of successful generation, this makes it unpredictable which worker computer in the network
will be able to generate the next block.
For a block to be valid it must hash to a value less than the current target; this means that each block indicates that work has been done generating it. Each
block contains the hash of the preceding block, thus each block has a chain of blocks that together contain a large amount of work. Changing a block (which
can only be done by making a new block containing the same predecessor) requires regenerating all successors and redoing the work they contain. This
protects the block chain from tampering.
The most widely used proof-of-work scheme is based on SHA-256 and was introduced as a part of Bitcoin. Some other hashing algorithms that are used for
proof-of-work include Scrypt, Blake-256, CryptoNight, HEFTY1, Quark, SHA-3, scrypt-jane, scrypt-n, and combinations thereof.
https://en.bitcoin.it/wiki/Proof_of_work
The Problems of PoW
29
51% Attack
Finality Problem
Performance limit
Heavy Capacity
If a miner or a pool got more than 50%
of the network’s mining hashrate, they would
be able to prevent new transactions and reverse
the transactions.
Public blockchains are an acceptable settlement mechanism
and layer for financial instruments. But public blockchains
by design cannot definitively guarantee settlement finality,
and as a result, they are currently not a reliable option for the
clearing and settling of financial instruments.
Tim Swanson
https://login.tabbgroup.com/login?service=http%3A%2F%2Ftabbforum.com%2Fopinions%2
Fsettlement-risks-involving-public-blockchains%3Fprint_preview%3Dtrue%26single%3Dtrue
Vitalik Buterin’s response:
https://blog.ethereum.org/2016/05/09/on-settlement-finality/
Bitcoin : 7tps
VISA : 4000〜6000tps
Participants must have the whole transactions.
The capacity is more than 70〜80GB
* Reference :51% Attack
30
@Berkeley Blockchain
Usually, a Miner joins a pool which is a team of other miners and cooperates to mine.
Miner’s share
• Currently, there are no pools which get
more than 50%.
• Miners are mainly from China and the other
countries which the electronic bills are so low.
*Reference : Finality
31
Invalid
Invalid
● The majority decision is represented by the longest chain, which has the greatest proof-of-work effort
invested in it.
● Nodes always consider the longest chain to be the correct one and will keep working on
extending it.
Satoshi Nakamoto (2008)
Other Consensus Algorithms
32
Consensus Algorithm System
Proof of Work Bitcoin Core
Proof of Stake Etereum, mijin
Paxos Google Chubby
Raft RAMCloud
PBFT Hyperledger Fabric
Sieve Hyperledger Fabric
*Reference :
33
Crypto currency Others
Hyper Ledger Fabric
EthereumBitcoin
Use cases
International Remittance
35
Bank A Bank B
Account Account
Blockchain
$→ B
Withdraw
B→¥
Deposit
Payment Payment
Fast and Cheap
Bank A
$
$→¥
Correspondent Bank
Bank B Bank C
¥
Long and Expensive
Trade
36
ImportExport
Blockchain
Funding
37
I have a new idea!
Blockchain
Smart Contract
Investor Investor
register
Payment
Payment
return
Energy
38
TransActive Grid Project
Sell and buy electronic power without 3rd party
Transaction
Smart Mater
Register
Blockchain

More Related Content

What's hot

Blockchain - A Solution For Nothing
Blockchain - A Solution For NothingBlockchain - A Solution For Nothing
Blockchain - A Solution For NothingYash Gadhiya
 
Regulating digital currencies
Regulating digital currencies Regulating digital currencies
Regulating digital currencies Yuri Livshitz
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchainoudesign
 
Global Future of Blockchain
Global Future of Blockchain Global Future of Blockchain
Global Future of Blockchain Melanie Swan
 
Blockchain technology revolutionising technology
Blockchain technology revolutionising technologyBlockchain technology revolutionising technology
Blockchain technology revolutionising technologySuman Nayak
 
Sidechains and Bitcoin security
Sidechains and Bitcoin securitySidechains and Bitcoin security
Sidechains and Bitcoin securityTim Swanson
 
ppt on Blockchain Technology
ppt on Blockchain Technologyppt on Blockchain Technology
ppt on Blockchain TechnologyAnsh Budania
 
How Blockchain Is Different From Cryptocurrency?
How Blockchain Is Different From Cryptocurrency?How Blockchain Is Different From Cryptocurrency?
How Blockchain Is Different From Cryptocurrency?Endive Software
 
Blockchain Interview Questions and Answers | Blockchain Technology | Blockcha...
Blockchain Interview Questions and Answers | Blockchain Technology | Blockcha...Blockchain Interview Questions and Answers | Blockchain Technology | Blockcha...
Blockchain Interview Questions and Answers | Blockchain Technology | Blockcha...Edureka!
 
Crypto currency secrets
Crypto currency secretsCrypto currency secrets
Crypto currency secretsSahir
 
CryptoCamp Version 1.0 as of Mar. 15, 2019
CryptoCamp Version 1.0 as of Mar. 15, 2019CryptoCamp Version 1.0 as of Mar. 15, 2019
CryptoCamp Version 1.0 as of Mar. 15, 2019Charles Adjovu
 
W24717 economic limit of bitcoin dan blockhain
W24717 economic limit of bitcoin dan blockhainW24717 economic limit of bitcoin dan blockhain
W24717 economic limit of bitcoin dan blockhainRein Mahatma
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchainKrzysztof Bury
 
Why How What - The Blockchain
Why How What - The BlockchainWhy How What - The Blockchain
Why How What - The BlockchainSam Wouters
 
Cryptocurrencies - Part II | A Case Study of Bitcoin
Cryptocurrencies - Part II | A Case Study of BitcoinCryptocurrencies - Part II | A Case Study of Bitcoin
Cryptocurrencies - Part II | A Case Study of BitcoinSyed Hassan Talal
 
Whitepaper blockchain technology and investment
Whitepaper blockchain technology and investmentWhitepaper blockchain technology and investment
Whitepaper blockchain technology and investmentIbrahim Khatri
 
AirTree Ventures Crypto 101
AirTree Ventures Crypto 101AirTree Ventures Crypto 101
AirTree Ventures Crypto 101AirTree
 

What's hot (20)

Blockchain - A Solution For Nothing
Blockchain - A Solution For NothingBlockchain - A Solution For Nothing
Blockchain - A Solution For Nothing
 
Regulating digital currencies
Regulating digital currencies Regulating digital currencies
Regulating digital currencies
 
CST 20363 Session 7 - Blockchain
CST 20363 Session 7 - BlockchainCST 20363 Session 7 - Blockchain
CST 20363 Session 7 - Blockchain
 
Global Future of Blockchain
Global Future of Blockchain Global Future of Blockchain
Global Future of Blockchain
 
Blockchain technology revolutionising technology
Blockchain technology revolutionising technologyBlockchain technology revolutionising technology
Blockchain technology revolutionising technology
 
Donn felker etehreum
Donn felker etehreumDonn felker etehreum
Donn felker etehreum
 
Blockchain
BlockchainBlockchain
Blockchain
 
Btcp whitepaper
Btcp whitepaperBtcp whitepaper
Btcp whitepaper
 
Sidechains and Bitcoin security
Sidechains and Bitcoin securitySidechains and Bitcoin security
Sidechains and Bitcoin security
 
ppt on Blockchain Technology
ppt on Blockchain Technologyppt on Blockchain Technology
ppt on Blockchain Technology
 
How Blockchain Is Different From Cryptocurrency?
How Blockchain Is Different From Cryptocurrency?How Blockchain Is Different From Cryptocurrency?
How Blockchain Is Different From Cryptocurrency?
 
Blockchain Interview Questions and Answers | Blockchain Technology | Blockcha...
Blockchain Interview Questions and Answers | Blockchain Technology | Blockcha...Blockchain Interview Questions and Answers | Blockchain Technology | Blockcha...
Blockchain Interview Questions and Answers | Blockchain Technology | Blockcha...
 
Crypto currency secrets
Crypto currency secretsCrypto currency secrets
Crypto currency secrets
 
CryptoCamp Version 1.0 as of Mar. 15, 2019
CryptoCamp Version 1.0 as of Mar. 15, 2019CryptoCamp Version 1.0 as of Mar. 15, 2019
CryptoCamp Version 1.0 as of Mar. 15, 2019
 
W24717 economic limit of bitcoin dan blockhain
W24717 economic limit of bitcoin dan blockhainW24717 economic limit of bitcoin dan blockhain
W24717 economic limit of bitcoin dan blockhain
 
Introduction to blockchain
Introduction to blockchainIntroduction to blockchain
Introduction to blockchain
 
Why How What - The Blockchain
Why How What - The BlockchainWhy How What - The Blockchain
Why How What - The Blockchain
 
Cryptocurrencies - Part II | A Case Study of Bitcoin
Cryptocurrencies - Part II | A Case Study of BitcoinCryptocurrencies - Part II | A Case Study of Bitcoin
Cryptocurrencies - Part II | A Case Study of Bitcoin
 
Whitepaper blockchain technology and investment
Whitepaper blockchain technology and investmentWhitepaper blockchain technology and investment
Whitepaper blockchain technology and investment
 
AirTree Ventures Crypto 101
AirTree Ventures Crypto 101AirTree Ventures Crypto 101
AirTree Ventures Crypto 101
 

Similar to The Basic Theories of Blockchain

The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin Jérôme Kehrli
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxAschalewAyele2
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxAschalewAyele2
 
Blockchain. A Guide For Beginners
Blockchain. A Guide For BeginnersBlockchain. A Guide For Beginners
Blockchain. A Guide For BeginnersElifTech
 
Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How ToNugroho Gito
 
unit3consesence.pptx
unit3consesence.pptxunit3consesence.pptx
unit3consesence.pptxGopalSB
 
BLOCKCHAIN PPT.pptx
BLOCKCHAIN PPT.pptxBLOCKCHAIN PPT.pptx
BLOCKCHAIN PPT.pptxSohanaAmreen
 
Blockchain based Banking System
Blockchain based Banking SystemBlockchain based Banking System
Blockchain based Banking SystemGaurav Singh
 
1910990335_ppt on blockchain and its issue.ppt
1910990335_ppt on blockchain and its issue.ppt1910990335_ppt on blockchain and its issue.ppt
1910990335_ppt on blockchain and its issue.pptbansalvvinayak832
 
38 C O M M U N I C AT I O N S O F T H E A C M M A.docx
38    C O M M U N I C AT I O N S  O F  T H E  A C M       M A.docx38    C O M M U N I C AT I O N S  O F  T H E  A C M       M A.docx
38 C O M M U N I C AT I O N S O F T H E A C M M A.docxdomenicacullison
 
Blockchain Technology Explained
Blockchain Technology ExplainedBlockchain Technology Explained
Blockchain Technology ExplainedMdSaifulIslam289
 
Blockchain Technology | Bitcoin | Ethereum Coin | Cryptocurrency
Blockchain Technology | Bitcoin | Ethereum Coin | CryptocurrencyBlockchain Technology | Bitcoin | Ethereum Coin | Cryptocurrency
Blockchain Technology | Bitcoin | Ethereum Coin | CryptocurrencyUnbiased Technolab
 
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...AlAtfat
 
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...AlAtfat
 
Blockchain-SSM.pptx
Blockchain-SSM.pptxBlockchain-SSM.pptx
Blockchain-SSM.pptxAditya786867
 
Abhishek jaiswal blockchain
Abhishek jaiswal blockchainAbhishek jaiswal blockchain
Abhishek jaiswal blockchainAbhishek Jaiswal
 
Do a research and make a PowerPoint about Insulation for architect
Do a research and make a PowerPoint about Insulation for architectDo a research and make a PowerPoint about Insulation for architect
Do a research and make a PowerPoint about Insulation for architectDustiBuckner14
 
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...BRNSSPublicationHubI
 
Blockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius NetworkBlockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius Networkcharles okaformbah
 
Introduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionIntroduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionDSCIITPatna
 

Similar to The Basic Theories of Blockchain (20)

The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin The Blockchain - The Technology behind Bitcoin
The Blockchain - The Technology behind Bitcoin
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptx
 
chapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptxchapter 4 Selected Topics in computer.pptx
chapter 4 Selected Topics in computer.pptx
 
Blockchain. A Guide For Beginners
Blockchain. A Guide For BeginnersBlockchain. A Guide For Beginners
Blockchain. A Guide For Beginners
 
Ethereum Mining How To
Ethereum Mining How ToEthereum Mining How To
Ethereum Mining How To
 
unit3consesence.pptx
unit3consesence.pptxunit3consesence.pptx
unit3consesence.pptx
 
BLOCKCHAIN PPT.pptx
BLOCKCHAIN PPT.pptxBLOCKCHAIN PPT.pptx
BLOCKCHAIN PPT.pptx
 
Blockchain based Banking System
Blockchain based Banking SystemBlockchain based Banking System
Blockchain based Banking System
 
1910990335_ppt on blockchain and its issue.ppt
1910990335_ppt on blockchain and its issue.ppt1910990335_ppt on blockchain and its issue.ppt
1910990335_ppt on blockchain and its issue.ppt
 
38 C O M M U N I C AT I O N S O F T H E A C M M A.docx
38    C O M M U N I C AT I O N S  O F  T H E  A C M       M A.docx38    C O M M U N I C AT I O N S  O F  T H E  A C M       M A.docx
38 C O M M U N I C AT I O N S O F T H E A C M M A.docx
 
Blockchain Technology Explained
Blockchain Technology ExplainedBlockchain Technology Explained
Blockchain Technology Explained
 
Blockchain Technology | Bitcoin | Ethereum Coin | Cryptocurrency
Blockchain Technology | Bitcoin | Ethereum Coin | CryptocurrencyBlockchain Technology | Bitcoin | Ethereum Coin | Cryptocurrency
Blockchain Technology | Bitcoin | Ethereum Coin | Cryptocurrency
 
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
 
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
Blockchain-Based Internet of Things: Review, Current Trends, Applications, an...
 
Blockchain-SSM.pptx
Blockchain-SSM.pptxBlockchain-SSM.pptx
Blockchain-SSM.pptx
 
Abhishek jaiswal blockchain
Abhishek jaiswal blockchainAbhishek jaiswal blockchain
Abhishek jaiswal blockchain
 
Do a research and make a PowerPoint about Insulation for architect
Do a research and make a PowerPoint about Insulation for architectDo a research and make a PowerPoint about Insulation for architect
Do a research and make a PowerPoint about Insulation for architect
 
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
Improved Particle Swarm Optimization Based on Blockchain Mechanism for Flexib...
 
Blockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius NetworkBlockchain mechanism for IET Mauritius Network
Blockchain mechanism for IET Mauritius Network
 
Introduction to Blockchain Web3 Session
Introduction to Blockchain Web3 SessionIntroduction to Blockchain Web3 Session
Introduction to Blockchain Web3 Session
 

Recently uploaded

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 

Recently uploaded (20)

Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 

The Basic Theories of Blockchain

  • 1. The Basic Theories of Blockchain Mainly Bitcoin Sota Watanabe
  • 2. The purpose of this document is to understand the basic systems and theories of Blockchain. I believe that Blockchain is one of the main general purpose technologies in the following decades. Purpose 2
  • 5. 5 Sota Watanabe Hello. I am a student at Keio university and San Francisco State University. Ex-SoftBank Robotics Intern, Ex-VALUENEX Intern, Ex-NPO.ETIC. Intern. https://www.facebook.com/SotaWatana be0426 Facebook https://medium.com/new-story Medium https://twitter.com/souta__watanabe?lang =ja Twitter
  • 6. Bitcoin : Price 6 Cyprus Crisis https://www.coindesk.com/price/ Reward : 50BTC Reward : 25BTC Reward : 12.5BTC Currently, the price is $4,351 / 1 BTC Mt.Gox
  • 7. Bitcoin : Basic Knowledge 7 Half-life period In terms of Bitcoin, The reward of mining is reduced by half in every 210,000 blocks, and a block is made every single 10 minutes. -2012 : 50BTC -2016 : 25BTC -NOW: 12.5BTC The total amount of Bitcoin is 21,000,000BTC. And, the number of last block will be 6,929,999. Mining Miners are participating Proof of Work and get rewards, if they can contribute to the network. (correct answers) Ability of processing Bitcoin : 7 tps (transaction per second.) Cf. VISA : 4000〜6000tps Private Blockchain (mijin) : 3000tps The aim of Bitcoin A purely peer-to-peer version of electronic cash would allow online payments to be sent directly from one party to another without going through a financial institution. Source: https://bitcoin.org/bitcoin.pdf
  • 8. Bitcoin : Basic Knowledge 8 • A maximum number of Bitcoins is 20,999,999. • The maximum will be reached in 2140.
  • 9. 9 The innovative solution of Bitcoin is not cost reduction, but to minimize the user-charges by making a new value (BTC) in a virtual ecosystem. Innovation
  • 10. 10 Bitcoin is the first practical solution to a longstanding problem in computer science called the Byzantine Generals Problem. Mark Andreessen https://dealbook.nytimes.com/2014/01/21/why-bitcoin-matters/
  • 11. Bitcoin is just one of the use cases of Blockchain.
  • 13. Satoshi Nakamoto Research Paper(2008) A purely peer-to-peer version of electronic cash would allow online payments to be sent directly from one party to another without going through a financial institution. Digital signatures provide part of the solution, but the main benefits are lost if a trusted third party is still required to prevent double-spending. We propose a solution to the double-spending problem using a peer-to-peer network. The network timestamps transactions by hashing them into an ongoing chain of hash-based proof-of-work, forming a record that cannot be changed without redoing the proof-of-work. The longest chain not only serves as proof of the sequence of events witnessed, but proof that it came from the largest pool of CPU power. As long as a majority of CPU power is controlled by nodes that are not cooperating to attack the network, they'll generate the longest chain and outpace attackers. The network itself requires minimal structure. Messages are broadcast on a best effort basis, and nodes can leave and rejoin the network at will, accepting the longest proof-of-work chain as proof of what happened while they were gone.
  • 14. Features of Blockchain 14Source: MITI • It is nearly impossible to tamper the transactions. • All transactions are opened to participants. • Trustless system (Without 3rd party)
  • 15. 3 Core Characteristics 15 Genesis Block BlockBlock BlockBlockBlock Contract : A→B $10 ①Connect each block which was proved to be correct. ②P2P system. Every node has the same ledger. ③Consensus algorithm PoW, PoS The former block’s hash value Transactions in about 10 minutes. The former block’s hash value. PoW N transactions New Block
  • 16. Workflow System① 16 Participants : A, B, C, D, E, F, G Miners : α, β, γ, δ, ε A B C D E F α β γ ε δ Blockchain
  • 17. Workflow System② 17 A send 10BTC to C, C send 5BTC to F, E send 8BTC to D A→C, C→F, E→ D A B C D E F α β γ ε δ
  • 18. Workflow System③ 18 A B C D E F α β γ ε δ The transactions are broadcasted to participants and miners at the same time. Transactions like A→C, C→F, E→D are also the same.
  • 19. Workflow System④ 19 A B C D E F α β γ ε δ The miners which received transactions confirm signatures and start to find Nance.
  • 20. Workflow System⑤ 2020 A B C D E F α β γ ε δ The one who finds Nance will make a new block and broadcast it to all participants and miners.
  • 21. Workflow System⑥ 21 A B C D E F α β γ ε δ Miners which received the block confirm it and add it to own blocks.
  • 22. *Reference : Miner 22 Source: bitflyer • A miner is a agent who tries to mine blocks. • When a miner mines a block, the block is broadcasted to the network. If the block is part of the longest chain, the miner can get reward with bitcoin.
  • 23. Types of Blockchain 23https://www.jbs.cam.ac.uk/fileadmin/user_upload/research/centres/alternative-finance/downloads/2017-09-27-ccaf-globalbchain.pdf • Read (who can access the ledger and see transactions) • Write (who can generate transactions and send them to the network) • Commit (who can update the state of the ledger).
  • 25. The Structure of Blocks 25 Former block’s hash value Former block’s hash value Former block’s hash value Nance Nance Nance Transaction Transaction TransactionTransaction Transaction Transaction TransactionTransaction Transaction Transaction Transaction Transaction • A block is including transactions in a certain period of time. • A block is including the former block’s hash value. Therefore, it looks like a chain structure. • The hash is recomputed for each value until a hash containing the required number of zero bits is found. (set by “the difficulty”)
  • 26. ☓ ☓ *Reference : Nance 26 • The nance in a bitcoin is a 32bit (4byte). • In terms of bitcoin, the difficulty of finding “nance” is set. It is about 10 minutes. Hash Hash Hash Nance : aaaaaa Nance : aaaaaa Nance : aaaaaa Other data : bbbbbbbbbbbb Other data : bbbbbbbbbbbb Other data : bbbbbbbbbbbb 21333508fdw9cujsighweh・・・ 000000000000000012ec2h93・・ 0000012dwvf344brthhh64・・・10 min
  • 27. P2P 27 Hybrid model is a combination of peer-to-peer and client-server models. There is a central server that helps peers find each other. Hybrid P2P Index information P2P P2P P2P is a decentralized model whereby two individuals Interact directly with each other, without intermediation by a third-party Pure P2P
  • 28. Consensus Algorithm : PoW in Bitcoin 28 A proof of work is a piece of data which is difficult (costly, time-consuming) to produce but easy for others to verify and which satisfies certain requirements. Producing a proof of work can be a random process with low probability so that a lot of trial and error is required on average before a valid proof of work is generated. Bitcoin uses the Hashcash proof of work system. One application of this idea is using Hashcash as a method to preventing email spam, requiring a proof of work on the email's contents (including the To address), on every email. Legitimate emails will be able to do the work to generate the proof easily (not much work is required for a single email), but mass spam emailers will have difficulty generating the required proofs (which would require huge computational resources). Hashcash proofs of work are used in Bitcoin for block generation. In order for a block to be accepted by network participants, miners must complete a proof of work which covers all of the data in the block. The difficulty of this work is adjusted so as to limit the rate at which new blocks can be generated by the network to one every 10 minutes. Due to the very low probability of successful generation, this makes it unpredictable which worker computer in the network will be able to generate the next block. For a block to be valid it must hash to a value less than the current target; this means that each block indicates that work has been done generating it. Each block contains the hash of the preceding block, thus each block has a chain of blocks that together contain a large amount of work. Changing a block (which can only be done by making a new block containing the same predecessor) requires regenerating all successors and redoing the work they contain. This protects the block chain from tampering. The most widely used proof-of-work scheme is based on SHA-256 and was introduced as a part of Bitcoin. Some other hashing algorithms that are used for proof-of-work include Scrypt, Blake-256, CryptoNight, HEFTY1, Quark, SHA-3, scrypt-jane, scrypt-n, and combinations thereof. https://en.bitcoin.it/wiki/Proof_of_work
  • 29. The Problems of PoW 29 51% Attack Finality Problem Performance limit Heavy Capacity If a miner or a pool got more than 50% of the network’s mining hashrate, they would be able to prevent new transactions and reverse the transactions. Public blockchains are an acceptable settlement mechanism and layer for financial instruments. But public blockchains by design cannot definitively guarantee settlement finality, and as a result, they are currently not a reliable option for the clearing and settling of financial instruments. Tim Swanson https://login.tabbgroup.com/login?service=http%3A%2F%2Ftabbforum.com%2Fopinions%2 Fsettlement-risks-involving-public-blockchains%3Fprint_preview%3Dtrue%26single%3Dtrue Vitalik Buterin’s response: https://blog.ethereum.org/2016/05/09/on-settlement-finality/ Bitcoin : 7tps VISA : 4000〜6000tps Participants must have the whole transactions. The capacity is more than 70〜80GB
  • 30. * Reference :51% Attack 30 @Berkeley Blockchain Usually, a Miner joins a pool which is a team of other miners and cooperates to mine. Miner’s share • Currently, there are no pools which get more than 50%. • Miners are mainly from China and the other countries which the electronic bills are so low.
  • 31. *Reference : Finality 31 Invalid Invalid ● The majority decision is represented by the longest chain, which has the greatest proof-of-work effort invested in it. ● Nodes always consider the longest chain to be the correct one and will keep working on extending it. Satoshi Nakamoto (2008)
  • 32. Other Consensus Algorithms 32 Consensus Algorithm System Proof of Work Bitcoin Core Proof of Stake Etereum, mijin Paxos Google Chubby Raft RAMCloud PBFT Hyperledger Fabric Sieve Hyperledger Fabric
  • 33. *Reference : 33 Crypto currency Others Hyper Ledger Fabric EthereumBitcoin
  • 35. International Remittance 35 Bank A Bank B Account Account Blockchain $→ B Withdraw B→¥ Deposit Payment Payment Fast and Cheap Bank A $ $→¥ Correspondent Bank Bank B Bank C ¥ Long and Expensive
  • 37. Funding 37 I have a new idea! Blockchain Smart Contract Investor Investor register Payment Payment return
  • 38. Energy 38 TransActive Grid Project Sell and buy electronic power without 3rd party Transaction Smart Mater Register Blockchain