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

Receiving newly generated block while downloading blockchain causes error #23

Open
miguelfreitas opened this issue Jan 1, 2014 · 0 comments

Comments

@miguelfreitas
Copy link
Owner

If during blockchain downloading a newly generated block is received it causes an error like that:

received block c84ded9d8c28a8471603e710d67264247083eb9965cff6912c01a14a1394750d
ERROR: CheckTransaction() : spam signed by unknown user
ERROR: CheckBlock() : CheckTransaction failed
ERROR: ProcessBlock() : CheckBlock FAILED
Misbehaving: 75.101.62.225:28333 (0 -> 100) DISCONNECTING
disconnecting node 75.101.62.225:28333

The node is not misbehaving. The block is valid. It is just that the user signing is not yet known.

Before validating the block against this spam transaction rule we must check height or current blockchain status to prevent this error.

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