Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: 927a0e9c37d1c71c9d8b072d83dae67d908cb99f
      
https://github.com/btcsuite/btcd/commit/927a0e9c37d1c71c9d8b072d83dae67d908cb99f
  Author: Dave Collins <[email protected]>
  Date:   2015-05-04 (Mon, 04 May 2015)

  Changed paths:
    M txscript/engine_test.go
    M txscript/internal_test.go
    M txscript/reference_test.go
    M txscript/script_test.go
    M txscript/scriptbuilder_test.go
    M txscript/sign_test.go
    M txscript/stack_test.go
    M txscript/standard.go
    M txscript/standard_test.go

  Log Message:
  -----------
  txscript: Test consistency and cleanup.

- Move reference tests to test package since they are intended to
  exercise the engine as callers would
- Improve the short form script parsing to allow additional opcodes:
  DATA_#, OP_#, FALSE, TRUE
- Make use of a function to decode hex strings rather than manually
  defining byte slices
- Update the tests to make use of the short form script parsing logic
  rather than manually defining byte slices
- Consistently replace all []byte{} and [][]byte{} with nil
- Define tests only used in a specific function inside that func
- Move invalid flag combination test to engine_test since that is what
  it is testing
- Remove all redundant script tests in favor of the JSON-based tests in
  the data directory.
- Move several functions from internal_test.go to the test files
  associated with what the tests are checking


Reply via email to