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
多様かつ継続的に変化する環境に適応する情報システム/thesis-defense-presentation
monochromegane
1
540
20240820: Minimum Bayes Risk Decoding for High-Quality Text Generation Beyond High-Probability Text
de9uch1
0
120
TransformerによるBEV Perception
hf149
1
430
文化が形作る音楽推薦の消費と、その逆
kuri8ive
0
160
Zipf 白色化:タイプとトークンの区別がもたらす良質な埋め込み空間と損失関数
eumesy
PRO
5
650
日本語医療LLM評価ベンチマークの構築と性能分析
fta98
3
640
ダイナミックプライシング とその実例
skmr2348
3
400
Whoisの闇
hirachan
3
140
SNLP2024:Planning Like Human: A Dual-process Framework for Dialogue Planning
yukizenimoto
1
330
クロスセクター効果研究会 熊本都市交通リノベーション~「車1割削減、渋滞半減、公共交通2倍」の実現へ~
trafficbrain
0
250
VisFocus: Prompt-Guided Vision Encoders for OCR-Free Dense Document Understanding
sansan_randd
1
240
20241115都市交通決起集会 趣旨説明・熊本事例紹介
trafficbrain
0
230
Featured
See All Featured
The Invisible Side of Design
smashingmag
298
50k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
47
5k
Building a Modern Day E-commerce SEO Strategy
aleyda
38
6.9k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
Measuring & Analyzing Core Web Vitals
bluesmoon
4
120
We Have a Design System, Now What?
morganepeng
50
7.2k
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
232
17k
[RailsConf 2023] Rails as a piece of cake
palkan
52
4.9k
Thoughts on Productivity
jonyablonski
67
4.3k
BBQ
matthewcrist
85
9.3k
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͕Ͱ͖Δ ͘Β͍ͷݴٴ͕Ͱ͖Δঢ়ଶΛ࡞Γ͍ͨ
ηΩϡϦςΟϞσϧΛཧత ͳಈతฏߧͰఆٛ/ఏҊ͍ͯ͠ ࣌͘
ֶڧ͍Ϛϯ Έͳ͞ΜͷίϯτϦϏϡʔγϣϯΛ͓ͪͯ͠·͢ʂ