SaltedCoinsCacheHasher::operator()

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;
» more...

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

size_t
operator()(Txid const& id) const noexcept;
» more...

Return Value

  • The salted hash of the outpoint.
  • The salted hash of the transaction ID.

Parameters

NameDescription
idThe outpoint to hash.