Closed shwuhk closed 6 years ago
@shwuhk Tested on LTCR LiteCred QUBIT All works. Is digibyte multialgo coin? Is there masternodes?
@foxer666 no, only dash has masternodes, but yes, digibyte is a multialgo coin. does it affect the hash generated?
I have just checked my MPOS database, I also have the same issue. all my shares' upstream results are N
.
@shwuhk Not only dash has masternodes. I had problems with blocksubmit on multialgo coins.
Qubit (Shares works, blocks finding, but error 'We thought a block was found but it was rejected by the daemon'. No blocks presented in pools web interface)
The calculated hash is different from the block hash. But the diff seems fine, so submitting works. Block is mined but we can't verify the block.
@shtse8 It's different problems:
The second problem as it seems to me, I have solved.
@shwuhk has 1st problem, @shtse8 has 2nd problem. Is it right?
@foxer666 My problem is:
getblock
. isValidBlock
false. but got blockhash
.https://github.com/krisklosterman/node-stratum-pool/blob/master/lib/pool.js#L587-L605
@shtse8 Sorry. With problems with daemon I can help. Withs problems submiting to NOMP - can't. First of all - try to use UNOMP code. Can Qubit works with UNOMP? If it works - we can take code from UNOMP.
I tried to get the headerbuffer and compute the hash by multihashing.qubit
.
it's different from the actual hash. do you have any idea?
Should be this issue. https://github.com/zone117x/node-stratum-pool/issues/77
@shtse8 It is the same issue. It was fixed. Thanks.
I think NOMP should mention it can't support multi-algo coins for the latest release.
Or we can add it :)
Guys. https://github.com/krisklosterman/node-stratum-pool/blob/master/lib/algoProperties.js for (var algo in algos){ if (!algos[algo].multiplier) algos[algo].multiplier = 1;
I think it's multialgo check. I'm right?
@foxer666 @krisklosterman How do I know which coins/algos have multiplier? And what is multiplier?
@shwuhk My bad. Ignore prev message. Multialgo and multiplier - different things.
I would also like to know what is multiplier. I still don't understand.
Multiplier is used to calculate hashrate
multiplier * totalShare / time
or something like that
I notice that the stratum can submit the block hex, which is accepted by the daemon. However, the blockhash we calculated is different from the daemon one. so the stratum cannot validate the hash by
getblock
. Here is the log:Here is the
debug.log
of digibyte