[#TxReconciliationTracker-PreRegisterPeer]
= xref:TxReconciliationTracker.adoc[TxReconciliationTracker]::PreRegisterPeer
:relfileprefix: ../
:mrdocs:

Step 0&period; Generates initial part of the state (salt) required to reconcile txs with the peer&period; The salt is used for short ID computation required for txreconciliation&period; The function returns the salt&period; A peer can&apos;t participate in future txreconciliations without this call&period; This function must be called only once per peer&period;

== Synopsis

Declared in `&lt;node&sol;txreconciliation&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
uint64&lowbar;t
PreRegisterPeer(xref:NodeId-08.adoc[NodeId] peer&lowbar;id);
----

== Return Value

The locally generated salt for short&hyphen;ID computation with this peer&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *peer&lowbar;id*
| The peer being pre&hyphen;registered&period;
|===


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