How can we access all transactions, including spent transactions, through bitcoind?
The problem begins by the fact that bitcoid doesn't keep that kind of information for spent txs, which however serves the typical QT user.

All you have to do to obtain a record for spent txs is:


run ONCE ONLY bitcoind with arguments: -reindex=1 -txindex=1, allow it quite some time to complete, add -debug -printtoconsole if you want to see the re-indexing progress in real-time
add: txindex=1 to bitcoin.conf