-
Notifications
You must be signed in to change notification settings - Fork 113
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
Validate mempool-specific transaction consensus rules #2707
Comments
I added ZIP-401 to the specs section, added this ticket to the tracking issue, and tweaked the name so it made sense in the tracking issue. |
Hey team! Please add your planning poker estimate with ZenHub @conradoplg @dconnolly @jvff @oxarbitrage @upbqdn |
Quoting @teor2345 from a source external to github:
Anything that we are not validating is therefore an "undocumented mempool transaction validation rule" and as such I will close this issue for now. If we do find any undocumented mempool transaction validation rules we should open a separate issue for each rule that we find. |
Just for the record, the Bitcoin and For Zebra, we decided on an alternative implementation:
|
Motivation
Transactions must be validated before being added to the mempool. In #2679 we just call the existing transaction verifier. The only specific check added there is to make sure there aren't coinbased inputs if it's a mempool transaction.
However, there may be other mempool-specific rules that we need to enforce. We should review which of them are already being checked and implement any rules missing, if any.
Specifications
There isn't any official specification for mempool-specific rules, but https://en.bitcoin.it/wiki/Protocol_rules#.22tx.22_messages seems to be a good reference. It may be also helpful to check what
zcashd
does.ZIP 401: Addressing Mempool Denial-of-Service might have some useful rules, but it's
zcashd
-specific.Designs
Related Work
Follow up to #2679
The text was updated successfully, but these errors were encountered: