Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: b691a222d564e222801d2136489f8758b9154a16
      
https://github.com/btcsuite/btcd/commit/b691a222d564e222801d2136489f8758b9154a16
  Author: Rune T. Aune <[email protected]>
  Date:   2015-11-15 (Sun, 15 Nov 2015)

  Changed paths:
    A txscript/data/sighash.json
    M txscript/internal_test.go
    M txscript/reference_test.go
    M txscript/script.go

  Log Message:
  -----------
  Add signature hash calculation tests from Bitcoin Core.

500 tests with various transactions and scripts, verifying that
calcSignatureHash generates the expected hash in each case.

This requires changing SigHashType to uint32; that won't affect the
standard use-cases, but will make calcSignatureHash behave more like the
Core counterpart for non-standard SigHashType settings, like those in
some of these tests.


Reply via email to