[#TxRequestTracker-ComputePriority] = xref:TxRequestTracker.adoc[TxRequestTracker]::ComputePriority :relfileprefix: ../ :mrdocs: Access to the internal priority computation (testing only) == Synopsis Declared in `<txrequest.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- uint64_t ComputePriority( xref:uint256.adoc[uint256] const& txhash, xref:NodeId-08.adoc[NodeId] peer, bool preferred) const; ---- == Return Value The computed priority value used for tiebreaking. == Parameters [cols="1,4"] |=== | Name| Description | *txhash* | Transaction hash to compute the priority for. | *peer* | Peer the priority is computed for. | *preferred* | Whether the announcement is from a preferred peer. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#