Bitcoin: A Peer-to-Peer Electronic Cash System
  by  Satoshi Nakamoto.
1) Transaction
     1). Electronic coin : define as chain of digital signature.
     2). Transfer : adding the end of the coin with
            - signing   1) a hash of the previous transaction.
                 2) public key of the next owner.
           - buyer : verify the signature.
Transaction data 
   1. Input.
      * Previous tx : a hash of a previous transaction. 
       * ScriptSig : the first half of a script.
            - hash of a simplified version of the transaction.
             - cf). Script : a signature + a public key.
  2. Output.
      * ScriptPubKey is the second half of a script.
            - The public key : buyer.
  3. verification.
     * ScriptSig + ScriptPubKey  : prove the transaction was created by the real owner. 




 
댓글 없음:
댓글 쓰기