OSDN Git Service

new casper (#1918)
authorPoseidon <shenao.78@163.com>
Fri, 23 Apr 2021 12:16:14 +0000 (20:16 +0800)
committerGitHub <noreply@github.com>
Fri, 23 Apr 2021 12:16:14 +0000 (20:16 +0800)
commitbed9efb90c15439c094a5ab84d4d01e88f0226f1
treedd0b209a09606ae970d0ed88fd2a98153d5dd91a
parent19b30a7913b4113687479a0ee0db28c136460dad
new casper (#1918)

* new casper

* modify comment

* add check first checkpoints

* bug fix

* fix golint

Co-authored-by: Paladz <yzhu101@uottawa.ca>
protocol/consensus/casper.go
protocol/consensus/tree_node.go
protocol/state/checkpoint.go