enter image description here

I have two BTC Core nodes modified with custom genesis blocks. I'm connecting them using the -connect option and the -listen option, and I can see in debug.log that they see each other:

2018-03-21 19:49:42 New outbound peer connected: version: 70015, blocks=0, peer=5


2018-03-21 19:49:40 New outbound peer connected: version: 70015, blocks=0, peer=0

But, as shown in the image, the client is not able to sync. Do I need to mine at least one block so BTC Core can finish the synchronization, or is this a sympton of other problem?


I think I've found the answer (but I'm not 100% sure). I had to change this:

chainTxData = ChainTxData{
        // Data as of block 0000000000000000002d6cca6761c99b3c2e936f9a0e304b7c7651a993f461de (height 506081).
        // 1521311547, // * UNIX timestamp of last known number of transactions
        // 0,  // * total number of transactions between genesis and that timestamp
        //             //   (the tx=... number in the SetBestChain debug.log lines)
        // 3.5         // * estimated number of transactions per second after that timestamp

To this in chainparams.cpp:

    chainTxData = ChainTxData{

That seem to have solved the issue and now I see "Progress 100%". It's the only thing that changed, the other things "Progress increase per hour", "Number of blocks left", "3 days behind" are still the same but the progress seems to have changed after I modified that section of the code.

UPDATE: When trying to use cpuminer-multi to mine, I receive this message:

JSON protocol response:
   "error": {
      "code": -10,
      "message": "Bitcoin is downloading blocks..."
   "result": null,
   "id": 0

So it looks I was wrong and even if it says 100% it didn't finish the sync. It's because the chain has zero blocks? It doesn't count the genesis block for some reason?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.