bitpay/bitcore — pull request #169 by maraoz (2014-03-18 20:03:28+00:00)
Title: add bitcoin core ScriptInterpreter valid script tests

This adds a bunch of tests from bitcoin core (and various fixes to bitcore to make them pass)

Fixes include:
- fix string to hex parser for scripts
- incorrect size for integers in scripts
- incorrect encoding for negative integers (sign+magnitude vs 2-complement)
- incorrect results to some arithmetic operations