openvcash / vcash

A decentralized currency for the internet.
https://vcash.info
GNU Affero General Public License v3.0
36 stars 35 forks source link

Kernel, check proof of stake failed, read tx previous failed. #43

Open whphhg opened 6 years ago

whphhg commented 6 years ago

After making the fresh sync due to #42 I keep getting the error spam below on every restart.

[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[INFO] - send_getdata_message: TCP connection 4276798864 is sending getdata, count = 1, type = 2
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.

Edit: Looks like it's coming from [INFO] - ban_address: Network is banning address 51.255.x.x, for 24 hours. since it gets banned and then the spam stops.

sum01 commented 6 years ago

Is this still an issue, or was it just spam from a bad IP? If the latter, that could probably be worded better and be made to not log as an error.

whphhg commented 6 years ago

I've tried to find it in the debug.log using cat debug.log | grep "check_proof_of_stake" but there were no results. I guess you're correct and it was only spam from a bad IP.

sum01 commented 6 years ago

Closing then.

sum01 commented 6 years ago

Actually, I'll re-open as a reminder to change the error wording...

whphhg commented 6 years ago

I've received some more a few minutes ago after syncing finished.

[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[INFO] - send_getdata_message: TCP connection 3605809623 is sending getdata, count = 1, type = 2
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[INFO] - send_getdata_message: TCP connection 3605809623 is sending getdata, count = 1, type = 2
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[INFO] - send_getdata_message: TCP connection 3605809623 is sending getdata, count = 1, type = 2
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[INFO] - send_getdata_message: TCP connection 3605809623 is sending getdata, count = 1, type = 2
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[INFO] - send_getdata_message: TCP connection 3605809623 is sending getdata, count = 1, type = 2
[ERROR] - check_proof_of_stake: Kernel, check proof of stake failed, read tx previous failed.
[INFO] - send_getdata_message: TCP connection 3605809623 is sending getdata, count = 1, type = 2
[INFO] - tick: Address manager probed 6 endpoints.
sum01 commented 6 years ago

I assume it will end once your new sync bans the spamming IP's.