GetPackageHash

Get the hash of the concatenated wtxids of transactions, with wtxids treated as a little-endian numbers and sorted in ascending numeric order.

Synopsis

Declared in <policy/packages.h>

uint256
GetPackageHash(std::vector<CTransactionRef> const& transactions);

Return Value

The hash identifying the package.

Parameters

NameDescription
transactionsTransactions whose sorted wtxids are hashed together.