I'm using cgminer to generate Bitcoins using the GPU on my HD4870.
I've read that when going solo, you want to check if a new block has been created very frequently. This is to minimize work spent on a block that has already been solved.
How do I change the frequency with which cgminer asks bitcoind if a new block has been detected on the network?
Basically, I'd like to minimize the time between someone generating a new block and cgminer printing this message:
[2011-12-18 21:51:30] New block detected on network, waiting on fresh work
I see two options that might fit the bill:
--scan-time|-s <arg> Upper bound on time spent scanning current work, in seconds (default: 60)
--expiry|-E <arg> Upper bound on how many seconds after getting work we consider a share from it stale (default: 120)
Thanks in advance!