From 418557034055f740951294e7677ae9fd5149ea9b Mon Sep 17 00:00:00 2001 From: t-bast Date: Mon, 25 Apr 2022 10:29:25 +0200 Subject: 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. --- doc/release-notes/release-notes-24408.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 doc/release-notes/release-notes-24408.md (limited to 'doc') 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 -- cgit v1.2.3