Kudaraidee / miningcore-xiaolin1579

Miningcore is a high-performance Mining Pool Software for Linux and Windows.
https://store.miningcore.pro
MIT License
35 stars 46 forks source link

[POW] Bitcoin Based - No blocks generation #71

Open CptPackage opened 6 months ago

CptPackage commented 6 months ago

Describe the bug The pool isn't working with a network based on Bitcoin source code, even though if the miner is left for more than 24 hours in which at least 100 blocks would have been generated, still no blocks gets generated. And the single time when there was a block submit it had the error of "Txn Bad Merkle Tree".

I have checked the BitcoinJob file and logged the BlockTemplate.PreviousBlockHash and the hash in the "mining.notify" is different than the one given by getBlockTemplate (I know that the one from getBlockTemplate is Big Endian and the one in mining.notify is Little Endian, but converting both of them from Big to Little and Little to Big they don't match).

[D] [BitcoinJob] Daemon Block Template PreviousBlockHash: 0000000000000ed08ad913ab43628a31a77692f269bb95ba9bc4bb165211c2ee

Is the problem with modifications since the fork from Legacy MiningCore of Oliverw, or the has to be some extra configuration other than: Coins.json & Config.json?

Please let me know.

Expected behavior Generate blocks

Desktop:

Additional context Other OpenSource mining pools like NOMP work properly, so I won't say it's a problem in the communication with the network.