Function call operators

Synopses

Declared in <coins.h>

Hash an outpoint as its txid jumbo block followed by the zero‐extended index as one normal block.

size_t
operator()(COutPoint const& id) const noexcept;

Hash a transaction ID, itself a cryptographic hash, as one jumbo block.

size_t
operator()(Txid const& id) const noexcept;

Return Value

  • The salted hash of the outpoint.

  • The salted hash of the transaction ID.

Parameters

Name

Description

id

The outpoint to hash.

Created with MrDocs