Nueva moneda alternativa. Cpuminer me da "buuu"

Hice una nueva altcoin basada en "INSaNe" https://github.com/CryptoCoderz/INSN

Cambié hashes de génesis usando este código:

    if (true  && (genesis.GetHash() != hashGenesisBlock)) {
                     //This will figure out a valid hash and Nonce if you're
                    // creating a different genesis block:
                        uint256 hashTarget = CBigNum().SetCompact(genesis.nBits).getuint256();
                        while (genesis.GetHash() > hashTarget)
                           {
                               ++genesis.nNonce;
                               if (genesis.nNonce == 0)
                               {
                                   printf("NONCE WRAPPED, incrementing time");
                                   ++genesis.nTime;
                               }
                           }
                    }
            printf("block.GetHash() == %s\n0x", genesis.GetHash().ToString().c_str());
            printf("block.hashMerkleRoot == %s\n", genesis.hashMerkleRoot.ToString().c_str());
            printf("block.nTime = %u \n", genesis.nTime);
            printf("block.nNonce = %u \n", genesis.nNonce);

Así que comencé a usar monedas con dos clientes en localhost e intenté minarlas con cpuminer-multi por tpruvot https://github.com/tpruvot/cpuminer-multi , pero el minero siempre me da booo, por favor ayúdenme...

Mi sistema operativo: Kubuntu 16.04

No hay función de generación o generación en esta criptomoneda

00:15:45 setgenerate
00:15:45 Method not found (code -32601)
00:16:03 generate
00:16:03 Method not found (code -32601)

Salida del procesador:

Current block is 1
[2017-07-19 00:16:32] Switching to getwork, gbt version 7
[2017-07-19 00:16:36] CPU #2: 26.28 kH/s
[2017-07-19 00:16:38] accepted: 0/1 (diff 0.000), 26.28 kH/s booooo

Aquí está la dificultad para mainnet:

bnProofOfWorkLimit = CBigNum(~uint256(0) >> 18);

Aquí está el tiempo de bloque:

static const int64_t BLOCK_SPACING = 5 * 60;
/** Block spacing minimum */
static const int64_t BLOCK_SPACING_MIN = 3.5 * 60;
/** Block spacing maximum */
static const int64_t BLOCK_SPACING_MAX = 7.5 * 60;

Aquí está la versión de bloque:

static const int CURRENT_VERSION=1;
¿Puede mostrarnos cómo/dónde cambió la hora en el código?
¿Cómo solucionaste realmente este problema? ¿Podrías compartirlo? Muchas gracias, BR, Joe

Respuestas (1)

¡fijado! El principal problema es el tiempo. Configuré mi tiempo en genesis hash +3hrs, cambié mi tiempo de PC +3hrs y ¡listo! ¡Obras mineras!