Skip to content

dinglioutlook/blockchain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blockchain

a simple blockchain written in python for teaching and learning with following key functions:

  1. PoW (Prove of Work, 挖矿算法)
  2. Valid the chain and resolve conflicts (挖矿一致性)

How to run

pip install -r requirement

In terminal, go into src folder and type

python blockchain.py

Courtesy of

https://learnblockchain.cn/2017/10/27/build_blockchain_by_python/

Further work:

add a frontend support for better usage.

License

MIT

About

a simple blockchain written in python for teaching and learning.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages