Skip to content

v3.0.0

Choose a tag to compare

@MatthewLM MatthewLM released this 08 Mar 16:43
· 75 commits to master since this release

This release adds support for ANYPREVOUT and ANYPREVOUTANYSCRIPT. There have been numerous breaking changes.

  • Refactored SigHashType to use OutputSigHashOption and InputSigHashOption. Adds ANYPREVOUT and ANYPREVOUTANYSCRIPT.
  • Add TapLeafChecksig for single signature checksig tapscripts
  • Add TaprootSingleScriptSigInput to sign tapscripts using TapLeafChecksig. Can sign using ANYPREVOUT and ANYPREVOUTANYSCRIPT.
  • Replaced sign() with signLegacy(), signLegacyWitness(), signTaproot() and signTaprootSingleScriptSig().
  • Added SignDetails with numerous subclasses for providing signing details for inputs. SignatureHasher subclasses and Input sign methods refactored accordingly.
  • Taproot signatures are made using SIGHASH_DEFAULT by default.