[#GetPackageHash]
= GetPackageHash
:mrdocs:

Get the hash of the concatenated wtxids of transactions, with wtxids treated as a little&hyphen;endian numbers and sorted in ascending numeric order&period;

== Synopsis

Declared in `&lt;policy&sol;packages&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:uint256.adoc[uint256]
GetPackageHash(std::vector&lt;CTransactionRef&gt; const& transactions);
----

== Return Value

The hash identifying the package&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *transactions*
| Transactions whose sorted wtxids are hashed together&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
