fcoin/lib/script
Christopher Jeffrey 5fae0c50a1
script: enforce stack size on unexecuted branches.
This primarily only affects zero-length scripts. An input script which pushed
this many items onto the stack without failing _is not possible_, but with
segwit, it is possible. However, a witness program would fail due to cleanstack
before there would be any kind of consensus fault. In other words, without this
fix, we still remain in consensus with bitcoin core, but ideally we should want
to fail for the same reason.
2017-08-25 08:08:47 -07:00
..
common.js script: refactor script and stack mutation. 2017-08-24 17:34:20 -07:00
index.js script: refactor script and stack mutation. 2017-08-24 17:34:20 -07:00
opcode.js opcode: fix uncatchable error on .equals(). 2017-08-24 22:24:39 -07:00
program.js validation: use stricter validation for ints. 2017-08-06 14:43:22 -07:00
script.js script: enforce stack size on unexecuted branches. 2017-08-25 08:08:47 -07:00
scripterror.js script: refactor script and stack mutation. 2017-08-24 17:34:20 -07:00
scriptnum.js script: refactor script and stack mutation. 2017-08-24 17:34:20 -07:00
sigcache.js primitives: use equals instead of equal for consistency. 2017-08-09 15:25:01 -07:00
stack.js script: refactor script and stack mutation. 2017-08-24 17:34:20 -07:00
witness.js script: refactor script and stack mutation. 2017-08-24 17:34:20 -07:00