Determine which transaction spent a Transaction Output

1

I will explain my question through an example on the bitcoin testnet network.

I am looking at the output at index 0 of this transaction:

2a50bcc2ec49573ef816a95781b802766910f8690968236cf451cfc32defc491

I can tell through the bitcoin testnet block explorer that it was spent in this transaction:

7b1b3788ae4251d164031f899ba4e81f6371f70c24e71d38b03d44292ada9c81

Is there a way to use the bitcoind RPC methods to determine that it was 7b1b3... that was the transaction that spent this transaction output?

Thank you!

morsecoder

Posted 2014-10-14T18:14:48.933

Reputation: 12 624

Answers

2

Bitcoind does not track this information as it is not necessary for normal validation, so no, this is not easily possible.

Pieter Wuille

Posted 2014-10-14T18:14:48.933

Reputation: 54 032

1What I suspected. Any plans to do that?morsecoder 2014-10-14T19:46:04.060