Post
Topic
Board Pools
Re: [ANN] Stratum mining protocol - ASIC ready
by
generalfault
on 23/12/2012, 13:43:07 UTC
http://pastebin.com/Ns158VNG
this looks fine?since i setted up with blocknotify

                                #       If using the blocknotify script (recommended) set = to MERKLE_REFRESH_INTERVAL
                                #       (No reason to poll if we're getting pushed notifications)
and generalfault

explain this?
both should be turned on ?
because i dont understand how you writen this?
and yes if i am on VPS what you suggest me prevhash or merkle what will take lower load ?

If you are using the blocknotify script then set PREVHASH_REFRESH_INTERVAL = to the same value as MERKLE_REFRESH_INTERVAL
so:
PREVHASH_REFRESH_INTERVAL = 60
MERKLE_REFRESH_INTERVAL = 60

we never really want to turn off new block checking completely as a failsafe (just in case blocknotify doesn't work for ANY reason, we don't want to be hashing a bad block forever.)
you really need both.....
prevhash = check for a new block, if it is there, send out the notifies and throw away any old possible solutions since they are now invalid
merkle = roll in any new transactions, send out notifies, DO NOT throw away any old possible solutions since they are still valid (just don't include the latest transactions.)