bitcoinjs/bitcoinjs-lib — pull request #210 by dcousens (2014-06-13 00:28:48+00:00)
Title: Scriptclean

This pull request refactors `Script` to maintain a `Buffer` representation internally, and separates all template functionality to a new module `scripts`.

`Script.fromChunks` is now used consistently across the entire code base for script building, and chunk parsing is also now done over `Buffer`s also.

See commits for other specific comments.