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

BcH-blockchain2.0-20160401a.pdf

Kenji Saito
April 05, 2016
40

 BcH-blockchain2.0-20160401a.pdf

Kenji Saito

April 05, 2016
Tweet

More Decks by Kenji Saito

Transcript

  1. 1. Abra – Uber – as is Proof of Existence

    – – 6 2.0 — 2016-04-01 – p.4/42
  2. Abra P2P ( ) ( ) (teller) → ATM →

    ATM BTC 6 2.0 — 2016-04-01 – p.6/42
  3. BTC (USD 3 ) Abra UI ( ) “Don’t lose

    your phone!” ( ) Abra 6 2.0 — 2016-04-01 – p.8/42
  4. Proof of Existence ( ) ( ) OP_RETURN OP_RETURN =

    ⇒ (burn = ( ) ) 0x444f4350524f4f46 (‘DOCPROOF’) SHA-256 Bitcoin blockchain explorer 5 mBTC (0.005 BTC) 6 2.0 — 2016-04-01 – p.10/42
  5. ID ID (asset ID) 1. 2. 3. 160 = ID

    ( ) 4. base58check ‘A’ ( = 23) (asset quantity) BTC 6 2.0 — 2016-04-01 – p.16/42
  6. OP_RETURN PUSH 0x4f41 (‘OA’) = 2 0x0100 2 1∼9 LEB128

    1∼9 6 2.0 — 2016-04-01 – p.17/42
  7. (1) P2WPKH (version 0) (pay-to-(witnessed)-public-key-hash) witness ( ): < >

    < > scriptSig ( ): scriptPubKey ( ) 0 <20-byte > 20-byte < > < > CHECKSIG 6 2.0 — 2016-04-01 – p.22/42
  8. (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 6 2.0 — 2016-04-01 – p.23/42
  9. BIP (Bitcoin Improvement Proposal) ex. BIP 1 : BIP Purposes

    and Guidelines https://github.com/bitcoin/bips/blob/master/bip-0001.mediawiki ex. BIP 141 : Segregated Witness (Consensus layer) TCP/IP RFC XMPP XEP 6 2.0 — 2016-04-01 – p.25/42
  10. Proof of Stake ( ) ( ) 6 2.0 —

    2016-04-01 – p.28/42
  11. 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 6 2.0 — 2016-04-01 – p.29/42
  12. Proof of Stake 3 1. 2. “Nothing at Stake” 3.

    51% 6 2.0 — 2016-04-01 – p.30/42
  13. → ⇒ A. Back, et. al., “Enabling Blockchain Innovations with

    Pegged Sidechains”, 2014 6 2.0 — 2016-04-01 – p.38/42