I try to figure out the easiest way for identifyiung the addresses from which a transaction was sent with bitcoind and bash.
The only way i can think off is looking at getrawtransaction of the transaction and then analyzing the txids of vin. This solution is a little bit complicated and i want to know if there is a better way.
Are you exploring the concept out of curiosity, or do you actually have a need to identify a list of addresses associated with the previous outputs that were used as inputs in any given transaction?
I only ask because, this isn't the first time this question has been asked, and generally when people ask this question they have a misunderstanding about what they can identify with that list of addresses, or what the best practices are for sending bitcoins back to someone who sends them bitcoins.