Skip to content

Conversation

@darosior
Copy link
Contributor

This only returned the satisfaction stack size, but we need to push the
actual script first.

This only returned the satisfaction stack size, but we need to push the
actual script first.

Signed-off-by: Antoine Poinsot <[email protected]>
@sipa
Copy link
Owner

sipa commented Sep 27, 2021

ACK e2defc0

@sipa sipa merged commit 7d9e79d into sipa:master Sep 27, 2021
sipa added a commit that referenced this pull request Sep 28, 2021
5654e8c test: update stack size tests after GetStackSize() fix (Antoine Poinsot)

Pull request description:

  I forgot to update the tests in #73

ACKs for top commit:
  sipa:
    ACK 5654e8c

Tree-SHA512: 9139dd3e69a9e9e3250ac76bf5cd599172c4d272c24ae9959f5aec9fcc953c6e6c4e90cac750cda432c71764c373a01188fe1a7013d91b416fcad06e367f5139
@sanket1729
Copy link
Contributor

sanket1729 commented Sep 28, 2021

I think we need to revert this commit(and the corresponding commit that fixes the tests). The Script itself is not included in the Stack size check.
See:

https://github.com/bitcoin/bitcoin/blob/6a5381a06b0b9b4490394e42a8e3bc284601a4af/src/policy/policy.cpp#L238-L239

@darosior
Copy link
Contributor Author

darosior commented Sep 29, 2021 via email

@darosior darosior deleted the stacksize_witscript_push branch September 29, 2021 07:18
@darosior
Copy link
Contributor Author

Done in #77

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