-
Notifications
You must be signed in to change notification settings - Fork 2.1k
CHIA-2900 Fast forward mempool optimization #19713
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
CHIA-2900 Fast forward mempool optimization #19713
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have a plan for how to handle coins created before this change too
This pull request has conflicts, please resolve those before we can evaluate the pull request. |
eba747d
to
b63b4f2
Compare
Conflicts have been resolved. A maintainer will review the pull request shortly. |
b63b4f2
to
3d2a631
Compare
3d2a631
to
8439a25
Compare
I don't expect that checking amount being odd is important. That's not going to bring a material speed-up (if one at a ll), right? |
8439a25
to
c739fd0
Compare
c739fd0
to
1383094
Compare
Pull Request Test Coverage Report for Build 16166185982Details
💛 - Coveralls |
Purpose:
Introduce a new state for the
spent_index
column in thecoin_record
table to track unspent coins that have the same puzzle hash and amount as their parents.Current Behavior:
spent_index = 0
means a coin is unspent.New Behavior:
spent_index = 0
means a regular coin is unspent, andspent_index = -1
means this unspent coin has the same puzzle hash and amount as its parent.