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-1087] remove the ANALYZE_SPENDS flag #718

Merged
merged 1 commit into from
Sep 23, 2024
Merged

[CHIA-1087] remove the ANALYZE_SPENDS flag #718

merged 1 commit into from
Sep 23, 2024

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Sep 23, 2024

now that the mempool TX validation path has been separated from the block validation, we can remove the ANALYZE_SPENDS flag. It's implied for validate_clvm_and_signature().
This, further, lets us remove the SpendVisitor generic parameter to run_block_generator() and run_block_generator2().

With this PR Chia-Network/chia-blockchain#18557 we have separated the mempool TX validation path from the block validation path. This is why we can now further simplify the block validation path.

…lock validation, we can remove the ANALYZE_SPENDS flag. It's implied for validate_clvm_and_signature()
@arvidn arvidn marked this pull request as ready for review September 23, 2024 12:45
Copy link

Pull Request Test Coverage Report for Build 10994391298

Details

  • 7 of 7 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.02%) to 83.303%

Totals Coverage Status
Change from base Build 10992093210: 0.02%
Covered Lines: 12378
Relevant Lines: 14859

💛 - Coveralls

@arvidn arvidn requested a review from AmineKhaldi September 23, 2024 14:45
@arvidn arvidn merged commit 0322f59 into main Sep 23, 2024
60 checks passed
@arvidn arvidn deleted the analyze-spends branch September 23, 2024 15:16
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

Successfully merging this pull request may close these issues.

3 participants