Upgrade to Pro — share decks privately, control downloads, hide ads and more …

2nd presentation of ライトニングネットワーク JBA 2018/04/24

2nd presentation of ライトニングネットワーク JBA 2018/04/24

JBA(日本ブロックチェーン協会)にてライトニングネットワークの技術と将来像を話をしました。これは2個目のプレゼン資料です。

Takaya Imai

April 24, 2018
Tweet

More Decks by Takaya Imai

Other Decks in Technology

Transcript

  1. ϏοτίΠϯͷ εέʔϦϯά໰୊ εέʔϦϯά໰୊ ඵؒऔҾ਺͕̓݅ఔ౓ 1MB / 256byte /10෼/60ඵ = 6.8औҾຖඵ

    Segwit (Segregated Witness)༗ޮԽޙɺ̍ϒϩοΫʹ̍MBΑΓೖΔΑ͏ʹͳͬͨͨΊɺඵؒऔҾ਺ ͸લΑΓվળ ϒϩοΫνΣʔϯαΠζͷ૿େ ̍̒̌GBऑ (2018/3/7ݱࡏ) τϥϯβΫγϣϯख਺ྉͷߴಅ ૹ෇͞ΕΔτϥϯβΫγϣϯͷ਺͕૿͑ΔͱɺϚΠφʔ͸ΑΓख਺ྉͷߴ͍τϥϯβΫγϣϯ͔Β ϒϩοΫʹऔΓࠐ΋͏ͱ͢Δ ࠷ۙ͸̍ճͷૹۚ͋ͨΓ5ԁऑ(1satoshi/byte) 2017೥12݄͸ϐʔΫͰ̍ճͷૹۚ͋ͨΓ4000ԁఔ౓ͷͱ͖΋͋ͬͨ
  2. ͍Ζ͍Ζͳղܾࡦ ΦϯνΣʔϯଆ ผͷϒϩοΫνΣʔϯʹॲཧΛԡ͠΍Δ αΠυνΣʔϯ/υϥΠϒνΣʔϯ τϥϯβΫγϣϯͷσʔλͷҰ෦Λผ࿮ʹԡ͠΍Δ SegWit (Segregated Witness) ϒϩοΫαΠζΛେ͖͘͢Δ ϏοάϒϩοΫ

    ϒϩοΫͷ఻ୡํ๏ͷվળɺGraphen τϥϯβΫγϣϯͷαΠζΛখ͘͢͞Δ γϡϊΞॺ໊(Schnorr Signature) ࢖Θͳ͍τϥϯβΫγϣϯεΫϦϓτΛল͘ɺ Graftroot ΦϑνΣʔϯଆ ϥΠτχϯάωοτϫʔΫ Ethereum(ϥΠσϯωοτϫʔΫɺϚΠΫϩϥΠσϯ ωοτϫʔΫ)
  3. #MPDLDIBJO DPOOFDUFEUP #JUDPJO ;DBTI #MPDLDIBJO &UIFSFVN #MPDLDIBJO #JUDPJO #MPDLDIBJO ʜ

    -JHIUOJOH/FUXPSL "UPNJD 4XBQ 1BZQBM 7JTB $PTNPT #MPDLDIBJO DPOOFDUFEUP TPNF CMPDLDIBJOT 3BJEFO/FUXPSL ΦϯνΣʔϯଆ ΦϑνΣʔϯଆ 4JEFDIBJO ϒϩοΫνΣʔϯ֎ ֤ٕज़ͷؔ࿈Πϝʔδ *OUFSMFEHFS
  4. ϥΠτχϯάωοτϫʔΫʁ جຊతͳΞΠσΞ̍ ຖճऔҾΛϒϩοΫνΣʔϯʹॻ͖ࠐΉͷͰ͸ͳ͘ɺ֤औҾͷ݁Ռͱͯ͠ਖ਼ຯͷ͓ۚΛ࠷ޙ ʹૹΔ ྫ 1. A͞Μ͕B͞Μʹ1000ԁିͨ͠ 2. B͞Μ͕A͞Μʹ500ԁ෼͝൧୅Λग़ͨ͠ 3.

    ݁ہɺB͞Μ͸A͞Μʹ500ԁฦͨ͠ ͜ΕΛͰ͖ΔΑ͏ʹ͢ΔೋऀʹΑΔ࠷খߏ੒୯ҐΛνϟωϧͱ͍͏ɻ νϟωϧ͸HTLC(Hashed Time Lock Contractɺϋογϡ෇੍͖࣌ؒݶίϯτϥΫτ)Λ࢖ͬͯ ࡞Δ ࠷ऴঢ়ଶΛϒϩοΫνΣʔϯʹॻ͖ࠐΉ·Ͱ͸ɺ྆ऀͷ߹ҙͷ্Ͱঢ়ଶͷߋ৽Λ͢Δ
  5. ϥΠτχϯάωοτϫʔΫʁ ૹۚऀ डۚऀ "MJDF #PC $BSPM $BSPM ϓϨΠϝʔδϋογϡ ) ᶃϓϨΠϝʔδϋογϡ)ૹ෇

    UYXJUI) OFFE3 UPVTF UYXJUI) OFFE3 UPVTF ᶄ59XJUI)ૹ෇ UYXJUI) OFFE3 UPVTF ᶅ59XJUI)ૹ෇ ᶆϓϨΠϝʔδ3ૹ෇ 3 ᶇϓϨΠϝʔδ3ૹ෇ 3 $BSPM ϓϨΠϝʔδ 3 ໿ଋ͸͢Δ͚Ͳ౪Ίͳ͍ Carol͸ R͕͋Δ͔Β ड͚औΕΔ
  6. ϥΠτχϯάωοτϫʔΫʁ ϊʔυ ϊʔυ ϊʔυ*% ϊʔυ νϟωϧ ϊʔυ νϟωϧ νϟωϧ νϟωϧ

    ϊʔυ ϊʔυ*% ϊʔυ*% ϊʔυ*% ϊʔυ νϟωϧ ϊʔυ*% νϟωϧ ϊʔυ ϊʔυ*% ͷେ͖͞͸νϟωϧʹ৐͍ͬͯΔϏοτίΠϯͷྔ
  7. ϥΠτχϯάωοτϫʔΫ ϊʔυϓϩδΣΫτҰཡ $PNQBOZ 0SHBOJ[BUJPO -JHIUOJOH -BCT .*5%$* #MPDLTUSFBN "$*/2 CDPJOPSH

    /BZVUB OPUIJOH 1SPEVDU /BNF MOE MJU MJHIUOJOHE FDMBJS QMBTNB QUBSNJHBO MOXBMMFU $PNNJUPST 5IBEEFVT %SZKB  +PTFQI 1PPO  0MBPMVXB 0TVOUPLVO 5IBEEFVT %SZKB 3VTUZ3VTTFM  $ISJTUJBO %FDLFS 1JFSSF.BSJF 1BEJPV  'BCSJDF %SPVJO  EQBE $ISJTUPQIFS +F⒎SFZ OBZVUBVFOP "OUPO ,VNBJHPSPET LJ -BOHVBHF (P (P $ 4DBMB /PEFKT $ 4DBMB pSTUDPNNJU +45        MBTUFTU DPNNJU +45        HJUIVC IUUQT HJUIVCDPN MJHIUOJOHOFU XPSLMOE IUUQT HJUIVCDPN NJUEDJMJU IUUQT HJUIVCDPN &MFNFOUT1SPK FDUMJHIUOJOH IUUQT HJUIVCDPN "$*/2FDMBJS IUUQT HJUIVCDPN CDPJOPSH QMBTNB IUUQT HJUIVCDPN OBZVUBDP QUBSNJHBO IUUQT HJUIVCDPN CUDPOUSBDU MOXBMMFU PUIFST BOESPJEBQQ
  8. ஫໨͍ͯ͠Δ ϥΠτχϯάٕज़̍ AMP: Atomic Multi-Path Payments(ΞτϛοΫෳ਺ܦ࿏ࢧ෷͍) ݱঢ় ૹۚऀ͔Βडۚऀ΁ͷૹۚܦ࿏͸̍ͭ ྫ͑͹ɺ100ԁΛૹΓ͍ͨ৔߹ɺૹۚऀ͔Βडۚऀ΁ͷܦ࿏ͷશͯͷνϟωϧ͕100ԁૹۚՄೳͰͳ͍ͱ ͍͚ͳ͍

    ໰୊఺ ·ͱ·͓ͬͨۚΛૹΕͳ͍ ̍ສԁͳͲ͋Δఔ౓·ͱ·͓ͬͨۚ͸ɺϥΠτχϯάωοτϫʔΫΛ࢖Θͳ͍΄͏͕͍͍ͱ͸ࢥ͍ ·͢ νϟωϧʹଟ͘ͷ͓ۚΛஔ͍͓ͯ͘ͷ͸ࢿ͕ۚ๛͔ͳਓ -> தԝूݖԽ 1ͭͷૹۚܦ࿏ʹґଘͯ͠͠·͏ ૹۚܦ࿏্ͷϊʔυ͕ૹۚதʹ൓Ԡ͠ͳ͘ͳΔͳͲ໰୊͕ى͖ͨ৔߹ɺૹ్͕ۚதͰࢭ·ͬͯ͠·ͬ ͯಈ͔ͳ͘ͳΔͱ͍͏͜ͱ͸ͳ͍͕ɺૹۚ׬ྃ·Ͱ͕͔͔࣌ؒͬͯ͠·͏
  9. ஫໨͍ͯ͠Δ ϥΠτχϯάٕज़̍ AMP: Atomic Multi-Path Payments(ΞτϛοΫෳ਺ܦ࿏ࢧ෷͍) ղܾํ๏ ̍ճͷૹۚΛɺෳ਺ͷૹۚܦ࿏ʹ෼ׂͯ͠ૹΔ ྑ͍఺ ૹۚܦ࿏ͷબ୒ࢶ͕΋ͬͱ૿͑ɺϥΠχϯάωοτϫʔΫશମͷϦιʔεΛ͏·͘࢖͑Δ

    νϟωϧʹେ͖ͳ͓ۚΛஔ͍͓͔ͯͳͯ͘΋ɺϥΠτχϯάωοτϫʔΫʹߩݙͰ͖Δ ѱ͍఺ ϥΠτχϯάωοτϫʔΫશମͰͷૹۚॲཧ਺͸૿͑ΔͨΊɺ෼ׂ਺Λେ͖͗͘͢͠ΔͱϥΠτ χϯάωοτϫʔΫ͕๞࿨ͯ͠͠·͏
  10. ஫໨͍ͯ͠Δ ϥΠτχϯάٕज़̎ ໘ന͍఺ τϥϯβΫγϣϯͷ؂ࢹόοΫΤϯυ͕࣮૷ͯ͋͠Γɺ؂ࢹͷ෼ࢄҕ೚͕Ͱ͖Δ ୯७ʹ͸ɺεϚϗΞϓϦ͸ϥΠτχϯάωοτϫʔΫʹࢀՃͰ͖·ͤΜ εϚϗͷి஑͕੾ΕΔɺΠϯλʔωοτʹ઀ଓͰ͖ͳ͘ͳΔͳͲͯ͠ɺτϥϯβΫγϣϯͷ؂ࢹ͕ Ͱ͖ͳ͘ͳΔͨΊɻ ૹ͚ۚͩͰ͋Ε͹Ͱ͖·͕͢ɺϥΠτχϯάωοτϫʔΫͷҰ෦ͱͯ͠ૹۚܦ࿏ʹߩݙ͢Δʹ͸ૹ ۚͱडۚͷ྆ํ͕ඞཁ ݱঢ়·ͩ׬શͳ෼ࢄҕ೚Ͱ͸ͳ͍Ͱ͢

    ؂ࢹͷ෼ࢄҕ೚Λड͚ΔଆʹͱͬͯͷΠϯηϯςΟϒ͕͢Ͱʹ࣮૷ͯ͋͠Δ εϚϗ্ͷτϥϯβΫγϣϯσʔλ͕յΕͯ͠·ͬͨ౳ͳ͘ͳͬͯ͠·ͬͨͱ͖ͷͨΊʹɺόοΫΞοϓΛ औ͓ͬͯ͘͜ͱ͕Ͱ͖Δ ͜ΕΒΛߦ͏ͷ͕ɺOlympusαʔόͰ͢ɻ εϚϗΞϓϦϋϯζΦϯΛ΍͍ͬͯΔͷͰɺͦ͜Ͱਐల۩߹͸ެ։͍͖ͯ͠·͢ɻ