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

add support for ASSERT_CONCURRENT_PUZZLE #134

Merged
merged 1 commit into from
Feb 1, 2023
Merged

Conversation

arvidn
Copy link
Contributor

@arvidn arvidn commented Feb 1, 2023

This patch adds a new (optional) condition code; ASSERT_CONCURRENT_PUZZLE. It ensures that one of the coins being spent in the spend bundle/block has the specified puzzle hash.

This condition is also enabled by the ENABLE_ASSERT_BEFORE flag, since it will be part of the same soft-fork.

This patch also enables these new conditions (conditioned by ENABLE_ASSERT_BEFORE) in the fuzzers, to include them in the coverage.

@arvidn arvidn requested a review from richardkiss February 1, 2023 00:07
@arvidn arvidn marked this pull request as ready for review February 1, 2023 00:48
@arvidn arvidn force-pushed the assert-concurrent-puzzle branch from 597ace8 to 94cfc7d Compare February 1, 2023 14:16
@arvidn arvidn merged commit 6db5e35 into main Feb 1, 2023
@arvidn arvidn deleted the assert-concurrent-puzzle branch February 1, 2023 21:19
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.

2 participants