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
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
[RailsConf 2023] Rails as a piece of cake
palkan
59
7.1k
Darren the Foodie - Storyboard
khoart
PRO
5
4.1k
Test your architecture with Archunit
thirion
2
2.5k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
30 Presentation Tips
portentint
PRO
1
460
Become a Pro
speakerdeck
PRO
31
6.4k
The Language of Interfaces
destraynor
162
27k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
330
Build your cross-platform service in a week with App Engine
jlugia
234
19k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
280
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Building Adaptive Systems
keathley
44
3.3k
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͕ඞཁ