truechain / truechain-engineering-code

Go implementation of TrueChain
GNU Lesser General Public License v3.0
100 stars 81 forks source link

Snail block not on the chain #72

Closed ycjmail closed 5 years ago

ycjmail commented 5 years ago

testing 0.9.7 version, get "Snail block not on the chain" error below INFO [01-31|12:57:06.325] Received complete proposal block height=12665 hash=973662…ac125e INFO [01-31|12:57:06.326] enterPrevote(12665/32). Current: 12665/32/RoundStepPropose INFO [01-31|12:57:06.327] Finalize: header.SnailHash=17e0a3…5a721b header.SnailNumber=199 INFO [01-31|12:57:06.328] Finalize: verifyFastBlock Height:=12665 ERROR[01-31|12:57:06.329] verifyFastBlock process error height:=12665 err="Snail block not on the chain" WARN [01-31|12:57:06.330] vote AgreeAgainst number=12665 hash=973662…ac125e

hyangl commented 5 years ago

The same issue #36 , the scenario will not occur at production environment, snail block is mined too slow that every snail block difficulty is the same as minimum difficulty, so can not to switch to the correct branch.

ycjmail commented 5 years ago

thanks for your reply. if I use 1 miner node ,the error donot appear ; if I use 2 miner node ,the error appear in less than 2000 fastblocknode .