Branch: refs/heads/master
  Home:   https://github.com/conformal/btcutil
  Commit: 5bcc7790a003c98198fe6eb256683ef939e226b4
      
https://github.com/conformal/btcutil/commit/5bcc7790a003c98198fe6eb256683ef939e226b4
  Author: Josh Rickmar <[email protected]>
  Date:   2014-05-27 (Tue, 27 May 2014)

  Changed paths:
    M address.go
    M address_test.go
    M internal_test.go
    M test_coverage.txt
    M wif.go
    M wif_test.go

  Log Message:
  -----------
  Update Address and WIF APIs to use btcnet.

This change removes all occurances of btcwire.BitcoinNet from exported
APIs, replacing each with *btcnet.Params.  This simplifies the logic
for verifying string encodings of addresses and WIF private keys which
use leading identifier numbers to differentiate between address types
and the network they are intended for.  It also allows the use of this
package for non-standard networks (not mainnet, regtest, or testnet3)
and future proofs it for the possible addition of future testnet
networks.

To update across this change, replace each btcwire.BitcoinNet
parameter with the associated *btcnet.Params.  For the standard
networks, these changes are:

  btcwire.MainNet  -> &btcnet.MainNetParams
  btcwire.TestNet  -> &btcnet.RegressionNetParams
  btcwire.TestNet3 -> &btcnet.TestNet3Params

ok @davecgh


Reply via email to