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

txscript: add taproot script type #1768

Closed
wants to merge 4 commits into from

Commits on Nov 21, 2021

  1. add taproot script type

    Add the WitnessV1TaprootTy script class and return it from GetScriptClass
    / typeOfScript.
    
    Fix ComputePkScript, which was returning incorrect results for taproot
    (an probably other) scripts. ComputePkScript is now essentially useless
    for both v0 and v1 output witnesses.
    
    Bump the btcutil dep to leverage new taproot address type.
    buck54321 committed Nov 21, 2021
    Configuration menu
    Copy the full SHA
    890bab9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3316b84 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6708834 View commit details
    Browse the repository at this point in the history

Commits on Nov 23, 2021

  1. PayToAddrScript too

    Add taproot address handling in PayToAddrScript. Adds a test and
    also some missing tests for p2wsh and p2wpkh addresses.
    buck54321 committed Nov 23, 2021
    Configuration menu
    Copy the full SHA
    4fafad4 View commit details
    Browse the repository at this point in the history