Is there a tool that, given a tx hash and/or a specific output, can search through the blockchain to see if it's been used as input in other transfers? This would preferably not be a web service but something I run offline on my own copy of the blockchain.