truechain-engineering-code
truechain-engineering-code copied to clipboard
Bad Snail Block - invalid fruits number
getrue node can't sync a new snail block when it has got a forked block.
INFO [12-14|08:15:27.542] Peer connected success id=0101e8580b1ee536 conn=dyndial name=Getrue/v0.9.1-unstable-d12ad566/linux-amd64/go1.10 RemoteAddr=47.92.4.244:30313
INFO [12-14|08:15:27.552] Peer connected success id=7256e562a1078ea2 conn=dyndial name=Getrue/v0.9.1-unstable-d12ad566/linux-amd64/go1.10.4 RemoteAddr=192.144.199.133:30313
INFO [12-14|08:15:33.522] Timed out dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:15:33.522] Received task tock timeout=10s height=548761 round=0 step=RoundStepPrevote cs.height=548761
INFO [12-14|08:15:33.522] begin UpdateStateForSync height=548761
INFO [12-14|08:15:33.522] Server GetCurrentHeight height=548760
INFO [12-14|08:15:33.522] end UpdateStateForSync newHeight=548761
INFO [12-14|08:15:33.522] Received task tock End
INFO [12-14|08:15:33.522] Scheduled timeout dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:15:38.385] ValidateBody snail validate fruit error block=5878 first=546877 count=80 fruit=546877 pre=546716
ERROR[12-14|08:15:38.385]
########## BAD SNAIL BLOCK #########
Chain config: {ChainID: 18928 Engine: {MinimumDifficulty: 2000000 MinimumFruitDifficulty: 2000 DurationLimit: 600}}
Number: 5878
Hash: 0xb48066b4d3e469733c9624de01121ce3e587be5446ab2917008663c5b94560f3
Error: invalid fruits number
##############################
WARN [12-14|08:15:38.385] Synchronisation failed, dropping peer peer=0101e8580b1ee536 err="retrieved hash chain is invalid"
INFO [12-14|08:15:38.385] drop peer snail Synchronise id=0101e8580b1ee536
INFO [12-14|08:15:38.385] Removing Truechain peer peer=0101e8580b1ee536 RemoteAddr=47.92.4.244:30313
INFO [12-14|08:15:38.385] Truechain message handling failed id=0101e8580b1ee536 conn=dyndial RemoteAddr=47.92.4.244:30313 err=EOF
INFO [12-14|08:15:43.522] Timed out dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:15:43.523] Received task tock timeout=10s height=548761 round=0 step=RoundStepPrevote cs.height=548761
INFO [12-14|08:15:43.523] begin UpdateStateForSync height=548761
INFO [12-14|08:15:43.523] Server GetCurrentHeight height=548760
INFO [12-14|08:15:43.523] end UpdateStateForSync newHeight=548761
INFO [12-14|08:15:43.523] Received task tock End
INFO [12-14|08:15:43.523] Scheduled timeout dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:15:48.247] ValidateBody snail validate fruit error block=5878 first=546877 count=80 fruit=546877 pre=546716
ERROR[12-14|08:15:48.247]
########## BAD SNAIL BLOCK #########
Chain config: {ChainID: 18928 Engine: {MinimumDifficulty: 2000000 MinimumFruitDifficulty: 2000 DurationLimit: 600}}
Number: 5878
Hash: 0xb48066b4d3e469733c9624de01121ce3e587be5446ab2917008663c5b94560f3
Error: invalid fruits number
##############################
WARN [12-14|08:15:48.247] Synchronisation failed, dropping peer peer=7256e562a1078ea2 err="retrieved hash chain is invalid"
INFO [12-14|08:15:48.247] drop peer snail Synchronise id=7256e562a1078ea2
INFO [12-14|08:15:48.247] Removing Truechain peer peer=7256e562a1078ea2 RemoteAddr=192.144.199.133:30313
INFO [12-14|08:15:48.247] Truechain message handling failed id=7256e562a1078ea2 conn=dyndial RemoteAddr=192.144.199.133:30313 err=EOF
INFO [12-14|08:15:48.759] Peer connected success id=77047a2cd053c2b2 conn=dyndial name=Getrue/v0.9.1-unstable-d12ad566/linux-amd64/go1.10 RemoteAddr=47.92.164.30:30313
INFO [12-14|08:15:53.523] Timed out dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:15:53.523] Received task tock timeout=10s height=548761 round=0 step=RoundStepPrevote cs.height=548761
INFO [12-14|08:15:53.523] begin UpdateStateForSync height=548761
INFO [12-14|08:15:53.523] Server GetCurrentHeight height=548760
INFO [12-14|08:15:53.523] end UpdateStateForSync newHeight=548761
INFO [12-14|08:15:53.523] Received task tock End
INFO [12-14|08:15:53.523] Scheduled timeout dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:15:56.808] ValidateBody snail validate fruit error block=5878 first=546877 count=80 fruit=546877 pre=546716
ERROR[12-14|08:15:56.808]
########## BAD SNAIL BLOCK #########
Chain config: {ChainID: 18928 Engine: {MinimumDifficulty: 2000000 MinimumFruitDifficulty: 2000 DurationLimit: 600}}
Number: 5878
Hash: 0xb48066b4d3e469733c9624de01121ce3e587be5446ab2917008663c5b94560f3
Error: invalid fruits number
##############################
WARN [12-14|08:15:56.808] Synchronisation failed, dropping peer peer=77047a2cd053c2b2 err="retrieved hash chain is invalid"
INFO [12-14|08:15:56.808] drop peer snail Synchronise id=77047a2cd053c2b2
INFO [12-14|08:15:56.808] Removing Truechain peer peer=77047a2cd053c2b2 RemoteAddr=47.92.164.30:30313
INFO [12-14|08:15:56.808] Truechain message handling failed id=77047a2cd053c2b2 conn=dyndial RemoteAddr=47.92.164.30:30313 err=EOF
INFO [12-14|08:15:57.429] Peer connected success id=ac3370e61fcf5c51 conn=dyndial name=Getrue/v0.9.1-unstable-d12ad566/linux-amd64/go1.10 RemoteAddr=47.92.212.44:30313
INFO [12-14|08:15:57.479] Peer connected success id=49780796e4b91b6e conn=dyndial name=Getrue/v0.9.1-unstable-d12ad566/linux-amd64/go1.10.4 RemoteAddr=62.234.100.41:30313
INFO [12-14|08:16:00.476] ValidateBody snail validate fruit error block=5878 first=546877 count=80 fruit=546877 pre=546716
ERROR[12-14|08:16:00.476]
########## BAD SNAIL BLOCK #########
Chain config: {ChainID: 18928 Engine: {MinimumDifficulty: 2000000 MinimumFruitDifficulty: 2000 DurationLimit: 600}}
Number: 5878
Hash: 0xb48066b4d3e469733c9624de01121ce3e587be5446ab2917008663c5b94560f3
Error: invalid fruits number
##############################
WARN [12-14|08:16:00.476] Synchronisation failed, dropping peer peer=ac3370e61fcf5c51 err="retrieved hash chain is invalid"
INFO [12-14|08:16:00.476] drop peer snail Synchronise id=ac3370e61fcf5c51
INFO [12-14|08:16:00.476] Removing Truechain peer peer=ac3370e61fcf5c51 RemoteAddr=47.92.212.44:30313
INFO [12-14|08:16:00.477] Truechain message handling failed id=ac3370e61fcf5c51 conn=dyndial RemoteAddr=47.92.212.44:30313 err=EOF
INFO [12-14|08:16:03.523] Timed out dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:16:03.523] Received task tock timeout=10s height=548761 round=0 step=RoundStepPrevote cs.height=548761
INFO [12-14|08:16:03.523] begin UpdateStateForSync height=548761
INFO [12-14|08:16:03.523] Server GetCurrentHeight height=548760
INFO [12-14|08:16:03.523] end UpdateStateForSync newHeight=548761
INFO [12-14|08:16:03.523] Received task tock End
INFO [12-14|08:16:03.523] Scheduled timeout dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:16:13.523] Timed out dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:16:13.523] Received task tock timeout=10s height=548761 round=0 step=RoundStepPrevote cs.height=548761
INFO [12-14|08:16:13.524] begin UpdateStateForSync height=548761
INFO [12-14|08:16:13.524] Server GetCurrentHeight height=548760
INFO [12-14|08:16:13.524] end UpdateStateForSync newHeight=548761
INFO [12-14|08:16:13.524] Received task tock End
INFO [12-14|08:16:13.524] Scheduled timeout dur=10s height=548761 round=0 step=RoundStepPrevote
INFO [12-14|08:16:15.913] ValidateBody snail validate fruit error block=5878 first=546877 count=80 fruit=546877 pre=546716
ERROR[12-14|08:16:15.913]
########## BAD SNAIL BLOCK #########
Chain config: {ChainID: 18928 Engine: {MinimumDifficulty: 2000000 MinimumFruitDifficulty: 2000 DurationLimit: 600}}
Number: 5878
Hash: 0xb48066b4d3e469733c9624de01121ce3e587be5446ab2917008663c5b94560f3
Error: invalid fruits number
##############################
WARN [12-14|08:16:15.913] Synchronisation failed, dropping peer peer=49780796e4b91b6e err="retrieved hash chain is invalid"
INFO [12-14|08:16:15.913] drop peer snail Synchronise id=49780796e4b91b6e
INFO [12-14|08:16:15.913] Removing Truechain peer peer=49780796e4b91b6e RemoteAddr=62.234.100.41:30313
INFO [12-14|08:16:15.913] Truechain message handling failed id=49780796e4b91b6e conn=dyndial RemoteAddr=62.234.100.41:30313 err=EOF
Can refer to #47