tx_valid tests passing!
This commit is contained in:
parent
b3be9461cf
commit
cd00b3ebe5
@ -162,7 +162,6 @@ ScriptInterpreter.prototype.checkPubkeyEncoding = function(buf) {
|
|||||||
* bitcoind commit: b5d1b1092998bc95313856d535c632ea5a8f9104
|
* bitcoind commit: b5d1b1092998bc95313856d535c632ea5a8f9104
|
||||||
*/
|
*/
|
||||||
ScriptInterpreter.prototype.evaluate = function() {
|
ScriptInterpreter.prototype.evaluate = function() {
|
||||||
console.log(this.script.toString());
|
|
||||||
if (this.script.toBuffer().length > 10000) {
|
if (this.script.toBuffer().length > 10000) {
|
||||||
this.errstr = 'SCRIPT_ERR_SCRIPT_SIZE';
|
this.errstr = 'SCRIPT_ERR_SCRIPT_SIZE';
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
@ -222,7 +222,7 @@ describe('ScriptInterpreter', function() {
|
|||||||
testAllFixtures(script_invalid, false);
|
testAllFixtures(script_invalid, false);
|
||||||
|
|
||||||
});
|
});
|
||||||
describe.only('bitcoind transaction evaluation fixtures', function() {
|
describe('bitcoind transaction evaluation fixtures', function() {
|
||||||
var c = 0;
|
var c = 0;
|
||||||
tx_valid.forEach(function(vector) {
|
tx_valid.forEach(function(vector) {
|
||||||
if (vector.length === 1) {
|
if (vector.length === 1) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user