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.4k
Plasmaのexitの高速化についてともに考える
Plasma#2登壇資料。Plasmaのexitを高速化したらどんな使い方ができて、高速化を実現するためには何ができそうか考えてみました
sgtn
May 25, 2018
Tweet
Share
More Decks by sgtn
See All by sgtn
war model
shogochiai
0
76
Meta Contract on Steroids
shogochiai
0
79
Workshop: Solidity with LLM
shogochiai
2
150
Why ERC-7546 and where it is going.
shogochiai
0
210
UUPS2.pdf
shogochiai
0
42
風の時代とメタ国家
shogochiai
0
260
様相μ計算による計算論的な民主主義の健全性の評価 ~自律分散組織(DAO)による政体の超越性に向けて~ The theory of democraticity evaluation via modal mu-calculus for suggesting the supremacy of DAO for Nations.
shogochiai
0
33
Web3時代のDAOによるソシエタルデザイン
shogochiai
0
140
ptaa.app 解説資料
shogochiai
0
91
Other Decks in Research
See All in Research
文献紹介:A Multidimensional Framework for Evaluating Lexical Semantic Change with Social Science Applications
a1da4
1
250
Composed image retrieval for remote sensing
satai
2
150
第79回 産総研人工知能セミナー 発表資料
agiats
3
190
新規のC言語処理系を実装することによる 組込みシステム研究にもたらす価値 についての考察
zacky1972
1
310
【NLPコロキウム】Stepwise Alignment for Constrained Language Model Policy Optimization (NeurIPS 2024)
akifumi_wachi
3
420
Neural Fieldの紹介
nnchiba
1
550
研究を支える拡張性の高い ワークフローツールの提案 / Proposal of highly expandable workflow tools to support research
linyows
0
260
2024/10/30 産総研AIセミナー発表資料
keisuke198619
1
410
最近のVisual Odometryと Depth Estimation
sgk
1
350
The Relevance of UX for Conversion and Monetisation
itasohaakhib1
0
130
Leveraging LLMs for Unsupervised Dense Retriever Ranking (SIGIR 2024)
kampersanda
2
280
LLM時代にLabは何をすべきか聞いて回った1年間
hargon24
1
590
Featured
See All Featured
Building Your Own Lightsaber
phodgson
104
6.2k
Designing for Performance
lara
604
68k
Making Projects Easy
brettharned
116
6k
Fashionably flexible responsive web design (full day workshop)
malarkey
406
66k
A Modern Web Designer's Workflow
chriscoyier
693
190k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Side Projects
sachag
452
42k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
How to Ace a Technical Interview
jacobian
276
23k
Visualization
eitanlees
146
15k
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.8k
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͕Ͱ͖Δ ͘Β͍ͷݴٴ͕Ͱ͖Δঢ়ଶΛ࡞Γ͍ͨ
ηΩϡϦςΟϞσϧΛཧత ͳಈతฏߧͰఆٛ/ఏҊ͍ͯ͠ ࣌͘
ֶڧ͍Ϛϯ Έͳ͞ΜͷίϯτϦϏϡʔγϣϯΛ͓ͪͯ͠·͢ʂ