cbuchner1 / CudaMiner

a CUDA accelerated litecoin mining application based on pooler's CPU miner
Other
695 stars 304 forks source link

Share is above target with ALGO = SCRYPT #165

Closed Vaegten closed 6 years ago

Vaegten commented 6 years ago

**** Pool Difficulty Settings *****

VDIFF_X2_TYPE = True # Powers of 2 e.g. 2,4,8,16,32,64,128,256,512,1024 VDIFF_FLOAT = False # Use float difficulty

Pool Target (Base Difficulty)

POOL_TARGET = 1 # Pool-wide difficulty target int >= 1

Variable Difficulty Enable

VARIABLE_DIFF = True # Master variable difficulty enable

Variable diff tuning variables

VARDIFF will start at the POOL_TARGET. It can go as low as the VDIFF_MIN and as high as min(VDIFF_MAX or coindaemons difficulty)

USE_COINDAEMON_DIFF = True # Set the maximum difficulty to the coindaemon difficulty. DIFF_UPDATE_FREQUENCY = 86400 # How often to check coindaemon difficulty. Should be less than coin difficulty retarget time VDIFF_MIN_TARGET = 0.1 # Minimum target difficulty VDIFF_MAX_TARGET = 4096 # Maximum target difficulty VDIFF_MIN_CHANGE = 1 # Minimum change of worker's difficulty if VDIFF_X2_TYPE=False and the final difficulty will be within the boundaries (VDIFF_MIN_TARGET, VDIFF_MAX$ VDIFF_TARGET_TIME = 15 # Target time per share (i.e. try to get 1 share per this many seconds) VDIFF_RETARGET_TIME = 10 # How often the miners difficulty changes if appropriate VDIFF_VARIANCE_PERCENT = 30 # Allow average time to very this % from target without retarget

Allow external setting of worker difficulty, checks pool_worker table datarow[6] position for target difficulty

if present or else defaults to pool target, over rides all other difficulty settings, no checks are made

for min or max limits this should be done by your front end software

ALLOW_EXTERNAL_DIFFICULTY = False

Advanced Option

For backwards compatibility, we send the scrypt hash to the solutions column in the shares table

For block confirmation, we have an option to send the block hash in

Please make sure your front end is compatible with the block hash in the solutions table.

For People using the MPOS frontend enabling this is recommended. It allows the frontend to compare the block hash to the coin daemon reducing the likelihood of missing share er$

SOLUTION_BLOCK_HASH = True # If enabled, enter the block hash. If false enter the scrypt/sha hash into the shares table

Pass scrypt hash to submit block check.

Use if submit block is returning errors and marking submitted blocks invalid upstream, but the submitted blocks are being a accepted by the coin daemon into the block chain.

BLOCK_CHECK_SCRYPT_HASH = False

Anyhelp would be appricated! ;-)