bitcoinjs/bitcoinjs-lib — pull request #305 by dcousens (2014-10-22 06:46:45+00:00)
Title: Addr300

This is a `3.0.0` PR.

Mostly looking for feedback on the naming and structure behind the `bitcoin.address.[decode/encode]` use cases.

I included the network search inside `decode` rather than in `toOutputScript` because it is very useful to be able to check whether a particular address is on the same network as yourself when verifying it.