[#CTxMemPool-PrioritiseTransaction]
= xref:CTxMemPool.adoc[CTxMemPool]::PrioritiseTransaction
:relfileprefix: ../
:mrdocs:

Affect CreateNewBlock prioritisation of transactions

== Synopsis

Declared in `&lt;txmempool&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
PrioritiseTransaction(
    xref:Txid.adoc[Txid] const& hash,
    xref:CAmount.adoc[CAmount] const& nFeeDelta);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *hash*
| The txid whose priority is adjusted&period;
| *nFeeDelta*
| The fee delta to apply to the transaction&period;
|===


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