I downloaded CPUminer and tried mining on regtest. Not a single block has been mined and I can see the following error messages. (I modified the difficulty level though) I can’t find any pages who have dealt with a relevant problem like this. Can somebody tell me what the issue is?
=> bitcoind debug.log file…
2024-07-05T05:37:33Z CreateNewBlock(): block weight: 800 txs: 0 fees: 0 sigops 400
2024-07-05T05:43:51Z Saw new header hash=00000000ab2d84fe5fdb9e250838c5e7c2751a2cbbec90e23fe75e4e923c8a23 height=1
2024-07-05T05:43:51Z [error] AcceptBlock: bad-cb-height, block height mismatch in coinbase
2024-07-05T05:43:51Z [error] ProcessNewBlock: AcceptBlock FAILED (bad-cb-height, block height mismatch in coinbase)
=> CPUminer terminal log messages…
[2024-07-05 14:43:51] DEBUG: hash <= target
Hash: 00000000ab2d84fe5fdb9e250838c5e7c2751a2cbbec90e23fe75e4e923c8a23
Target: 00000000ffff0000000000000000000000000000000000000000000000000000
[2024-07-05 14:43:51] accepted: 0/1 (0.00%), 4953 khash/s (booooo)
[2024-07-05 14:43:51] DEBUG: reject reason: bad-cb-height
$ ./bitcoin-cli -conf=configuration_file.conf getblockchaininfo
{
"chain": "regtest",
"blocks": 0,
"headers": 1,
"bestblockhash": "0f9188f13cb7b2c71f2a335e3a4fc328bf5beb436012afca590b1a11466e2206",
"difficulty": 1,
"time": 1296688602,
"mediantime": 1296688602,
"verificationprogress": 1,
"initialblockdownload": false,
"chainwork": "0000000000000000000000000000000000000000000000000000000100010001",
"size_on_disk": 293,
"pruned": false,
"warnings": [
"This is a pre-release test build - use at your own risk - do not use for mining or merchant applications"
]
}