ergoplatform / ergo

Ergo protocol description & reference client implementation
https://ergoplatform.org/
Creative Commons Zero v1.0 Universal
504 stars 170 forks source link

I cannot get the blocks height #2173

Open swag-eag opened 3 months ago

swag-eag commented 3 months ago

With this local blockchain configuration:

ergo {
  networkType = "mainnet"
  directory = "/home/emilio/ergo/ergo-mainnet-swa/data"

  node {
    mining = true
    offlineGeneration = true
    useExternalMiner = false
  }

  chain {
    addressPrefix = 96
    reemission {
      checkReemissionRules = true
    }
  }

  wallet {
    checkEIP27 = true
    mnemonic = "maximum market scatter fancy sleep begin more awesome defense obscure allow august forget artist solve"
  }
}

scorex {
  network {
    magicBytes = [1, 1, 8, 1]
    bindAddress = "0.0.0.0:9022"
    nodeName = "ergo-mainnet-swa"
    knownPeers = []
  }

  restApi {
    bindAddress = "127.0.0.1:9122"
    apiKeyHash = "324dcf027dd4a30a932c441f365a25e86b173defa4b8e58948253471b81b72cf"
  }
}

image

I cannot read the height with SAFEW (for blockchain prefix 96 and restApi.bindAddress = "127.0.0.1:9122"): image

How do I know the blockchain is working?

How can I get Ergo coins mined if I never reach the 720 blocks tto be moved to my wallet?

I am not getting results...

Regards

kushti commented 3 months ago

SafeW is working with nodes with extra indices enabled. To enable extra indices , use the following setting:

ergo { 
  node {
   extraIndex = true
  }
} 
swag-eag commented 3 months ago

It worked! (but partially) image

I can see the Height... But when I add an existing wallet (the one used in my nodes (I have two nodes with the same wallet)) I got this message... And never quits... image

Why SAFEW cannot find my wallet address? (I am giving the secrets words)

Thanks