SlideShare ist ein Scribd-Unternehmen logo
1 von 11
Downloaden Sie, um offline zu lesen
ブロックチェーンに
冷水をぶっかける
HN: Bizuayeu
ブロックチェーンとは何か?
• ブロックと呼ばれるデータ群を時系列順に
接続するというデータ構造
• ブロックの内部には、電子署名付きの
トランザクションが含まれている
• ブロックには一つ前のブロックのハッシュ値も含まれるため、
あるブロックを改竄すると
以降のブロックのハッシュ値に矛盾が生じる
(=過去のトランザクションの改竄は基本的に不可能)
• 仮想通貨として話題のビットコインは
ブロックチェーンで運営されている
ブロックチェーンのイメージ
任意の値任意の値任意の値任意の値
(nonce)(nonce)(nonce)(nonce)
任意の値任意の値任意の値任意の値
(nonce)(nonce)(nonce)(nonce)
任意の値任意の値任意の値任意の値
(nonce)(nonce)(nonce)(nonce)
【参照】 http://www.virtualcurrency.jp/?p=315
何故ブロックチェーンが注目されるのか?:P2Pデータ管理
• データ管理に中心となる調停者が不要(=P2Pデータ管理)
① ネットワークに参加する全てのノードが
ブロックチェーンを保持する
② トランザクションは全てのノードにブロードキャストされる
③ ブロックの内部に任意の値(=nonce)を持たせ、
かつハッシュ値に条件を設定することで、
ハッシュ計算に負荷を与える
(例:ハッシュ値の頭13桁は全て0にならないといけない)
④ 一定のタイミングでハッシュ計算を行い、
条件を満たすハッシュ値を最初に見つけたノードが
ブロックをコミットし、全ノードにコミット済ブロックを
ブロードキャストする
P2Pデータ管理イメージ
【参照】 http://www.slideshare.net/11ro_yamasaki/bitcoin2 ← オススメ!
何故ブロックチェーンが注目されるのか?:データの改竄に強い
• データの改竄に強い
→ トランザクションに電子署名が付いているため、
秘密鍵が盗まれない限り、なりすましが不可能
→ 残高がバランスしないトランザクションは
個々のノードで否認される前提となっている
→ どのノードがブロックをコミットできるか分からないため、
ノード自体が不正を行うリスクが抑えられている
→ ハッシュのチェーン構造により、
過去のトランザクションの改竄が現実的ではない
ブロックチェーンによるP2Pデータ管理の弱点
• トランザクションの確定に時間が掛かる(10分~∞)
• データ管理の質を上げるためには多数のノードが必要
→ 誰がどういったインセンティブでノードに参加するのか?
• P2Pデータ管理にコストメリットがあるとは断言できない
→ 電子署名付きのトランザクションという重いデータで構成された
ブロックチェーンを全ノードが運用する
(ノードが消費するリソースは考慮されていない!)
• パフォーマンスを向上させるためには
プロトコルレベルの処理を書き換える必要がある
→ スケールアウトできる仕組みにはなっていない
→ 全ノードのプロトコルを同時にアップデートできるのか?
(特にセキュリティのHotFixとかはエコシステムへの負担が大)
• 残高がバランスしないトランザクションを認めるには
特別ルールが必要(例:ビットコインのマイニング)
で、頑張ってブロックチェーン使う意味ってあるんだっけ?
• トランザクションの確定に時間が掛かっても
問題無いサービスにしか利用できない
(もしくはリスクを肩代わりする必要がある)
• ノードまで含めたエコシステムを形成するのが面倒臭い
• 形成されたエコシステムに手を入れるのも面倒臭い
• エコシステムを集中管理できるように試みると
結局それなりの体制が必要になる(=コストが掛かる)
⇒ ブロックチェーンがフィットする
シチュエーションって実は少ないのでは?
何故ブロックチェーンが注目されるのか?:P2Pデータ管理
• データ管理に中心となる調停者が不要(=P2Pデータ管理)
① ネットワークに参加する全てのノードが
ブロックチェーンを保持する
② トランザクションは全てのノードにブロードキャストされる
③ ブロックの内部に任意の値(=nonce)を持たせ、
かつハッシュ値に条件を設定することで、
ハッシュ計算に負荷を与える
(例:ハッシュ値の頭17桁は全て0にならないといけない)
④ 一定のタイミングでハッシュ計算を行い、
条件を満たすハッシュ値を最初に見つけたノードが
ブロックをコミットし、全ノードにコミット済ブロックを
ブロードキャストする
冗長性が必要なら
クラウドDBで良いじゃん!
何故ブロックチェーンが注目されるのか?:データの改竄に強い
• データの改竄に強い
→ トランザクションに電子署名が付いているため、
秘密鍵が盗まれない限り、なりすましが不可能
→ 残高がバランスしないトランザクションは
個々のノードで否認される前提となっている
→ どのノードがブロックをコミットできるか分からないため、
ノード自体が不正を行うリスクが抑えられている
→ ハッシュのチェーン構造により、
過去のトランザクションの改竄が現実的ではない
クライアントで
FIDO認証すれば良いじゃん!
そんなバリデーションなら
DBでも可能っす
ブロックチェーンの本質
突き詰めて言ってしまえば…
• 従来型のDB
→ 悪人が管理に紛れ込まないことが前提
→ 悪人対策のセキュリティにコストが嵩む
→ パフォーマンスを向上させるのが比較的容易
• ブロックチェーン
→ 悪人が管理に紛れ込むことが前提
→ 悪人対策がプロトコルレベルで盛り込まれている
→ パフォーマンスを向上させるのが難しい
どちらの極からスタートして現実との折り合いを付けるのか?
折り合いを付けるためには、IT技術と見識の両方が必要

Weitere ähnliche Inhalte

Kürzlich hochgeladen

Kürzlich hochgeladen (12)

論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
論文紹介:Video-GroundingDINO: Towards Open-Vocabulary Spatio-Temporal Video Groun...
 
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
論文紹介: The Surprising Effectiveness of PPO in Cooperative Multi-Agent Games
 
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
論文紹介:Selective Structured State-Spaces for Long-Form Video Understanding
 
新人研修 後半 2024/04/26の勉強会で発表されたものです。
新人研修 後半        2024/04/26の勉強会で発表されたものです。新人研修 後半        2024/04/26の勉強会で発表されたものです。
新人研修 後半 2024/04/26の勉強会で発表されたものです。
 
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアルLoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
LoRaWAN スマート距離検出デバイスDS20L日本語マニュアル
 
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
Observabilityは従来型の監視と何が違うのか(キンドリルジャパン社内勉強会:2022年10月27日発表)
 
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その22024/04/26の勉強会で発表されたものです。
 
Utilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native IntegrationsUtilizing Ballerina for Cloud Native Integrations
Utilizing Ballerina for Cloud Native Integrations
 
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
知識ゼロの営業マンでもできた!超速で初心者を脱する、悪魔的学習ステップ3選.pptx
 
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
Amazon SES を勉強してみる その32024/04/26の勉強会で発表されたものです。
 
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
LoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイスLoRaWANスマート距離検出センサー  DS20L  カタログ  LiDARデバイス
LoRaWANスマート距離検出センサー DS20L カタログ LiDARデバイス
 
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
NewSQLの可用性構成パターン(OCHaCafe Season 8 #4 発表資料)
 

Empfohlen

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
ThinkNow
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 

Empfohlen (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

ブロックチェーンに冷水をぶっかける