Skip to content

test: check that sigop limit also affects ancestor/descendant size (27171 follow-up) - #27265

Merged
fanquake merged 1 commit into
bitcoin:masterfrom
theStack:202303-test-check_sigops_for_ancestordescendant_sizes
Mar 19, 2023
Merged

fanquake merged 1 commit into
bitcoin:masterfrom
theStack:202303-test-check_sigops_for_ancestordescendant_sizes

Conversation

@theStack

Copy link
Copy Markdown
Contributor

This is a follow-up to #27171, adding a check that the sigop-limit vsize logic is also respected for {ancestor,descendant}size calculation (as suggested in #27171 (review)). For simplicity, we use a one-parent-one-child cluster here and only check for the case that the sigop-limit equivalent size is larger than the serialized vsize.

@DrahtBot

DrahtBot commented Mar 15, 2023 •

Copy link
Copy Markdown
Contributor

The following sections might be updated with supplementary metadata relevant to reviewers and maintainers.

Reviews

See the guideline for information on the review process.

Type Reviewers
ACK glozow

If your review is incorrectly listed, please react with 👎 to this comment and the bot will ignore it on the next update.

@DrahtBot DrahtBot added the Tests label Mar 15, 2023
@maflcko
maflcko requested a review from glozow March 16, 2023 09:43

@glozow glozow left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code review ACK 6d24d1e, thanks for taking!

@fanquake
fanquake merged commit 0973018 into bitcoin:master Mar 19, 2023
@theStack
theStack deleted the 202303-test-check_sigops_for_ancestordescendant_sizes branch March 19, 2023 15:33
@bitcoin bitcoin locked and limited conversation to collaborators Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants