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
70
Meta Contract on Steroids
shogochiai
0
71
Workshop: Solidity with LLM
shogochiai
1
140
Why ERC-7546 and where it is going.
shogochiai
0
190
UUPS2.pdf
shogochiai
0
41
風の時代とメタ国家
shogochiai
0
250
様相μ計算による計算論的な民主主義の健全性の評価 ~自律分散組織(DAO)による政体の超越性に向けて~ The theory of democraticity evaluation via modal mu-calculus for suggesting the supremacy of DAO for Nations.
shogochiai
0
31
Web3時代のDAOによるソシエタルデザイン
shogochiai
0
140
ptaa.app 解説資料
shogochiai
0
85
Other Decks in Research
See All in Research
TransformerによるBEV Perception
hf149
1
440
ミニ四駆AI用制御装置の事例紹介
aks3g
0
160
VisFocus: Prompt-Guided Vision Encoders for OCR-Free Dense Document Understanding
sansan_randd
1
250
ダイナミックプライシング とその実例
skmr2348
3
400
日本語医療LLM評価ベンチマークの構築と性能分析
fta98
3
650
12
0325
0
190
Whoisの闇
hirachan
3
140
Weekly AI Agents News! 7月号 論文のアーカイブ
masatoto
1
230
EBPMにおける生成AI活用について
daimoriwaki
0
180
FOSS4G 山陰 Meetup 2024@砂丘 はじめの挨拶
wata909
1
110
ECCV2024読み会: Minimalist Vision with Freeform Pixels
hsmtta
1
150
システムから変える 自分と世界を変えるシステムチェンジの方法論 / Systems Change Approaches
dmattsun
3
870
Featured
See All Featured
How to Ace a Technical Interview
jacobian
276
23k
How STYLIGHT went responsive
nonsquared
95
5.2k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
Designing on Purpose - Digital PM Summit 2013
jponch
115
7k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
Building an army of robots
kneath
302
43k
Become a Pro
speakerdeck
PRO
25
5k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
42
9.2k
Ruby is Unlike a Banana
tanoku
97
11k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
4
370
Building Applications with DynamoDB
mza
90
6.1k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
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͕Ͱ͖Δ ͘Β͍ͷݴٴ͕Ͱ͖Δঢ়ଶΛ࡞Γ͍ͨ
ηΩϡϦςΟϞσϧΛཧత ͳಈతฏߧͰఆٛ/ఏҊ͍ͯ͠ ࣌͘
ֶڧ͍Ϛϯ Έͳ͞ΜͷίϯτϦϏϡʔγϣϯΛ͓ͪͯ͠·͢ʂ