# README
chainhash
chainhash provides a generic hash type and associated functions that allows the specific hash algorithm to be abstracted.
Installation and Updating
$ go get -u github.com/p9c/pod/chaincfg/chainhash
License
Package chainhash is licensed under the copyfree ISC License.
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Decode decodes the byte-reversed hexadecimal string encoding of a Hash to a destination.
DoubleHashB calculates hash(hash(b)) and returns the resulting bytes.
DoubleHashH calculates hash(hash(b)) and returns the resulting bytes as a Hash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
HashB calculates hash(b) and returns the resulting bytes.
HashH calculates hash(b) and returns the resulting bytes as a Hash.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewHash returns a new Hash from a byte slice.
NewHashFromStr creates a Hash from a hash string.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Constants
HashSize of array used to store hashes.
MaxHashStringSize is the maximum length of a Hash hash string.
# Variables
ErrHashStrSize describes an error that indicates the caller specified a hash string that has too many characters.
# Type aliases
Hash is used in several of the bitcoin messages and common structures.