Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Speaker Deck
PRO
Sign in
Sign up for free
ビットコインの技術 / Bitcoin Technology
Kenji Saito
PRO
April 11, 2018
Technology
0
260
ビットコインの技術 / Bitcoin Technology
2018年4月11日(水)、ブロックチェーンハブ主催で開催されたブロックチェーンアカデミー「ビットコインの技術」(ブロックチェーン基盤技術【仮想通貨の原型を知る】) にて使用したスライドです。
Kenji Saito
PRO
April 11, 2018
Tweet
Share
More Decks by Kenji Saito
See All by Kenji Saito
FinTech Lecture 15 : Presentations and Conclusions
ks91
PRO
0
49
FinTech Lecture 14 : Q & A
ks91
PRO
0
56
FinTech Lecture 13 : FinTech Ideathon
ks91
PRO
0
58
AI との対話 / Interacting with AI
ks91
PRO
0
17
FinTech Lecture 12 : Cyber-Physical Society and Future of Finance
ks91
PRO
0
59
FinTech Lecture 11 : Further Smart Contracts
ks91
PRO
0
56
評判システムと自律分散社会 / Reputation Systems and Decentralized Autonomous Society
ks91
PRO
0
13
FinTech Lecture 10 : Smart Contracts
ks91
PRO
0
35
ブロックチェーンと近未来の金融システム / Blockchain and Financial System of the Near Future
ks91
PRO
0
110
Other Decks in Technology
See All in Technology
Deep dive in Reserved Instance ~脳死推奨量購入からの脱却~
kzkmaeda
0
380
MoT/コネヒト/Kanmu が語るプロダクト開発xデータ分析 - 分析から機械学習システムの開発まで一人で複数ロールを担う大変さ
masatakashiwagi
2
570
AI Services 概要 / AI Services overview
oracle4engineer
PRO
0
160
立ち止まっても、寄り道しても / even if I stop, even if I take a detour
katoaz
0
150
Virtual Thread - 導入の背景と、効果的な使い方 -
skrb
3
250
GraphQLスキーマ設計の勘所
yukukotani
26
6k
PHPのimmutable arrayとは
hnw
1
140
私見「UNIXの考え方」/20230124-kameda-unix-phylosophy
opelab
0
160
Airdrop for Open Source Projects
epicsdao
0
290
2022年に起きたフロントエンドの変化
sakito
29
17k
OVN-Kubernetes-Introduction-ja-2023-01-27.pdf
orimanabu
1
220
Kubernetes_EKSに入門してみる
toru_kubota
0
230
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
299
110k
Principles of Awesome APIs and How to Build Them.
keavy
117
15k
Keith and Marios Guide to Fast Websites
keithpitt
407
21k
Navigating Team Friction
lara
176
12k
The Straight Up "How To Draw Better" Workshop
denniskardys
226
130k
Fontdeck: Realign not Redesign
paulrobertlloyd
74
4.3k
In The Pink: A Labor of Love
frogandcode
132
21k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
239
19k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
10
1.3k
Imperfection Machines: The Place of Print at Facebook
scottboms
254
12k
Pencils Down: Stop Designing & Start Developing
hursman
114
10k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
152
13k
Transcript
CSO / SFC
[email protected]
— — 2018-04-11 – p.1/38
( ) SFC ( ) CSO (Chief Science Officer) 1993
( ) 2006 ( ) SFC 17 P2P (Peer-to-Peer) 2011 → ( ) — — 2018-04-11 – p.2/38
Proof of Work SegWit — — 2018-04-11 – p.3/38
— — 2018-04-11 – p.4/38
(1) ( ) ⇒ P2P ⇒ ( ) — —
2018-04-11 – p.5/38
(2) (double spending) ( ) ⇒ ⇒ ( ) →
( ) ( ) ⇒ → → ⇒ → — — 2018-04-11 – p.6/38
/ — — 2018-04-11 – p.7/38
/ (1) 2,100 cm3 (cc) 1 1cm3 10 12.5cm3 ⇒
⇒ ( ) — — 2018-04-11 – p.8/38
/ (2) ( ) ( ) ( ) ( )
( ) ( ) → ( ) — — 2018-04-11 – p.9/38
∼ ท൪߸O ท൪߸O ท൪߸O લทͷμΠδΣετ λʔήοτҎԼͰͳ͍ͱ͍͚ͳ͍ Έͩ͠ίʔφʔ μΠδΣετ͕λʔήοτҎԼʹͳΔΑ͏ʹೖΕΔదͳ༰
( ) → — — 2018-04-11 – p.10/38
∼ ϖʔδ൪߸O ϖʔδ൪߸O ϖʔδ൪߸O ϖʔδ൪߸O ϖʔδ൪߸O
ϖʔδ൪߸O ϖʔδ൪߸O ϖʔδ൪߸O ͬͪ͜ͷྺ࢙͕༗ޮ ( ) — — 2018-04-11 – p.11/38
= (virtually) = = = : → ( ) —
— 2018-04-11 – p.12/38
— — 2018-04-11 – p.13/38
— — 2018-04-11 – p.14/38
— — 2018-04-11 – p.15/38
1. 10 ( ) 2. 3. 1 — — 2018-04-11
– p.16/38
End-to-End ( ) ( ) — — 2018-04-11 – p.17/38
- https://blockchain.info/ — — 2018-04-11 – p.18/38
0 and/or “The Times 03/Jan/2009 Chancellor on brink of second
bailout for banks” 2009 1 3 2 https://blockchain.info SEARCH 0 — — 2018-04-11 – p.19/38
(1) (= ) → — — 2018-04-11 – p.20/38
(2) M A 60BTC ( ) SegWit — — 2018-04-11
– p.21/38
SegWit (Segregated Witness; ) (witness) — — 2018-04-11 – p.22/38
SegWit (malleability) https://bitcoincore.org/en/2016/01/26/segwit-benefits/ — — 2018-04-11 – p.23/38
— — 2018-04-11 – p.24/38
Merkle ( ) Digest = SHA-256 × SHA-256 TX —
— 2018-04-11 – p.25/38
Block Header Data Structure Field Description Size (bytes) Version 4
Digest Double SHA-256 value 32 Merkle root Double SHA-256 value 32 Time Seconds (since 1970-01-01T00:00 UTC) 4 Target Compressed format 4 Nonce Appropriate value 4 Merkle root is the digest of all TXs — — 2018-04-11 – p.26/38
OP_RETURN PUSH 0xaa21a9ed 4 (witness) SHA-256 32 Merkle — —
2018-04-11 – p.27/38
Proof of Work ( ) ( ) . . .
: Hashcash (1997) SHA-1 20 ( ) 0 1 1 / — — 2018-04-11 – p.28/38
— — 2018-04-11 – p.29/38
CPU → GPU → FPGA → ASIC ( ) →
→ ( ) BTC — — 2018-04-11 – p.30/38
— — 2018-04-11 – p.31/38
POW ( ) Proof Of Work . . . —
— 2018-04-11 – p.32/38
(2009 1 ∼2018 3 ) 2 → 2 2 →
— — 2018-04-11 – p.33/38
https://bitcoin.org/en/developer-reference — — 2018-04-11 – p.34/38
1 1 ∼ 2 — — 2018-04-11 – p.35/38
A-B — — 2018-04-11 – p.36/38
2 2 ( ) Ripple Path — — 2018-04-11 –
p.37/38
— — 2018-04-11 – p.38/38