Branch: refs/heads/master
  Home:   https://github.com/btcsuite/btcutil
  Commit: 22c91fa80a5e90e3feda26cf6d43adc249306188
      
https://github.com/btcsuite/btcutil/commit/22c91fa80a5e90e3feda26cf6d43adc249306188
  Author: Dave Collins <[email protected]>
  Date:   2016-08-08 (Mon, 08 Aug 2016)

  Changed paths:
    M block.go
    M block_test.go
    M bloom/example_test.go
    M bloom/filter.go
    M bloom/filter_test.go
    M bloom/merkleblock.go
    M bloom/merkleblock_test.go
    M coinset/coins.go
    M coinset/coins_test.go
    M hdkeychain/extendedkey.go
    M tx.go
    M tx_test.go
    M txsort/txsort.go
    M txsort/txsort_test.go
    M wif.go

  Log Message:
  -----------
  Update for recent chainhash-related API changes. (#78)

This updates all code in the main package and subpackages to make use of
the new chainhash package since the old wire.ShaHash type and functions
have been removed in favor of the abstracted package.

Also, since this required API changes anyways and the hash algorithm is
no longer tied specifically to SHA, all other functions throughout the
code base which had "Sha" in their name have been changed to Hash so
they are not incorrectly implying the hash algorithm.

The following is an overview of the changes:

- Update all references to wire.ShaHash to the new chainhash.Hash type
- Rename the following functions and update all references:
  - Block.Sha -> Hash
  - Block.TxSha -> TxHash
  - Tx.Sha -> Hash
  - bloom.Filter.AddShaHash -> AddHash
- Rename all variables that included sha in their name to include hash
  instead
- Add license headers to coinset package files


Reply via email to