[#TxGraph-UpdateRef]
= xref:TxGraph.adoc[TxGraph]::UpdateRef
:relfileprefix: ../
:mrdocs:

Inform the TxGraph implementation that a TxGraph&colon;&colon;Ref has moved&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
virtual
void
UpdateRef(
    xref:TxGraph/GraphIndex.adoc[GraphIndex] index,
    xref:TxGraph/Ref.adoc[Ref]& new&lowbar;location) noexcept = 0;
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *index*
| Internal index of the transaction whose Ref moved&period;
| *new&lowbar;location*
| The Ref&apos;s new location&period;
|===


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