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

booting_lightning-node.pdf

Takaya Imai
July 04, 2018
79

 booting_lightning-node.pdf

Takaya Imai

July 04, 2018
Tweet

More Decks by Takaya Imai

Transcript

  1. ϥΠτχϯάϊʔυΛ
    ཱͯͯΈΑ͏
    5BLBZB*NBJ
    $&0!'SPOUJFS1BSUOFST--$
    $PGPVOEFSBOE$50!6OJUFE#JUDPJOFST*OD

    View full-size slide

  2. ϥΠτχϯάϊʔυߏ੒
    CUDE
    MOE
    OFVUSJOP
    #JUDPJO11/FUXPSL
    -JHIUOJOH11/FUXPSL

    View full-size slide

  3. ϥΠτχϯά
    ϊʔυΠϯετʔϧ
    IUUQTHJUIVCDPNMJHIUOJOHOFUXPSLMOECMPCNBTUFSEPDT*/45"--NE

    View full-size slide

  4. ϥΠτχϯά
    ϊʔυΠϯετʔϧ
    w (PMBOHΛΠϯετʔϧ
    w όʔδϣϯҎ্
    w TVEPBQUHFUJOTUBMMHPMBOHHP
    w TVEPMOTVTSMJCHPCJOHPVTSMPDBMCJOHP
    w ύεͷઃఆ
    w FYQPSU(01"5)dHPDPEF
    w FYQPSU1"5)1"5)(01"5)CJO
    w DQdCBTISDdCBTISDPSH
    w WJdCBTISD
    w EJ⒎CBTISDPSHCBTISD
    w B
    w
    w FYQPSU(01"5)dHPDPEF
    w FYQPSU1"5)1"5)(01"5)CJO

    View full-size slide

  5. ϥΠτχϯά
    ϊʔυΠϯετʔϧ
    w MOEΠϯετʔϧ
    w HPHFUEHJUIVCDPNMJHIUOJOHOFUXPSLMOE
    w DE(01"5)TSDHJUIVCDPNMJHIUOJOHOFUXPSLMOE
    w NBLFNBLFJOTUBMM
    w MOEDPOGઃఆ
    w NLEJSdMOE
    w DEdMOE
    w DQ(01"5)TSDHJUIVCDPNMJHIUOJOHOFUXPSLMOETBNQMFMOEDPOG
    w NWTBNQMFMOEDPOGMOEDPOG
    w WJMOEDPOG
    w

    View full-size slide

  6. ϥΠτχϯά
    ϊʔυΠϯετʔϧ
    w MOEDPOGͷมߋ৔ॴ͸
    w FYUFSOBMJQYYYYYYYYYYYYଞϊʔυ͔Βݟ͑
    Δϊʔυ*1ΞυϨεͱϥΠτχϯάωοτϫʔΫϙʔτ
    w OPFODSZQUXBMMFUςετωοτͳͷͰ
    w BMJBTYYYYYYϊʔυχοΫωʔϜ
    w CJUDPJOUFTUOFUςετωοτΛࢦఆ
    w

    View full-size slide

  7. w CJUDPJOTJNOFUTJNωοτΛίϝϯτΞ΢τ
    w CJUDPJOOPEFCUDE࢖༻͢Δ઀ଓઌϏοτίΠϯϑϧϊʔυͱͯ͠CUDEʹ͠ͳ͍
    w CJUDPJOOPEFOFVUSJOP࢖༻͢Δ઀ଓઌϏοτίΠϯϑϧϊʔυͱͯ͠OFVUSJOPΛઃఆɻϋϯ
    ζΦϯͰ୹࣌ؒͰ্ཱͪ͛ʹ͠ͳ͍ͱͳͷͰOFVUSJOPΛબ୒ ݱ࣌఺Ͱ͸OFVUSJOP͸ಠཱͨ͠ϊʔ
    υͰ͸ͳ͍Ͱ͢

    w CJUDPJOEFGBVMUDIBODPOGTଞϊʔυʹରͯ͠ཁٻ͢ΔνϟωϧΛ͸Δ࣌ʹ଴ͭঝೝ਺Λʹ
    ςετωοτͳͷͰঝೝʹɻϝΠϯωοτͰ͸ঝೝͰ͸গͳ͗͢

    w OFVUSJOPDPOOFDUGBVDFUMJHIUOJOHDPNNVOJUZ
    ࢦఆ͠ͳͯ͘΋ࣗಈతʹબ͹ΕΔɻͨͩࢦ
    ఆ͍ͨ͠৔߹͸઀ଓઌOFVUSJOP*1ΞυϨεΛࢦఆ
    w BVUPQJMPUBDUJWFΦʔτύΠϩοτΛΦϯɻࣗಈతʹଞϊʔυʹ઀ଓ͠νϟωϧΛ͸Δ
    w MOEىಈ
    w MOE

    View full-size slide

  8. w MOEͷϗʔϜσΟϨΫτϦ)0.&MOE͸MOEΛΠϯετʔ
    ϧ͢Δ͚ͩͰͳ͘ɺMOEΛ্ཱͪ͛Δ͔ɺ·ͨ͸ࣗ෼Ͱ࡞
    Βͳ͍ͱͰ͖ͳ͍Ͱ͢ɻ
    w

    View full-size slide

  9. MOE্ཱ͕ͪΓ͝ͷಈ࡞

    View full-size slide

  10. MOE্ཱͪ͛Φϓγϣϯ
    w සൟʹΦϓγϣϯͷछྨ͕૿͍͑ͯΔ
    w ௨ৗ͸MOEDPOGʹهࡌ͢Δ
    w UMTʜϝΠϯωοτͰ࢖༻͢ΔͷͰ͋Ε͹
    w CJUDPJONJOIUMD࠷௿ૹۚసૹྉ σϑΥNTBU

    w CJUDPJOCBTFGFFૹۚసૹجຊख਺ྉ σϑΥNTBU

    w CJUDPJOGFFSBUFૹۚసૹͷૹֹۚґଘख਺ྉ σϑΥ

    w CJUDPJOUJNFMPDLEFMUBૹۚసૹ࣌ͷ)5-$λΠϜϩοΫ஋ࢦఆʹ࢖༻ લͷ)5-$λΠϜϩο
    Ϋ஋͔Β͜ͷ਺ࣈΛҾ͍ͯࢦఆɻσϑΥϒϩοΫ ໿̍೔


    w ϥΠτίΠϯ΋MOEͰѻ͑Δ
    w MJUFDPJOOPEFͳͲͰ઀ଓઌϥΠτίΠϯϊʔυΛࢦఆ

    View full-size slide