Module grin_core::core::hash

source ·
Expand description

Hash Function

Primary hash function used in the protocol

Structs§

  • A hash to uniquely (or close enough) identify one of the main blockchain constructs. Used pervasively for blocks, transactions and outputs.
  • Serializer that outputs a hash of the serialized object

Constants§

  • A hash consisting of all zeroes, used as a sentinel. No known preimage.

Traits§

  • Implementing this trait enables the default hash implementation
  • A trait for types that have a canonical hash