🟡 Minor
Check every requested txid for pruned candidates (src/rpc/txoutproof.cpp:107, head)
If the UTXO scan finds no block, this looks up only *setTxids.begin(). If that txid is absent from the index but another requested txid is indexed in a pruned block, the RPC reports “Transaction not yet in block” and hides the hash that could be fetched with getblockfrompeer. Try the requested txids until finding a transaction or a pruned-block miss so multi-txid requests can use the same recovery path as single-txid requests.
Preserve pruned hashes for explicit-block lookups (src/node/transaction.cpp:160, head)
When block_index is provided, a txindex TxMiss containing pruned hashes is ignored, and lookup falls through to ReadBlock. For a pruned requested block, the final miss is empty, so getrawtransaction <txid> <blockhash> reports “Block not available” instead of returning the structured pruned-block hash. Preserve the miss when its pruned hashes include the requested block, while keeping the block-specific fallback for unrelated candidates.