aboutsummaryrefslogtreecommitdiff
path: root/doc/release-notes
diff options
context:
space:
mode:
authort-bast <bastuc@hotmail.fr>2022-04-25 10:29:25 +0200
committert-bast <bastuc@hotmail.fr>2022-05-05 14:56:48 +0200
commit418557034055f740951294e7677ae9fd5149ea9b (patch)
tree3c0137a53cbad899d52ddb6b120b5b61da032bb1 /doc/release-notes
parent1ad5d5088d69939b0551de31d6c33c03153697c5 (diff)
downloadbitcoin-418557034055f740951294e7677ae9fd5149ea9b.tar.xz
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.
Diffstat (limited to 'doc/release-notes')
-rw-r--r--doc/release-notes/release-notes-24408.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/release-notes/release-notes-24408.md b/doc/release-notes/release-notes-24408.md
new file mode 100644
index 0000000000..1072ec786a
--- /dev/null
+++ b/doc/release-notes/release-notes-24408.md
@@ -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) \ No newline at end of file