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
Lightning Network Watchtower
Search
yohei okada
May 20, 2018
1
1.4k
Lightning Network Watchtower
blockchain.tokyo #8のLT発表資料
yohei okada
May 20, 2018
Tweet
Share
More Decks by yohei okada
See All by yohei okada
メルカリアッテのRxSwift実装ガイド
parakeety
10
5.6k
Featured
See All Featured
Typedesign – Prime Four
hannesfritz
42
2.8k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
113
20k
Fireside Chat
paigeccino
39
3.6k
Mobile First: as difficult as doing things right
swwweet
224
9.9k
Docker and Python
trallard
46
3.6k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Balancing Empowerment & Direction
lara
3
620
Music & Morning Musume
bryan
46
6.8k
Done Done
chrislema
185
16k
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
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͕ඞཁ