Commit graph

6 commits

Author SHA1 Message Date
Daniel Cousens
80762543e7 templates: add encode/decode* stack functions 2017-02-07 12:40:49 +11:00
Daniel Cousens
2bb021ab64 rm *PushOnly, add isPushOnly and toStack 2016-12-17 14:17:27 +11:00
Daniel Cousens
433d9f1b18 templates: push only for scriptHash inputs, fixes 2016-11-15 10:06:18 +11:00
Daniel Cousens
9db9763221 tests: add script.*.*.decode tests 2016-11-04 07:23:02 +11:00
Daniel Cousens
0c67f5e585 templates: add toJSON for clearer error message 2016-11-04 07:23:02 +11:00
Daniel Cousens
d9fa39a2cc scripts: extract all scripts to encode/decode/check style 2016-11-04 07:23:02 +11:00