Open DeckerSU opened 1 year ago
It seems this happened because testnet
genesis block selected by @jmjatlanta doesn't meet consensus.powLimit
requirements, like:
e46e999d6de5ef95427ea51b8242ef7949de22b340b6a484ff154b9991ec9452
is bigger than
0f0f0f000000000000000000000000000000000000000000000000000000000
and inside CheckProofOfWork
condition
if ( UintToArith256(hash = blkHeader.GetHash()) > bnTarget )
{
...
}
leads to fail. The solution is to re-create the testnet
with new, acceptable genesis block.
yes I suggest we can use the mainnet genesis for testnet (like it was originally)
Steps to reproduce:
komodod
from latestdev
branch, and launch it, for example, with the following params:As you will see in
debug.log
, the genesis block will be accepted:~/.komodo/INDXFAIL/INDXFAIL.conf
to force reindex, for example, add the following lines into config:As the previous indexes was only with
txindex=1
it will trigger reindex:debug.log
:And in
stdout
: