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

ビットコインとイーサリアムの技術 / Bitcoin and Ethereum Technology

ビットコインとイーサリアムの技術 / Bitcoin and Ethereum Technology

2018年10月3日(水)、ブロックチェーンハブ主催で開催されたブロックチェーンアカデミー「ビットコインとイーサリアムの技術」にて使用したスライドです。

Kenji Saito

October 03, 2018
Tweet

More Decks by Kenji Saito

Other Decks in Technology

Transcript

  1. ( ) SFC ( ) CSO (Chief Science Officer) 1993

    ( ) 2006 ( ) SFC 18 P2P (Peer-to-Peer) 2011 SFC 2018 → ( ) — — 2018-10-03 – p.2/66
  2. (1) ( ) ⇒ P2P ⇒ ( ) — —

    2018-10-03 – p.6/66
  3. (2) (double spending) ( ) ⇒ ⇒ ( ) →

    ( ) ( ) ⇒ → → ⇒ → — — 2018-10-03 – p.7/66
  4. / (1) 2,100 cm3 (cc) 1 1cm3 10 12.5cm3 ⇒

    ⇒ ( ) — — 2018-10-03 – p.9/66
  5. / (2) ( ) ( ) ( ) ( )

    ( ) → ( ) — — 2018-10-03 – p.10/66
  6. ∼ ϖʔδ൪߸O ϖʔδ൪߸O  ϖʔδ൪߸O  ϖʔδ൪߸O  ϖʔδ൪߸O 

    ϖʔδ൪߸O  ϖʔδ൪߸O  ϖʔδ൪߸O  ͬͪ͜ͷྺ࢙͕༗ޮ ( ) — — 2018-10-03 – p.13/66
  7. = (virtually) = = = : → ( ) —

    — 2018-10-03 – p.14/66
  8. /DLT ਖ਼౰ੑͷอূ ྫ6590ߏ଄ͱσδλϧॺ໊ ଘࡏੑͷূ໌ ྫ࡞ۀূ໌෇͖ϋογϡνΣʔϯ །Ұੑͷ߹ҙ ྫφΧϞτɾίϯηϯαε ϧʔϧͷهड़ ྫ#5$ͷҠస ɾ

    τϥϯβΫγϣϯͷ಺༰͕վ͟ΜͰ͖ͣɺ ɾ ͦͷΞηοτʹؔ͢ΔաڈͷτϥϯβΫγϣϯྻʹরΒͯ͠ໃ६͕ͳ͘ɺ ɾ ͔ͭɺਖ਼౰ͳϢʔβʹΑΓ౤ೖ͞Ε͍ͯΔ͜ͱΛอূ͢Δ ɾաڈʹ͋ͬͨτϥϯβΫγϣϯͷূڌΛຣফͰ͖ͣɺ ɾ ͔ͭɺաڈʹͳ͔ͬͨτϥϯβΫγϣϯͷূڌΛ፻଄Ͱ͖ͳ͍ ɾໃ६͢Δ;ͨͭͷτϥϯβΫγϣϯ͕౤ೖ͞Εͨ৔߹ɺ ɹ ͍ͣΕ ؔ༩͢Δશһ͕ಉ͡ยํΛબΜͰྺ࢙ͷதʹҐஔ͚ͮΔ ɾΞϓϦέʔγϣϯϩδοΫ Կ͕ਖ਼͍͠τϥϯβΫγϣϯ͔ΛܾΊΔ — — 2018-10-03 – p.19/66
  9. 0 and/or “The Times 03/Jan/2009 Chancellor on brink of second

    bailout for banks” 2009 1 3 2 https://blockchain.info SEARCH 0 — — 2018-10-03 – p.21/66
  10. Merkle ( ) Digest = SHA-256 × SHA-256 TX (

    ) — — 2018-10-03 – p.27/66
  11. Block Header Data Structure Field Description Size (bytes) Version 4

    Digest Double SHA-256 value 32 Merkle root Double SHA-256 value 32 Time Seconds (since 1970-01-01T00:00 UTC) 4 Target Compressed format 4 Nonce Appropriate value 4 Merkle root is the digest of all TXs — — 2018-10-03 – p.28/66
  12. Proof of Work ( ) ( ) . . .

    : Hashcash (1997) SHA-1 20 ( ) 0 1 1 / — — 2018-10-03 – p.30/66
  13. CPU → GPU → FPGA → ASIC ( ) →

    → ( ) BTC — — 2018-10-03 – p.32/66
  14. POW ( ) Proof Of Work . . . —

    — 2018-10-03 – p.34/66
  15. (2009 1 ∼2018 8 ) 2 → 2 2 →

    — — 2018-10-03 – p.35/66
  16. Vitalik Buterin, “Ethereum White Paper: A NEXT GENERATION SMART CONTRACT

    & DECENTRALIZED APPLICATION PLATFORM” 15 / — — 2018-10-03 – p.43/66
  17. Frontier (2015) Homestead (2016) Metropolis Byzantium (2017) ← zkSNARKs (

    ) → Zcash on Ethereum (ZoE) Constantinople (2018 ) Serenity — — 2018-10-03 – p.47/66
  18. ( ) ( ) ( vs. ) ( ) (

    ) ( ) ⇒ ( : BBc-1) DLT : : — — 2018-10-03 – p.49/66
  19. ( ) ⇒ (Casper) ( ) ⇒ ZoE (Zcash on

    Ethereum) ( vs. ) ( ) ⇒ Plasma ( ) ⇒ ( ) (Benevolent Dictator For Life (BDFL)) ( ) ⇒ — — 2018-10-03 – p.50/66
  20. SHA-256 × SHA-256 SHA-256 × RIPEMD-160 (1 ) . .

    . scrypt ( ) Ethash (Dagger-Hashimoto ) DAG : Directed Acyclic Graph ( ) https://github.com/ethereum/wiki/wiki/Ethash — — 2018-10-03 – p.52/66
  21. GHOST (Greedy Heaviest Observed Subtree) ⇒ GHOST ( ) “uncles”

    proof of work ( ) uncle uncles 7 GHOST — — 2018-10-03 – p.53/66
  22. IUUQTFOXJLJQFEJBPSHXJLJ3BEJY@USFF key OK PATRICIA (Practical Algorithm To Retrieve Information Coded

    In Alphanumeric) Trie ( ) (key, value) RLP (recursive length prefix encoding) — — 2018-10-03 – p.54/66
  23. Proof of Stake ( ) H n (PD + id

    + t + . . .) ≤ 2n × balance d H n : n (ex. SHA-256 (n = 256)) PD : id : (ex. ) t : (ex. UNIX ( )) balance : d : (ex. ) PoW — — 2018-10-03 – p.57/66
  24. Proof of Stake 3 1. 2. “Nothing at Stake” 3.

    51% — — 2018-10-03 – p.58/66