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

ブロックチェーン 2.0 / Blockchain 2.0

ブロックチェーン 2.0 / Blockchain 2.0

ブロックチェーンハブ主催で開催しているブロックチェーン基盤技術講義『ブロックチェーン 2.0』のスライドです。2017年7月12日(水) に使用しました。

Kenji Saito

July 12, 2017
Tweet

More Decks by Kenji Saito

Other Decks in Technology

Transcript

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

    1993 M.Eng ( ) 2006 ( ) SFC 16 P2P 2011 → ( ) 2.0 — — 2017-07-12 – p.2/39
  2. 2.0 1. 2. Segregated Witness 3. 4. Proof of Stake

    ( ) 5. 6. 2.0 — — 2017-07-12 – p.4/39
  3. ID ID (asset ID) 1. 2. 3. 160 = ID

    ( ) 4. base58check ‘A’ ( = 23) (asset quantity) BTC 2.0 — — 2017-07-12 – p.9/39
  4. OP_RETURN PUSH 0x4f41 (‘OA’) = 2 0x0100 2 1∼9 LEB128

    1∼9 2.0 — — 2017-07-12 – p.10/39
  5. (1) P2WPKH (version 0) (pay-to-(witnessed)-public-key-hash) witness ( ): < >

    < > scriptSig ( ): scriptPubKey ( ) 0 <20-byte > 20-byte < > < > CHECKSIG 2.0 — — 2017-07-12 – p.15/39
  6. (2) P2WSH (version 0) (pay-to-(witnessed)-script-hash) witness: < 1 > <1

    < 1 > < 2 > 2 CHECKMULTISIG> scriptSig: scriptPubKey 0 <32-byte > 32-byte 1-out-of-2 2.0 — — 2017-07-12 – p.16/39
  7. SegWit 2016 100 SegWit (95% ) . . . 2.0

    — — 2017-07-12 – p.17/39
  8. . . . Litecoin Monacoin SegWit . . . 2.0

    — — 2017-07-12 – p.18/39
  9. BIP (Bitcoin Improvement Proposal) ex. BIP 1 : BIP Purposes

    and Guidelines https://github.com/bitcoin/bips/blob/master/bip-0001.mediawiki ex. BIP 9 : Version bits with timeout and delay ex. BIP 141 : Segregated Witness (Consensus layer) TCP/IP RFC XMPP XEP 2.0 — — 2017-07-12 – p.20/39
  10. 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 2.0 — — 2017-07-12 – p.21/39
  11. Proof of Stake ( ) ( ) 2.0 — —

    2017-07-12 – p.24/39
  12. Proof of Stake Hn (PD + id + t +

    . . .) ≤ 2n × balance d H n : n (ex. SHA-256 (n = 256)) PD : id : (ex. ) t : (ex. UNIX ( )) balance : d : (ex. ) PoW 2.0 — — 2017-07-12 – p.25/39
  13. Proof of Stake 3 1. 2. “Nothing at Stake” 3.

    51% 2.0 — — 2017-07-12 – p.26/39
  14. → ⇒ A. Back, et. al., “Enabling Blockchain Innovations with

    Pegged Sidechains”, 2014 2.0 — — 2017-07-12 – p.34/39