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のexitの高速化についてともに考える
Search
sgtn
May 25, 2018
Research
4
1.3k
Plasmaのexitの高速化についてともに考える
Plasma#2登壇資料。Plasmaのexitを高速化したらどんな使い方ができて、高速化を実現するためには何ができそうか考えてみました
sgtn
May 25, 2018
Tweet
Share
More Decks by sgtn
See All by sgtn
war model
shogochiai
0
61
Meta Contract on Steroids
shogochiai
0
55
Workshop: Solidity with LLM
shogochiai
1
130
Why ERC-7546 and where it is going.
shogochiai
0
180
UUPS2.pdf
shogochiai
0
40
風の時代とメタ国家
shogochiai
0
240
様相μ計算による計算論的な民主主義の健全性の評価 ~自律分散組織(DAO)による政体の超越性に向けて~ The theory of democraticity evaluation via modal mu-calculus for suggesting the supremacy of DAO for Nations.
shogochiai
0
30
Web3時代のDAOによるソシエタルデザイン
shogochiai
0
130
ptaa.app 解説資料
shogochiai
0
80
Other Decks in Research
See All in Research
SSII2024 [OS3] 基盤モデル(オープニング)
ssii
PRO
0
310
WikipediaやYouTubeにおける論文参照 / joss2024
corgies
1
240
SSII2024 [TS2] 深層学習に潜むバイアス
ssii
PRO
0
580
[第62回NLPコロキウム]「なりきり」を促すHCI設計:対話型接客ロボットの遠隔操作者へのリアルタイム変換音声フィードバックの適用
nami_ogawa
0
260
自動運転・AIシステムの問題を賢く探す・賢く直す / Smart Search & Repair Techniques for Automated Driving Systems and AI Systems
ishikawafyu
0
180
初めての研究発表を成功させよう! スライド作成の基本
ayaco0
11
4.3k
SSII2024 [PD] 30周年記念特別企画SSII 技術マップ / LLMサーベイ
ssii
PRO
0
720
Weekly AI Agents News! 6月号 プロダクト/ニュースのアーカイブ
masatoto
0
100
Embers of Autoregression: Understanding Large Language Models Through the Problem They are Trained to Solve
eumesy
PRO
6
940
[CV勉強会@関東 CVPR2024] Visual Layout Composer: Image-Vector Dual Diffusion Model for Design Layout Generation / kantocv 61th CVPR 2024
shunk031
1
270
CSER 2024 Keynote
tsantalis
0
110
第60回名古屋CV・PRML勉強会:CVPR2024論文紹介(AM-RADIO)
naok615
0
190
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
653
58k
Practical Orchestrator
shlominoach
185
10k
Clear Off the Table
cherdarchuk
90
320k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
354
29k
Intergalactic Javascript Robots from Outer Space
tanoku
268
26k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
27
1.6k
Optimizing for Happiness
mojombo
375
69k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
88
15k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
42
2k
For a Future-Friendly Web
brad_frost
173
9.3k
The Invisible Side of Design
smashingmag
295
50k
The Power of CSS Pseudo Elements
geoffreycrofte
71
5.2k
Transcript
Plasmaͷ exitͷ ߴԽʹ͍ͭͯ ͱʹߟ͑Δ
Sg/shogochiai/@_sgtn
matic.network exa.earth
ԬͰCryptoeconomics Lab ͱ͍͏ձࣾΛ͡Ί·ͨ͠
research.cryptoeconomicslab.com
VR-MMORPG Protocol
ؓٳ
̎िؒ
Plasma Exit
Ϣʔβʔ͕ࢠνΣʔϯ ͱͲ·Δ࡞ΓํʹͳΔ 1 conf 2 weeks
DEXήʔϜͰ͓ͬͨۚΛ΄͔Ͱ͏ͷʹ ̎िؒͨͳ͍ͱ͍͚ͳ͍ͷ 1 conf 2 weeks
ଞͷίϯτϥΫτΛݺ ͳ͍
ͳΜͰࢠνΣʔϯʹډ͢Δ ϞσϧʹࢥߟΛ੍ݶ͍ͯ͠Δ ͷ͔ʁ
͍ ϋΠεϧʔϓοτ͕ཉ͍͠ͱ͖͚ͩࢠ νΣʔϯʹग़ೖΓ͢Δͷଥ͔ʁ
exitChallengeडೖظؒ ̎िؒɹʹʼɹ10ඵ
1 conf 10sec
Կ͕Ͱ͖ΔΑ͏ʹͳΔʁ
(c) Loom Network
͍ηογϣϯͷ͚ؒͩ Plasma
1st Plasma Root 2nd Plasma 3rd Plasma
ਂ͍Plasmaʹεοͱೖͬͯ ϩά·Ͱه͢ΔΑ͏ͳ༻్ͷαʔ Ϗεʹͬͯ ࣌εοͱൈ͚Δ
Ͳ͏ͬͨΒ10ඵexit Λݱ࣮ͷͷʹͰ͖Δʁ
A.ΊͪΌΊͪΌ৴པͰ͖Δύϫϑϧͳ challenger͕͍Δ B. ΊͪΌͪ͘Όͨ͘͞Μͷchallenger͕ ͍Δ C. Ϣʔβʔͷ৴༻ʹج͍ͮͯexitதͷTxΛ ୲อʹϧʔτνΣʔϯͰ͓ۚΛି͢
A.ΊͪΌΊͪΌ৴པͰ͖Δύϫϑϧͳ challenger͕͍Δ B. ΊͪΌͪ͘Όͨ͘͞Μͷchallenger͕ ͍Δ C. Ϣʔβʔͷ৴༻ʹج͍ͮͯexitதͷTxΛ ୲อʹϧʔτνΣʔϯͰ͓ۚΛି͢
A. ΊͪΌΊͪΌ৴པͰ͖Δύϫϑϧͳchallenger͕͍Δ 1. ϑΣσϨʔγϣϯʢෳͷexitڐՄऀʣΛ༻ҙͯ͠ exitڐՄͷͨΊʹॺ໊͢Δ 2. ۭചΓͷͨΊͰ݁ୗ͞ΕΔͱڊֹͷෆਖ਼Ҿ͖ग़͕͠ ՄೳͱࢥΘΕΔ 3. ૬Ԡͷֹͷڙୗۚͱɺఆظతͳબڍ͕ඞཁͱࢥΘΕΔ
4. ݁ୗΛΑΓ؇͠ͳ͚ΕͳΒͳ͍ 5. ࠷ѱͷέʔεɺࢠνΣʔϯͷblockੜ͕ෆਖ਼Ͱ mass exit͍ͨ͠ͷʹɺfederation݁ୗͯ͠Δঢ়گ
A. ΊͪΌΊͪΌ৴པͰ͖Δύϫϑϧͳchallenger͕͍Δ 1. ϑΣσϨʔγϣϯʢෳͷexitڐՄऀʣΛ༻ҙͯ͠exit ڐՄͷͨΊʹॺ໊͢Δ 2. ۭചΓͷͨΊͰ݁ୗ͞ΕΔͱڊֹͷෆਖ਼Ҿ͖ग़͕͠ ՄೳͱࢥΘΕΔ 3. ૬Ԡͷֹͷڙୗۚͱɺఆظతͳબڍ͕ඞཁͱࢥΘΕΔ
4. ݁ୗΛΑΓ؇͠ͳ͚ΕͳΒͳ͍ 5. ࠷ѱͷέʔεɺࢠνΣʔϯͷblockੜ͕ෆਖ਼Ͱ mass exit͍ͨ͠ͷʹɺfederation݁ୗͯ͠Δঢ়گ
A. ΊͪΌΊͪΌ৴པͰ͖Δύϫϑϧͳchallenger͕͍Δ 1. ϑΣσϨʔγϣϯʢෳͷexitڐՄऀʣΛ༻ҙͯ͠exit ڐՄͷͨΊʹॺ໊͢Δ 2. ۭചΓͷͨΊͰ݁ୗ͞ΕΔͱڊֹͷෆਖ਼Ҿ͖ग़͕͠ ՄೳͱࢥΘΕΔ 3. ૬Ԡͷֹͷڙୗۚͱɺఆظతͳબڍ͕ඞཁͱࢥΘΕΔ
4. ݁ୗΛΑΓ؇͠ͳ͚ΕͳΒͳ͍ 5. ࠷ѱͷέʔεɺࢠνΣʔϯͷblockੜ͕ෆਖ਼Ͱ mass exit͍ͨ͠ͷʹɺfederation݁ୗͯ͠Δঢ়گ
A. ΊͪΌΊͪΌ৴པͰ͖Δύϫϑϧͳchallenger͕͍Δ 1. ϑΣσϨʔγϣϯʢෳͷexitڐՄऀʣΛ༻ҙͯ͠exit ڐՄͷͨΊʹॺ໊͢Δ 2. ۭചΓͷͨΊͰ݁ୗ͞ΕΔͱڊֹͷෆਖ਼Ҿ͖ग़͕͠ ՄೳͱࢥΘΕΔ 3. ૬Ԡͷֹͷڙୗۚͱɺఆظతͳબڍ͕ඞཁͱࢥΘΕΔ
4. ݁ୗΛΑΓ؇͠ͳ͚ΕͳΒͳ͍ 5. ࠷ѱͷέʔεɺࢠνΣʔϯͷblockੜ͕ෆਖ਼Ͱ mass exit͍ͨ͠ͷʹɺfederation݁ୗͯ͠Δঢ়گ
A. ΊͪΌΊͪΌ৴པͰ͖Δύϫϑϧͳchallenger͕͍Δ 1. ϑΣσϨʔγϣϯʢෳͷexitڐՄऀʣΛ༻ҙͯ͠exit ڐՄͷͨΊʹॺ໊͢Δ 2. ۭചΓͷͨΊͰ݁ୗ͞ΕΔͱڊֹͷෆਖ਼Ҿ͖ग़͕͠ ՄೳͱࢥΘΕΔ 3. ૬Ԡͷֹͷڙୗۚͱɺఆظతͳબڍ͕ඞཁͱࢥΘΕΔ
4. ݁ୗΛΑΓ؇͠ͳ͚ΕͳΒͳ͍ 5. ࠷ѱͷέʔεɺࢠνΣʔϯͷblockੜ͕ෆਖ਼Ͱ mass exit͍ͨ͠ͷʹɺfederation݁ୗͯ͠Δঢ়گ
None
EC2 t2.medium $0.0464 per 3600sec ETH $13.4 per 0.2sec ϏλϦΫࢼࢉͰ
Φʔόʔϔου͕100ສഒҧ͏
ݖੑΛ٘ਜ਼ʹ͢Εૣ͘ͳΔ Ͱʮෆಛఆଟ͕ࣗ༝ʹࢀՃ Ͱ͖ΔγεςϜʯ͘ͳ͍ɻ ԟʑʹͯ͠ʮۦ͚Ҿ͖༨ʯ͕ ηΩϡϦςΟ্ͷΛى͜͢
In other words ʮۦ͚Ҿ͖ۭؒগͳ͚Εগͳ͍΄͏͕͍͍ʯ e.g. dPoSͱ͔federationͱ͔
A.ΊͪΌΊͪΌ৴པͰ͖Δύϫϑϧͳ challenger͕͍Δ B. ΊͪΌͪ͘Όͨ͘͞Μͷchallenger͕ ͍Δ C. Ϣʔβʔͷ৴༻ʹج͍ͮͯexitதͷTxΛ ୲อʹϧʔτνΣʔϯͰ͓ۚΛି͢
1. challengerີΛߴΊΔΪϛοΫ͕ඞཁ 2. શαΠυνΣʔϯΛԣஅͯ͠validationλεΫΛϫϯε τοϓͰߦ͑ΔΞϓϦέʔγϣϯΛ४උ͢Δʢvalidation poolʣ 3. validation poolશPlasmaͷσʔλΛಉظ͠ͳ͚Εͳ Βͳ͍ͷ͔ɺRPC͔ΒదٓσʔλΛऔΔ͚ͩͰࣄΓΔͷ
͔ 4. શPlasmaΛԣஅͨ͠validationޮԽπʔϧ͕ετϨʔδ ͷؔͰෆՄೳͳΒɺchallengerΛ૿͢ํੑո͍͠ 5. ༨ஊ͕ͩɺ͜ͷετϨʔδͷ੍௨৴ͷෆ҆ఆ͕͋͞ ΓεϚϗΛvalidator/challengerʹ͢Δͷͱ͖ʹ·͍͠
1. challengerີΛߴΊΔΪϛοΫ͕ඞཁ 2. શαΠυνΣʔϯΛԣஅͯ͠validationλεΫΛϫϯε τοϓͰߦ͑ΔΞϓϦέʔγϣϯΛ४උ͢Δʢvalidation poolʣ 3. validation poolશPlasmaͷσʔλΛಉظ͠ͳ͚Εͳ Βͳ͍ͷ͔ɺRPC͔ΒదٓσʔλΛऔΔ͚ͩͰࣄΓΔͷ
͔ 4. શPlasmaΛԣஅͨ͠validationޮԽπʔϧ͕ετϨʔδ ͷؔͰෆՄೳͳΒɺchallengerΛ૿͢ํੑո͍͠ 5. ༨ஊ͕ͩɺ͜ͷετϨʔδͷ੍௨৴ͷෆ҆ఆ͕͋͞ ΓεϚϗΛvalidator/challengerʹ͢Δͷͱ͖ʹ·͍͠
1. challengerີΛߴΊΔΪϛοΫ͕ඞཁ 2. શαΠυνΣʔϯΛԣஅͯ͠validationλεΫΛϫϯε τοϓͰߦ͑ΔΞϓϦέʔγϣϯΛ४උ͢Δʢvalidation poolʣ 3. validation poolશPlasmaͷσʔλΛಉظ͠ͳ͚Εͳ Βͳ͍ͷ͔ɺRPC͔ΒదٓσʔλΛऔΔ͚ͩͰࣄΓΔͷ
͔ 4. શPlasmaΛԣஅͨ͠validationޮԽπʔϧ͕ετϨʔδ ͷؔͰෆՄೳͳΒɺchallengerΛ૿͢ํੑո͍͠ 5. ༨ஊ͕ͩɺ͜ͷετϨʔδͷ੍௨৴ͷෆ҆ఆ͕͋͞ ΓεϚϗΛvalidator/challengerʹ͢Δͷͱ͖ʹ·͍͠
1. challengerີΛߴΊΔΪϛοΫ͕ඞཁ 2. શαΠυνΣʔϯΛԣஅͯ͠validationλεΫΛϫϯε τοϓͰߦ͑ΔΞϓϦέʔγϣϯΛ४උ͢Δʢvalidation poolʣ 3. validation poolશPlasmaͷσʔλΛಉظ͠ͳ͚Εͳ Βͳ͍ͷ͔ɺRPC͔ΒదٓσʔλΛऔΔ͚ͩͰࣄΓΔͷ
͔ 4. શPlasmaΛԣஅͨ͠validationޮԽπʔϧ͕ετϨʔδ ͷؔͰෆՄೳͳΒɺchallengerΛ૿͢ํੑո͍͠ 5. ༨ஊ͕ͩɺ͜ͷετϨʔδͷ੍௨৴ͷෆ҆ఆ͕͋͞ ΓεϚϗΛvalidator/challengerʹ͢Δͷͱ͖ʹ·͍͠
1. challengerີΛߴΊΔΪϛοΫ͕ඞཁ 2. શαΠυνΣʔϯΛԣஅͯ͠validationλεΫΛϫϯε τοϓͰߦ͑ΔΞϓϦέʔγϣϯΛ४උ͢Δʢvalidation poolʣ 3. validation poolશPlasmaͷσʔλΛಉظ͠ͳ͚Εͳ Βͳ͍ͷ͔ɺRPC͔ΒదٓσʔλΛऔΔ͚ͩͰࣄΓΔͷ
͔ 4. શPlasmaΛԣஅͨ͠validationޮԽπʔϧ͕ετϨʔδ ͷؔͰෆՄೳͳΒɺchallengerΛ૿͢ํੑո͍͠ 5. ༨ஊ͕ͩɺ͜ͷετϨʔδͷ੍௨৴ͷෆ҆ఆ͕͋͞ ΓεϚϗΛvalidator/challengerʹ͢Δͷͱ͖ʹ·͍͠
A.ΊͪΌΊͪΌ৴པͰ͖Δύϫϑϧͳ challenger͕͍Δ B. ΊͪΌͪ͘Όͨ͘͞Μͷchallenger͕ ͍Δ C. Ϣʔβʔͷ৴༻ʹج͍ͮͯexitதͷTxΛ ୲อʹϧʔτνΣʔϯͰ͓ۚΛି͢
1. ϢʔβʔͷσϑΥϧτΛదʹܭࢉ͢Δ 2. Exit࣌ʹͦͷexitֹΛσΟεΧϯτͨۚ͠ ֹΛି͚͠Δʢଈग़ۚͰ͖Δʣ 3. Exit͕ྃͨ͠Βͦͷ··ିਓ͕ड͚औ Δ
1. ϢʔβʔͷσϑΥϧτΛదʹܭࢉ͢Δ 2. Exit࣌ʹͦͷexitֹΛσΟεΧϯτͨۚ͠ ֹΛି͚͠Δʢଈग़ۚͰ͖Δʣ 3. Exit͕ྃͨ͠Βͦͷ··ିਓ͕ड͚औ Δ
1. ϢʔβʔͷσϑΥϧτΛదʹܭࢉ͢Δ 2. Exit࣌ʹͦͷexitֹΛσΟεΧϯτͨۚ͠ ֹΛି͚͠Δʢଈग़ۚͰ͖Δʣ 3. Exit͕ྃͨ͠Βͦͷ··ିਓ͕ड͚औ Δ
՝
ෆਖ਼exitʹ͓ۚΛି͍ͯͨ͠ΒʁΉ͠Ζ͓ۚΛ౿ Έͨ͢Ίʹෆਖ਼exitΛࢼΈΔ͕ͭ૿͑ͨΒʁ ͦ͏͍͏ਓ৴༻είΞ͕ͳ͍ͷͰିͤͳ͍ exit͕ૣ͘ͳΔਓݶఆత B: ϧʔτνΣʔϯͰۚΛି͢
ϑΣσϨʔγϣϯʹͤΑߴີʹͤΑɺ ̍݅Ͱݟಀ͕͋͠Δͱ௧͍ ͦͷࢠνΣʔϯͷͨΊʹrootchainͰlock͠ ͍ͯΔࢿ࢈͕ଟΊʹҾ͖ग़͞Ε͍ͯ͘ ࠷ޙʹexitͨ͠ਓͷͨΊͷࢿ࢈͕Βͳ͍ ͷͰɺօͧͬͯͦ͜ͷνΣʔϯ͔Βಀ͛ͨ ͘ͳΔ A or C:
ChallengerͷॲཧೳྗڧԽ
Cryptoeconmics
pBFT HTLC Griefing Factors Nakamoto Consensus
snario/awesome-cryptoeconomics
10ඵexitཧ͚ͩͲɺ ݱঢ়10exit·ͰͳΒཧతʹՄೳɺ ̎िؒexitΓ͗͢ ળྑͳϢʔβʔۚརͰିexit͕Ͱ͖Δ ͘Β͍ͷݴٴ͕Ͱ͖Δঢ়ଶΛ࡞Γ͍ͨ
ηΩϡϦςΟϞσϧΛཧత ͳಈతฏߧͰఆٛ/ఏҊ͍ͯ͠ ࣌͘
ֶڧ͍Ϛϯ Έͳ͞ΜͷίϯτϦϏϡʔγϣϯΛ͓ͪͯ͠·͢ʂ