Created
May 1, 2017 23:31
-
-
Save conradoqg/e6e14c3b952e74fecbf013ec88c14d8e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { // Block | |
| "index": 0, // (first block: 0) | |
| "previousHash": "0", // (hash of previous block, first block is 0) (64 bytes) | |
| "timestamp": 1465154705, // number of seconds since January 1, 1970 | |
| "nonce": 0, // nonce used to identify the proof-of-work step. | |
| "transactions": [ // list of transactions inside the block | |
| { // transaction 0 | |
| "id": "63ec3ac02f...8d5ebc6dba", // random id (64 bytes) | |
| "hash": "563b8aa350...3eecfbd26b", // hash taken from the contents of the transaction: sha256 (id + data) (64 bytes) | |
| "type": "regular", // transaction type (regular, fee, reward) | |
| "data": { | |
| "inputs": [], // list of input transactions | |
| "outputs": [] // list of output transactions | |
| } | |
| } | |
| ], | |
| "hash": "c4e0b8df46...199754d1ed" // hash taken from the contents of the block: sha256 (index + previousHash + timestamp + nonce + transactions) (64 bytes) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment