Access to the internal priority computation (testing only)
Declared in <txrequest.h>
uint64_t
ComputePriority(
uint256 const& txhash,
NodeId peer,
bool preferred) const;
The computed priority value used for tiebreaking.
| 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. |