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

Handle malformed transactions #4

Open
jbearer opened this issue Aug 28, 2023 · 0 comments
Open

Handle malformed transactions #4

jbearer opened this issue Aug 28, 2023 · 0 comments

Comments

@jbearer
Copy link
Member

jbearer commented Aug 28, 2023

#2 will handle transactions which are invalid due to consensus rules (bad signature, wrong nonce, etc). The mechanism is general enough to handle fully malformed transactions as well, since Block.rejected holds []byte and not types.Transaction. We should hook up the transaction unmarshalling in the API handlers to the population of the rejected field.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant