Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Lightning Network Watchtower
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
yohei okada
May 20, 2018
1.5k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lightning Network Watchtower
blockchain.tokyo #8のLT発表資料
yohei okada
May 20, 2018
More Decks by yohei okada
See All by yohei okada
メルカリアッテのRxSwift実装ガイド
parakeety
10
5.7k
Featured
See All Featured
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
2
3k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
920
Building Adaptive Systems
keathley
44
3.3k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
330
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
550
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
The Cost Of JavaScript in 2023
addyosmani
56
10k
Six Lessons from altMBA
skipperchong
29
4.6k
State of Search Keynote: SEO is Dead Long Live SEO
ryanjones
0
350
SERP Conf. Vienna - Web Accessibility: Optimizing for Inclusivity and SEO
sarafernandez
2
1.6k
The Limits of Empathy - UXLibs8
cassininazir
2
760
Transcript
Lightning Network Watchtower blockchain.tokyo #8 @parakeety
ࣗݾհ • Ԭా༸ฏ • github: parakeety • twitter: @parakeety_ •
ڵຯؔ৺: Lightning Network, DEX, mimblewimble
Lightning Network͓͞Β͍ • Bitcoin networkͱ࿈ܞ͢Δ͏Ұͭͷp2p network • opening txͱclosing txBitcoin
networkʹbroadcast͞ Εॻ͖ࠐ·ΕΔ͕ɺ్தͷcommitment txbroadcast ͤͣʹͻͨ͢Βߋ৽͢Δ • commitment txॺ໊ࡁΈͰ͍ͭͰBitcoin network ʹ͍ͭͰbroadcastͯ֬͠ఆͤ͞Δࣄ͕Ͱ͖Δ
0QFOJOH5SBOTBDUJPO $MPTJOH5SBOTBDUJPO $PNNJUNFOU5SBOTBDUJPO $PNNJUNFOU5SBOTBDUJPO ΞυϨεA: 5BTC ΞυϨεB: 5BTC
ΞυϨεA: 4BTC ΞυϨεB: 6BTC ΞυϨεA͔ΒΞυϨεBʹ1BTCૹۚ ΞυϨεAͷॴ༗ऀCommitment Transaction(1)Λbroadcast͢Δincentive͕͋Δ
ݹ͍ෆਖ਼ͳCommitment TxΛbroadcastͨ͠߹ • ҰఆظؒҎʹɺऔΓ͢tx(justice tx)Λ࡞ͯ͠ broadcast͢Εɺopening txͷdepositΛશͯճऩ͢ Δࣄ͕Ͱ͖Δ
ෆਖ਼ͳCommitment txճऩͷ՝ • ݹ͍ෆਖ਼ͳcommitment tx͕broadcast͞Ε͔ͯΒɺҰ ఆظؒҎʹjustice txΛ࡞ͯ͠ɺbroadcast͠ͳ͍ͱ ͍͚ͳ͍ • ͭ·ΓɺBitcoin
networkΛࢹ͢Δඞཁ͕͋Δ • ৗ࣌ىಈ͍ͯ͠Δfull nodeͰ͋ΕՄೳ͕ͩɺϞόΠϧ ͩͱݫ͍͠
Watchtower
Watchtower • ϞόΠϧͳͲͷৗ࣌ىಈ͕͍ܰ͠ྔΫϥΠΞϯτ ͷΘΓʹɺBitcoin NetworkΛࢹ • ݹ͍Commitment tx͕broadcast͞ΕͨͷΛݕ͠ɺ justice txΛbroadcastͯ͘͠ΕΔ
• LightningͷϑϧϊʔυͷҰػೳͱ࣮ͯ͠༧ఆ
WatchtowerͷΈ • ܰྔΫϥΠΞϯτɺCommitment txΛߋ৽͢Δ ʹɺjustice txΛ࡞͠ɺWatchtowerʹૹΔ • ͋ͱWatchtower͕ࣗಈͰճऩͯ͘͠ΕΔ • 1ͭͷWatchtowerͰͳͯ͘ɺෳͷWatchtowerʹ
outsource͢Δ
WatchtowerͷΠϯηϯςΟϒ • ܰྔΫϥΠΞϯτͷΘΓʹෆਖ਼ͳCommitment txΛ ৗ࣌ࢹͯ͠Β͏ࣄʹରͯ͠ରՁΛ͏ࣄ͕ఆ͞Ε ͯΔ • Retribution: ճऩֹͨۚ͠ͷҰ෦ΛWatchtowerʹࢧ ͏
• Pay-per-state: Commitment txΛߋ৽͠ɺjustice txΛૹ ΔʹใुΛࢧ͏
·ͱΊ • ϞόΠϧͷৗ࣌ىಈ͕͍͠ΫϥΠΞϯτͰ҆৺ ͯ͠Lightning NetworkΛ͑ΔΑ͏ʹͳΔʹɺ Watchtower͕ඞཁ