Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: 761381066d436945289666cc5f4f3aa75760c7ee
      
https://github.com/btcsuite/btcd/commit/761381066d436945289666cc5f4f3aa75760c7ee
  Author: David Hill <[email protected]>
  Date:   2015-02-12 (Thu, 12 Feb 2015)

  Changed paths:
    M btcec/pubkey_test.go
    M txscript/data/script_invalid.json
    M txscript/data/script_valid.json
    M txscript/data/tx_invalid.json
    M txscript/data/tx_valid.json
    M txscript/internal_test.go
    M txscript/opcode.go
    M txscript/script.go

  Log Message:
  -----------
  txscript: Add new verification flags.

This commit adds two new verification flags to txscript named
ScriptVerifyStrictEncoding and ScriptVerifyDerSignatures.

The ScriptVerifyStrictEncoding flag enforces signature scripts
and public keys to follow the strict encoding requirements.

The ScriptVerifyDerSignatures flag enforces signature scripts
to follow the strict encoding requirements.

These flags mimic Bitcoin Core's SCRIPT_VERIFY_STRICTENC and
SCRIPT_VERIFY_DERSIG flags and brings the Bitcoin Core test scripts up
to date.


Reply via email to