Skip to content

Conversation

reardencode
Copy link

@reardencode reardencode commented Jan 18, 2024

This pull request forks from #29198 and includes only OP_CHECKSIGFROMSTACK(VERIFY) and their tests.

@DrahtBot
Copy link
Contributor

DrahtBot commented Jan 18, 2024

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

Code Coverage & Benchmarks

For details see: https://corecheck.dev/bitcoin/bitcoin/pulls/29270.

Reviews

See the guideline for information on the review process.

Type Reviewers
Concept ACK moonsettler

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

Conflicts

Reviewers, this pull request conflicts with the following ones:

  • #31519 (refactor: Use std::span over Span by maflcko)
  • #29269 (Add OP_INTERNALKEY for Tapscript by reardencode)
  • #29247 (CAT in Tapscript (BIP-347) by 0xBEEFCAF3)

If you consider this pull request important, please also help to review the conflicting pull requests. Ideally, start with the one that should be merged first.

@moonsettler
Copy link

Concept ACK!

@reardencode reardencode force-pushed the csfs-master branch 2 times, most recently from 998489a to 9ddaa2c Compare April 25, 2024 04:42
Some code and ideas from Elements by stevenroose, and sanket1729
Porting help from moonsettler

Tests added to the transaction tests framework.
@fanquake
Copy link
Member

Closing for now, given #29198 was closed.

@fanquake fanquake closed this Feb 20, 2025
@1440000bytes

This comment was marked as abuse.

return set_error(serror, SCRIPT_ERR_PUBKEYTYPE);
} else if (pubkey_in.size() == 32) {
if (!success) return true;
if (sig.size() != 64) return set_error(serror, SCRIPT_ERR_SCHNORR_SIG_SIZE);

This comment was marked as abuse.

Choose a reason for hiding this comment

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

There is nothing wrong with named constants when a value is reused a lot and can change in the future. But they don't really make the code more readeable in most cases.

@reardencode
Copy link
Author

@fanquake please reopen this PR.

I've rebased on master and ensured that tests pass locally.

#29198 was closed because this (and other PRs I opened subsequently) superseded it by splitting its contents up into smaller units.

@fanquake
Copy link
Member

fanquake commented Mar 7, 2025

@reardencode It's no-longer possible to re-open:

reopen

You'll need to open a new PR.

@darosior
Copy link
Member

@reardencode could you start by getting it merged and deployed on inquisition first? I'm not sure how another PR to Core for this would be useful at this point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants