Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bad Snail Block - invalid fruits number #39

Open
hyangl opened this issue Dec 15, 2018 · 1 comment
Open

Bad Snail Block - invalid fruits number #39

hyangl opened this issue Dec 15, 2018 · 1 comment

Comments

@hyangl
Copy link
Collaborator

hyangl commented Dec 15, 2018

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
@hyangl hyangl pinned this issue Dec 15, 2018
@hyangl hyangl unpinned this issue Dec 15, 2018
@hyangl hyangl added this to the 0.9.6 milestone Dec 23, 2018
@hyangl
Copy link
Collaborator Author

hyangl commented Dec 29, 2018

Can refer to #47

@hyangl hyangl modified the milestones: 0.9.6, 0.9.7 Jan 4, 2019
@hyangl hyangl removed this from the 0.9.7 milestone Jan 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant