Skip to content

Latest commit

 

History

History
 
 

blockchain

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Go区块链Demo

用Go语言写一个简单的区块链项目,直接跑test用例即可查看效果

{Index:0 Data:Genesis Block Hash:90d7d6d9adc8a6dd4eca1e30d8c1a8556a8e3e508da81f30a9e520c2ee7124b0 Timestamp:1564299472 PrevBlockHash:}
{Index:1 Data:block:0 Hash:7a6caadee2be127b117141c17b856f9c4448cfd09158f84fb5df5efc30bf86ae Timestamp:1564299472 PrevBlockHash:90d7d6d9adc8a6dd4eca1e30d8c1a8556a8e3e508da81f30a9e520c2ee7124b0}
{Index:2 Data:block:1 Hash:0d99d3ba40229ab4226a627013dde9992a1b8ed28ab4a758ae4d7914ee6adda1 Timestamp:1564299472 PrevBlockHash:7a6caadee2be127b117141c17b856f9c4448cfd09158f84fb5df5efc30bf86ae}
Index:3 Data:block:2 Hash:091ac38766e928355d1a7e25f9b5ea247b22c0ee59f06b0e93a48d393532413e Timestamp:1564299472 PrevBlockHash:0d99d3ba40229ab4226a627013dde9992a1b8ed28ab4a758ae4d7914ee6adda1}
{Index:4 Data:block:3 Hash:7922a09f4f91a17a7f0f52345b285b7012983877c93a2a040e2e3fa0c183e754 Timestamp:1564299472 PrevBlockHash:091ac38766e928355d1a7e25f9b5ea247b22c0ee59f06b0e93a48d393532413e}
{Index:5 Data:block:4 Hash:4bd4f0a3680897bad4fe580c5f2831153b71f8c340ce25a5c3f01bee4c733e57 Timestamp:1564299472 PrevBlockHash:7922a09f4f91a17a7f0f52345b285b7012983877c93a2a040e2e3fa0c183e754}
{Index:6 Data:block:5 Hash:acbf48549f9a87e72302759b88d91acb44301a45c8553f41ae1b24c00b1d2851 Timestamp:1564299472 PrevBlockHash:4bd4f0a3680897bad4fe580c5f2831153b71f8c340ce25a5c3f01bee4c733e57}
{Index:7 Data:block:6 Hash:ab891ea058f4d023a37dd41afac249a028aea20a4e783e0f1a63998fe2cedce7 Timestamp:1564299472 PrevBlockHash:acbf48549f9a87e72302759b88d91acb44301a45c8553f41ae1b24c00b1d2851}
{Index:8 Data:block:7 Hash:575e606f955c7ea687cabe872190b29cad272b50c8f4e1d8e71e2d27b079e454 Timestamp:1564299472 PrevBlockHash:ab891ea058f4d023a37dd41afac249a028aea20a4e783e0f1a63998fe2cedce7}
{Index:9 Data:block:8 Hash:88a71b1f946d84cd7abf5e784bd69ef7fc4f3020b64cc6607c5babb74734cafe Timestamp:1564299472 PrevBlockHash:575e606f955c7ea687cabe872190b29cad272b50c8f4e1d8e71e2d27b079e454}
{Index:10 Data:block:9 Hash:deab5a5ad22f409995cee6c3a083025288d47be533ebb5de299e8fe0b6dc1164 Timestamp:1564299472 PrevBlockHash:88a71b1f946d84cd7abf5e784bd69ef7fc4f3020b64cc6607c5babb74734cafe}