[#TxReconciliationTracker-RegisterPeer] = xref:TxReconciliationTracker.adoc[TxReconciliationTracker]::RegisterPeer :relfileprefix: ../ :mrdocs: Step 0. Once the peer agreed to reconcile txs with us, generate the state required to track ongoing reconciliations. Must be called only after pre‐registering the peer and only once. == Synopsis Declared in `<node/txreconciliation.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:ReconciliationRegisterResult.adoc[ReconciliationRegisterResult] RegisterPeer( xref:NodeId-08.adoc[NodeId] peer_id, bool is_peer_inbound, uint32_t peer_recon_version, uint64_t remote_salt); ---- == Return Value The result of the registration attempt. == Parameters [cols="1,4"] |=== | Name| Description | *peer_id* | The peer being registered. | *is_peer_inbound* | Whether the peer's connection is inbound. | *peer_recon_version* | The reconciliation protocol version advertised by the peer. | *remote_salt* | The salt supplied by the peer for short‐ID computation. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#