bitcoinjs/bitcoinjs-lib — pull request #308 by gmajoulet (2014-10-22 12:39:59+00:00)
Title: Exposing Buffer into the browser build

We're implementing multisig scripts, the logic is split between our backend and frontend. In the frontend, we need to use the ````Buffer```` to pass a ````sighash```` to ````privKey.sign()```` directly, and not via ````transaction.sign()````. We don't have the whole transaction, just the ````sighash```` that needs to be signed, and sent back to the backend.

What do you think of exposing the Buffer like this?

Thanks