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

CHIA-1465 Simplify double spend validation in validate_block_body #18628

Conversation

AmineKhaldi
Copy link
Contributor

Purpose:

We only need to check the values. The keys are not needed.

Current Behavior:

We iterate through key value pairs in order to check for duplicate spends inside a block.

New Behavior:

We iterate through values in order to do that duplicate spends check.

@AmineKhaldi AmineKhaldi added Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Cleanup Code cleanup labels Sep 24, 2024
@AmineKhaldi AmineKhaldi self-assigned this Sep 24, 2024
@AmineKhaldi AmineKhaldi marked this pull request as ready for review September 25, 2024 11:14
@AmineKhaldi AmineKhaldi requested a review from a team as a code owner September 25, 2024 11:14
@pmaslana pmaslana merged commit 4383b6f into Chia-Network:main Sep 26, 2024
371 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changed Required label for PR that categorizes merge commit message as "Changed" for changelog Cleanup Code cleanup
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants