[#TxRequestTracker-ReceivedResponse] = xref:TxRequestTracker.adoc[TxRequestTracker]::ReceivedResponse :relfileprefix: ../ :mrdocs: Converts a CANDIDATE or REQUESTED announcement to a COMPLETED one. If no such announcement exists for the provided peer and txhash, nothing happens. == Synopsis Declared in `<txrequest.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void ReceivedResponse( xref:NodeId-08.adoc[NodeId] peer, xref:uint256.adoc[uint256] const& txhash); ---- == Description It should be called whenever a transaction or NOTFOUND was received from a peer. When the transaction is not needed entirely anymore, ForgetTxhash should be called instead of, or in addition to, this call. == Parameters [cols="1,4"] |=== | Name| Description | *peer* | Peer the response was received from. | *txhash* | Transaction hash the response is for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#