Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 378 Bytes

File metadata and controls

16 lines (11 loc) · 378 Bytes

blockchain

  • General blockchain block parsing template code
  1. The form of interface, which encapsulates common logic and supports all chains;
  2. Bifurcation treatment;
  3. Transaction storage.
  • 通用的区块链区块解析模板代码:
  1. 接口的形式,内部封装好了常见的逻辑,支持所有链;
  2. 分叉处理;
  3. 事务存储。

Demo

main.go