Branch: refs/heads/master
Home: https://github.com/btcsuite/btcd
Commit: 711f33450c907d78324debe7de2d7a9e31a408a2
https://github.com/btcsuite/btcd/commit/711f33450c907d78324debe7de2d7a9e31a408a2
Author: Dave Collins <[email protected]>
Date: 2016-08-08 (Mon, 08 Aug 2016)
Changed paths:
A chaincfg/chainhash/README.md
A chaincfg/chainhash/doc.go
A chaincfg/chainhash/hash.go
A chaincfg/chainhash/hash_test.go
A chaincfg/chainhash/hashfuncs.go
A chaincfg/chainhash/hashfuncs_test.go
Log Message:
-----------
chainhash: Implement a new chainhash package. (#730)
This is a backport of the chainhash package made in Decred along with a
few additional things cleaned up, finished test coverage, and rewording
of some documentation to make it more generic.
In particular, the new package provides the definition of the hash type
and associated hashing functions which will allow the rest of the code to be
agnostic to the specific hash algorithm.
This only implements the package and does not change any of the code
base over to use it.