[#ToGenTxid]
= ToGenTxid
:mrdocs:

Convert a TX&sol;WITNESS&lowbar;TX&sol;WTX CInv to a GenTxid&period;

== Synopsis

Declared in `&lt;protocol&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:GenTxid.adoc[GenTxid]
ToGenTxid(xref:CInv.adoc[CInv] const& inv);
----

== Return Value

The generalized transaction id for `inv`&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *inv*
| Inventory entry referring to a transaction&period;
|===


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