Speed up Primecoin chainrate() log parser