I have an indexed full node on my home router, and I run a python script on my desktop to grab all the transactions for a full block. I did run it two ways:
rpc_connection.getrawtransaction(transactionID,1)
and
rpc_connection.getrawtransaction(transactionID,1,hash)
I also tried batch, but that would time out if I had a big block I wanted to look at.
first way thrashes the HD, second way hardly uses the HD at all, about 70% of one core, and runs slower than the first way. can someone verify getrawtransaction takes longer to execute if you tell it which hash it's in?