/ doc / release-notes-24539.md
release-notes-24539.md
 1  New settings
 2  ------------
 3  - `-txospenderindex` enables the creation of a transaction output spender
 4    index that, if present, will be scanned by `gettxspendingprevout` if a
 5    spending transaction was not found in the mempool.
 6    (#24539)
 7  
 8  Updated RPCs
 9  ------------
10  - `gettxspendingprevout` has 2 new optional arguments: `mempool_only` and `return_spending_tx`.
11    If `mempool_only` is true it will limit scans to the mempool even if `txospenderindex` is available.
12    If `return_spending_tx` is true, the full spending tx will be returned.
13    In addition if `txospenderindex` is available and a confirmed spending transaction is found,
14    its block hash will be returned. (#24539)