OSDN Git Service

Fix concurrent sign block (#541)
authorPoseidon <shenao.78@163.com>
Fri, 7 Aug 2020 03:07:08 +0000 (11:07 +0800)
committerGitHub <noreply@github.com>
Fri, 7 Aug 2020 03:07:08 +0000 (11:07 +0800)
commit32bee2bab91c6ebce7efe677da2f50ed31d87466
tree2aeb090217010ef31607dd3918241b2086a500e2
parent2287fc4d8ee68ade0563e1f54c72bc9e027c6873
Fix concurrent sign block (#541)

* fix_concurrent_sign_block

* fix check exist block

* fix_concurrent_sign_block

* update error msg

* don't increase ban score when err double sign

* opt code

* use errors.root
netsync/chainmgr/block_keeper.go
netsync/chainmgr/block_process.go
protocol/bbft.go