CBlockHeaderAndShortTxIDs::GetShortID

Computes the short ID for a transaction from its witness hash.

Synopsis

Declared in <blockencodings.h>

uint64_t
GetShortID(Wtxid const& wtxid) const;

Return Value

The truncated short transaction id.

Parameters

NameDescription
wtxidThe witness transaction id to hash.