Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sipa/bitcoin
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 450d2b2371
Choose a base ref
...
head repository: sipa/bitcoin
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 865d2c37e2
Choose a head ref
  • 7 commits
  • 19 files changed
  • 2 contributors

Commits on Oct 12, 2020

  1. Add TaggedHash function (BIP 340)

    This adds the TaggedHash function as defined by BIP340 to the hash module, which
    is used in BIP340 and BIP341 to produce domain-separated hashes.
    sipa committed Oct 12, 2020
    Configuration menu
    Copy the full SHA
    9eb5908 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2020

  1. Implement Taproot signature hashing (BIP 341)

    This implements the new sighashing scheme from BIP341, with all relevant
    whole-transaction values precomputed once and cached.
    
    Includes changes to PrecomputedTransactionData by Pieter Wuille.
    jl2012 authored and sipa committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    5de246c View commit details
    Browse the repository at this point in the history
  2. Support for Schnorr signatures and integration in SignatureCheckers (…

    …BIP 340)
    
    This enables the schnorrsig module in libsecp256k1, adds the relevant types
    and functions to src/pubkey, as well as in higher-level `SignatureChecker`
    classes. The (verification side of the) BIP340 test vectors is also added.
    sipa committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    0664f5f View commit details
    Browse the repository at this point in the history
  3. Implement Taproot validation (BIP 341)

    This includes key path spending and script path spending, but not the
    Tapscript execution implementation (leaf 0xc0 remains unemcumbered in
    this commit).
    
    Includes constants for various aspects of the consensus rules suggested
    by Jeremy Rubin.
    sipa committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    8bbed4b View commit details
    Browse the repository at this point in the history
  4. Use ScriptExecutionData to pass through annex hash

    Instead of recomputing the annex hash every time a signature is verified, compute it
    once and cache it in a new ScriptExecutionData structure.
    sipa committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    330de89 View commit details
    Browse the repository at this point in the history
  5. Implement Tapscript script validation rules (BIP 342)

    This adds a new `SigVersion::TAPSCRIPT`, makes the necessary interpreter
    changes to make it implement BIP342, and uses them for leaf version 0xc0
    in Taproot script path spends.
    jl2012 authored and sipa committed Oct 13, 2020
    Configuration menu
    Copy the full SHA
    72422ce View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    865d2c3 View commit details
    Browse the repository at this point in the history
Loading