QuarkChain / go-ethereum

Official Go implementation of the Ethereum protocol
https://geth.ethereum.org
GNU Lesser General Public License v3.0
6 stars 2 forks source link

ValidatorBlock() should do more check #41

Closed qizhou closed 2 years ago

qizhou commented 2 years ago

Basically we should add more checks to https://github.com/QuarkChain/go-ethereum/blob/e212d9fecdb18fa7caf8a13436e53e85744895c5/consensus/tendermint/adapter/store.go#L76

from: https://github.com/QuarkChain/go-minimal-pbft/blob/5baea63c2394f95ae53ab928c9fb58ab48feaafb/consensus/default_block_executor.go#L21