@ -1,4 +1,4 @@
var ops = {
module.exports = {
// push value
OP_0 : 0,
OP_FALSE : 0,
@ -136,15 +136,3 @@ var ops = {
OP_PUBKEY : 254,
OP_INVALIDOPCODE : 255
}
var reverse = []
for (var op in ops) {
var code = ops[code]
reverse[code] = op
map: ops,
reverseMap: reverse
@ -1,6 +1,6 @@
var assert = require('assert')
var crypto = require('./crypto')
var opcodes = require('./opcode').map
var opcodes = require('./opcode')
function Script(data) {
data = data || []