Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Plasma_Overview_gbec20180928.pdf
Search
nakajo2011
June 29, 2021
Technology
0
54
Plasma_Overview_gbec20180928.pdf
GBECの解説動画の資料です。
https://goblockchain.network/2018/10/plasma_overview/
nakajo2011
June 29, 2021
Tweet
Share
More Decks by nakajo2011
See All by nakajo2011
What is Ethereum about tech layer
nakajo2011
0
340
The Ethereum design direction.
nakajo2011
0
55
Report of Devcon5 2019.10.17
nakajo2011
0
580
Compare of Libra and Ethereum
nakajo2011
1
440
What is Move language
nakajo2011
1
1k
blockchain-changing-and-issues
nakajo2011
4
550
Thinking Scalability from DEX
nakajo2011
0
90
Truffleの紹介_in_hicon2018.pdf
nakajo2011
3
280
Truffle Test Tips and other
nakajo2011
2
160
Other Decks in Technology
See All in Technology
QAはソフトウェアエンジニアリングを学んで実践するのが大事なの
ymty
1
220
Ретроспективный взгляд на Vue 3. Даша Сабурова, Vue-разработчик Lamoda Tech
lamodatech
0
880
データ戦略部門 紹介資料
sansan33
PRO
1
3.2k
「伝える」を加速させるCursor術
naomix
0
560
Tenstorrent HW/SW 概要説明
tenstorrent_japan
0
360
「どこにある?」の解決。生成AI(RAG)で効率化するガバメントクラウド運用
toru_kubota
2
130
What's new in OpenShift 4.19
redhatlivestreaming
1
110
AIエージェントの継続的改善のためオブザーバビリティ
pharma_x_tech
2
220
大失敗しないための Web API 開発レシピ / A recipe for not making a big failure on WebAPI development
yokawasa
1
250
Agent Development Kit によるエージェント開発入門
enakai00
19
2.9k
Roo CodeとClaude Code比較してみた
pharma_x_tech
1
250
Drawing with LLMs
rist
0
250
Featured
See All Featured
Optimizing for Happiness
mojombo
379
70k
Docker and Python
trallard
44
3.4k
The Cult of Friendly URLs
andyhume
79
6.4k
The Straight Up "How To Draw Better" Workshop
denniskardys
233
140k
The Invisible Side of Design
smashingmag
299
50k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
280
13k
The Cost Of JavaScript in 2023
addyosmani
50
8.3k
Making Projects Easy
brettharned
116
6.2k
Balancing Empowerment & Direction
lara
1
230
What's in a price? How to price your products and services
michaelherold
245
12k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Designing for humans not robots
tammielis
253
25k
Transcript
Plasmaの概要 ~ Plasma入門 ~ 1
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと Plasmaの概要 ~ Plasma入門 ~ 2
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと Plasmaの概要 ~ Plasma入門 ~ 3
• Ethereumは1秒間に10~15txぐらいしか処理できない • なぜ遅いのか? ◦ decentralizationを維持する必要がある。 ▪ みんなが全てのtransactionをverifyしている ◦ transactionが大量に発行されている
◦ blockが十分に伝播されるまで待つ必要がある 4 1. Blockchainのトリレンマ
5 1. Blockchainのトリレンマ
• ScalabilityとDecentralizationを優先するとSecurityが犠牲になる ◦ block生成が早いのでforkの確率が上がる。reorgの可能性が上 がる ◦ データ量が増えると、miningできるnodeが限られてくるので集中 化する • ScalabilityとSecurityを優先するとDecentralizationが犠牲になる
◦ PoAなどを採用するとminerへのtrustが必要になる 6 1. Blockchainのトリレンマ
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと 7 Plasmaの概要 ~ Plasma入門 ~
• Scalabilityを改善するための方針 ◦ 自分に関係のあるtransactionだけverifyしたい ◦ 特定のTransactionだけが流れるようにしたい • じゃあ上記を満たすchainを作っちゃえばいい ◦ side
chainなのでroot chainのHFが不要 ◦ root chainと並列して処理が可能 8 2. Side chainを用いた改善案
9 2. Side chainを用いた改善案
• 2way-peg ◦ 必要に応じてroot chainからside chainに移動することができ る。 ◦ この時root chainの資産をside
chainに移動する仕組み ◦ さらにside chain上で取引終了時にroot chainに資産を戻す必 要があるので2way 10 2. Side chainを用いた改善案
• PoS or dPoS or PoA ◦ side chainでのコンセンサスアルゴリズムはfinalityを得られるも のが良い
◦ PoWでも不可能ではないけど、reorgの危険が伴う ◦ 2way-pegを実現する際の難易度に直結する ◦ root chain、side chainともにfinalityを得られるコンセンサスアル ゴリズムだとベスト 11 2. Side chainを用いた改善案
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと 12 Plasmaの概要 ~ Plasma入門 ~
• root chainと同価値のトークンを弱いchain上で扱っている ◦ node数が少ないので容易に攻撃可能 ◦ minerが裏切るインセンティブが高い ▪ PoSやPoAではminerの裁量度合いがPoWよりも大きい •
Side chainでは参加者に逃げ場がないのでやられたい放題 13 3. Side chainが抱える問題
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと Plasmaの概要 ~ Plasma入門 ~ 14
• Plasma ! ◦ 一番重要なことは参加者の資産を守ること • Plasmaが満たすべき条件 ◦ minerが裏切ったら参加者はいつでもroot chainにもどれる
▪ いつでもroot chainに戻れるので資産が盗まれることはない 15 4. Plasmaコンセプトの提案
• check pointの作成 ◦ plasma chainは一定期間ごとにroot chainにcheck pointを記録 する 16
4. Plasmaコンセプトの提案
• exit(=withdraw) ◦ plasmaではroot chainに対してexitを申請する ◦ root chainではcheck pointを元にそのexitが正当なものかチェッ クする
17 4. Plasmaコンセプトの提案
• Plasmaコンセプトの肝 ◦ root chain上でexit申請ができるようにしている ◦ そのためside chainが止まっても資産は安全に取り戻せる基本 的にside chain参加者の資産を保護するための仕組み
◦ ユーザの不正(double spentなど)を潰す仕組み(=challenge)も 提供 ◦ plasma chainはUTXOベースで資産を管理する ◦ chainが分かれているため、不正を潰すためには監視が必要 18 4. Plasmaコンセプトの提案
1. Blockchainのトリレンマ 2. Side chainを用いた改善案 3. Side chainが抱える問題 4. Plasmaコンセプトの提案
5. Advanced Plasmas 今日話すこと Plasmaの概要 ~ Plasma入門 ~ 19
• Plasma-Cash ◦ bloom filter的なものを使って、challengeに必要なtxデータを圧 縮する仕組み。 ◦ NFT(Non Fungible Token)を活用
◦ 自分が持っているtokenのIDだけ監視すればOK ◦ 理論上、double spentなどを行おうとすると即座に潰すことがで きるのでユーザは一切不正が行えない。 20 5. Advanced Plasmas
• Plasma-XT ◦ Plasma-Cashをさらに発展させたもの ◦ 全てのtokenについてexit済みかどうかの0,1フラグを立てたメタ データを準備する ◦ 誰かが不正に自分のtokenをexitしようとするとその箇所のbitに 1が立つので容易に発見可能
◦ challengeのために保持するデータがbit単位になるのでかなり の圧縮が見込める 21 5. Advanced Plasmas
• Plasma-snapp ◦ zk-SNARKsを用いてexit gameとconfirmation signatureを取り 除く提案 ◦ exit gameのせいでplasmaの複雑性が増していたのでこれが取
り除かれるのはかなり大きなゲームチェンジ ◦ 中身の詳しいことは難しすぎてよくわからない。。。 22 5. Advanced Plasmas
ブログも宜しく http://y-nakajo.hatenablog.com/ 日本語でのEthereumに関する議論はこちらで https://research.cryptoeconomicslab.com/ 23 おわり