mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-09-06 22:51:26 +02:00
Add RPC to get mempool txs spending outputs
We add an RPC to fetch the mempool transactions spending given outpoints. Without this RPC, application developers would need to first call `getrawmempool` which returns a long list of `txid`, then fetch each of these txs individually to check whether they spend the given outpoint(s). This RPC can later be enriched to also find confirmed transactions instead of being restricted to mempool transactions.
This commit is contained in:
5
doc/release-notes/release-notes-24408.md
Normal file
5
doc/release-notes/release-notes-24408.md
Normal file
@@ -0,0 +1,5 @@
|
||||
New RPCs
|
||||
--------
|
||||
|
||||
- A new `gettxspendingprevout` RPC has been added, which scans the mempool to find
|
||||
transactions spending any of the given outpoints. (#24408)
|
Reference in New Issue
Block a user