truechain / truechain-engineering-code

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

invalid fruits time gap #95

Closed rice-mouse closed 5 years ago

rice-mouse commented 5 years ago

INFO [06-02|22:19:03.669] ValidateBody snail validate time gap error block=9780 first fb number=1135902 first fb time=1559395623 last fb number=1135976 last fb time=1559395982 tim gap=359 ERROR[06-02|22:19:03.670] ########## BAD SNAIL BLOCK ######### Chain config: {ChainID: 19330 Engine: {MinimumDifficulty: 134217728 MinimumFruitDifficulty: 262144 DurationLimit: 600}}

Number: 9780 Hash: 0x982c75413ada68c702a26d37b34c67fc0a447105cfc57b217be189dfcfeb2dd8

Error: invalid fruits time gap ##############################

ERROR[06-02|22:19:03.670] Snail downloaded item processing failed number=0xaded30 hash=982c75…eb2dd8 err="invalid fruits time gap"

hyangl commented 5 years ago

Thanks for your feedback, that's a bug when fetching a forked snail block and inserting it on the chain. We will fix the bug immediately.