Module digibyte::hash_types[][src]

File defines types for hashes used throughout the library. These types are needed in order to avoid mixing data of the same hash format (like SHA256d) but of different meaning (transaction id, block hash etc).

Structs

BlockHash

A digibyte block hash.

FilterHash

Filter hash, as defined in BIP-157

FilterHeader

Filter header, as defined in BIP-157

PubkeyHash

A hash of a public key.

ScriptHash

A hash of digibyte Script bytecode.

SigHash

Hash of the transaction according to the signature algorithm

TxMerkleNode

A hash of the Merkle tree branch or root for transactions

Txid

A digibyte transaction hash/transaction ID.

WPubkeyHash

SegWit version of a public key hash.

WScriptHash

SegWit version of a digibyte Script bytecode hash.

WitnessCommitment

A hash corresponding to the witness structure commitment in the coinbase transaction

WitnessMerkleNode

A hash corresponding to the Merkle tree root for witness data

Wtxid

A digibyte witness transaction ID.

XpubIdentifier

XpubIdentifier as defined in BIP-32.