heco private chain 通过智能合约添加验证人
接着上一篇 heco private chain 搭建流程
最高可添加 21个 validator节点, miner.start()的 validator节点大于总量的 1/2+1时会正常出块
1. 扒合约
把 heco系统合约地址 https://github.com/stars-labs/heco-contracts/tree/master/contracts 的合约代码扒下来, 想办法弄到remix里
2. 编译版本
修改 Solidity compiler
的 COMPILER
编译版本为 v0.6.1
, 其他版本会编译不通过