Module handshakes::hashes[][src]

Expand description

This module holds MarkedDigest types used by Handshake transactions. Currently we represent only TXIDs and WTXIDs. In the future we may also represent sighash digests this way. It also holds a blake2b160 wrapper function.

Structs

Blake2b256Digest

An unmarked Blake2b256 digest output

TXID

A marked Blake2b256 representing transaction IDs

WTXID

A marked Blake2b256 representing witness transaction IDs

Functions

blake2b160

Hash data with blake2b160

Type Definitions

Blake2b160Digest

A Handshake Blake2b160Digest