Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcd
  Commit: d6f2b092c0e45f004dd2c5e121c414263c71bea4
      
https://github.com/btcsuite/btcd/commit/d6f2b092c0e45f004dd2c5e121c414263c71bea4
  Author: Dave Collins <[email protected]>
  Date:   2015-04-21 (Tue, 21 Apr 2015)

  Changed paths:
    M txscript/opcode.go
    M txscript/opcode_test.go

  Log Message:
  -----------
  txscript: Define opcodes in hex and sync BC opcodes.

This commit modifies the definition of the opcodes to their hex
counterparts rather than decimal since it is far more common to see
scripts in hex.  This makes it easier when manually looking at script
dumps to correlate opcodes.  However, since there are also cases where it
is useful to see the decimal value of the opcode, the decimal value has
been left as a comment.  Obviously converting the numbers is trivial, but
it is handy when looking at the opcode definitions to already have it
there.

In addition, it syncs the opcodes with the latest Bitcoin Core internal
opcodes for completeness and modifies the tests accordingly.


Reply via email to