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.3k
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.2k
Featured
See All Featured
Done Done
chrislema
178
15k
Design by the Numbers
sachag
274
18k
Imperfection Machines: The Place of Print at Facebook
scottboms
258
12k
BBQ
matthewcrist
80
8.7k
Product Roadmaps are Hard
iamctodd
43
9.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
242
12k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
1
3.4k
4 Signs Your Business is Dying
shpigford
175
21k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
115
18k
Building Adaptive Systems
keathley
30
1.8k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
6
990
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͕ඞཁ