Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 600 Bytes

File metadata and controls

21 lines (11 loc) · 600 Bytes

blockchain

Requirements

Python 3.10+

如果将代码中 match-case 替换成 if-else 则 Python 3.6+ 即可

introduction

详细文档点击查看

myblockchain.py 区块链的主要的代码文件

app.py 为区块链提供 web 服务

utils.py 提供生成公私钥,写入读取文件等函数

market.py 默克尔树的实现代码,参考 https://github.com/Tierion/pymerkletools

test 目录包含了重要函数的单元测试