notes

Personal notes
git clone git://git.laack.co/notes.git
Log | Files | Refs

Blockchain.md (465B)


      1 # Blockchain
      2 
      3 **Source:** MIT MAS.S62 Cryptocurrency Engineering and Design L2
      4 
      5 **Definition:** A blockchain is a distributed ledger of transactions that uses cryptographic hashes to link records together.
      6 
      7 ## Simple Example
      8 
      9 ```
     10 
     11 message m, nonce r, target t
     12 
     13 hash(m,r) = h; h < t
     14 
     15 m_n = (data, h_n-1)
     16 
     17 ```
     18 
     19 A message is the block, and it has:
     20 
     21 1. previous message hash (pointer)
     22 2. message
     23 3. nonce
     24 
     25 The entire block is hashed, and that is the identifier for it.