I am using the bitcoind to parse the entire blockchain, right now I have -txindex=1 and I am on the testnet. I going thru the entire blockchain but after a couple 1,000 blocks, it starts throwing out a fatal error. That the response id isn't correct, is the rpc server not threaded? Or is it a php script thing? I am only going thru the blocks not transactions.
here is my script
$height=$bitcoinclient->getblockcount();
for($i=0; $i<=$height; $i++){
$reponse=$bitcoinclient->getblock($bitcoinclient->getblockhash($i));
}
I am doing some operation on it, also I am running this script in the command line not a web server so it isn't the timeout.