kowala-tech / kcoin

A stable cryptocurrency that algorithmically targets $1 USD using the Kowala Protocol
https://www.kowala.tech/
Other
18 stars 16 forks source link

Docker image not resuming when stopped. #789

Open jgimeno opened 5 years ago

jgimeno commented 5 years ago

Type:

Looks like for some reason an active node, if stopped cannot resume.

If it's an issue, how can we reproduce it?:

Run the docker image and let it sync, once sync stop it. And start it again and check logs.

Affected servers or services:

At least testnet

Priority:

Medium

Other info we may need:


##############################

WARN [09-25|18:01:04.291] Synchronisation failed, dropping peer    peer=dc8080419ade6ac1 err="retrieved hash chain is invalid"
ERROR[09-25|18:01:05.550] insert chain error while bc.engine.VerifyHeaders of a block err="pruned ancestor"
ERROR[09-25|18:01:05.551]
########## BAD BLOCK #########
Chain config: {ChainID: 2 Engine: konsensus}

Number: 925707
Hash: 0x3b55454dcd4b42d1b70babbaedb80e987c34fb147e1c803dd7499ffafab90ead
[EMPTY RECEIPTS]```
JekaMas commented 5 years ago

This is caused by inconsistent state after reorg panic. As far as https://github.com/kowala-tech/kcoin/pull/788 is merged, could you recheck full sync on currect dev branch?

@jgimeno @adamking