Branch: refs/heads/master
Home: https://github.com/conformal/btcutil
Commit: d7ea478de280ef91a373d876ccb24a7871efccf3
https://github.com/conformal/btcutil/commit/d7ea478de280ef91a373d876ccb24a7871efccf3
Author: Dave Collins <[email protected]>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M addrconvs.go
M addrconvs_test.go
Log Message:
-----------
Remove deprecated address functions.
This commit removes the deprecated address functions which have been
replaced by the Address interface and concrete implementations.
Commit: 1c82527b3d43e2f968ccd4c4f4451e6c14b9aa6f
https://github.com/conformal/btcutil/commit/1c82527b3d43e2f968ccd4c4f4451e6c14b9aa6f
Author: Dave Collins <[email protected]>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
R addrconvs.go
R addrconvs_test.go
M address.go
M address_test.go
Log Message:
-----------
Consolidate remaining addrconvs.go to address.go.
Since all of the deprecated address conversion functions have been
removed, consolidate the remaining private key funcs and tests into
address.go and address_test.go, repectively.
Commit: 53483d084397af64c679f1a92eb5ed945e9298e5
https://github.com/conformal/btcutil/commit/53483d084397af64c679f1a92eb5ed945e9298e5
Author: Dave Collins <[email protected]>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M address.go
M address_test.go
Log Message:
-----------
Rename DecodeAddr to DecodeAddress.
Now that the deprecated DecodeAddress has been removed, rename DecodeAddr
to DecodeAddress and remove the comment which warned this change was
coming.
Commit: 60d4bed78fffbf8d6ba94d5391b5b48249144cb7
https://github.com/conformal/btcutil/commit/60d4bed78fffbf8d6ba94d5391b5b48249144cb7
Author: Dave Collins <[email protected]>
Date: 2014-03-18 (Tue, 18 Mar 2014)
Changed paths:
M address.go
M address_test.go
M test_coverage.txt
Log Message:
-----------
Modify DecodeAddress to accept serialized pubkeys.
This commit modifies DecodeAddress to accept and decode pay-to-pubkey
addresses (raw serialized public keys). Since the resulting Address
needs to have a network associated with it, and a raw serialized public
key does not encode the network with it, a new parameter has been added
which requires the caller to specify a default network to use when
decoding addresses.
In the case the address has a network encoded with it such as for
pay-to-pubkey-hash and pay-to-script-hash addresses, the network will be
decoded from the address and the resulting Address instance will have that
network associated with it. When the address does NOT have a network
encoded with it, such as a pay-to-pubkey address, the provided default
network will be associated with the returned Address instance.
Also, the tests have been updated to test the new functionality.
ok @owainga and @jrick.
Compare:
https://github.com/conformal/btcutil/compare/e0ce78888195...60d4bed78fff