0

I have a private network, and something very weird happens when I try to start the mining via RPC: the node just simply freezes. I attached using geth.ipc and even when I tried to start the miner via the console it didn't work. It doesn't provide me with some feedback. Just simply freezes. An interesting part is that it happens most of the time with the same call (I mean the same function from the remote proxy class generated by Web3j). I read that there are some bugs in Web3j that cause a timeout: https://github.com/web3j/web3j/issues/600 and https://github.com/web3j/quorum/issues/4 (this one is closed but you can observe at the end of the thread that someone actually posted a new comment regarding the fact that he can still reproduce the problem). Even with the timeout it is very weird that geth node also crashes.

This is the genesis.json used to initialise the node:

{
  "config": {
    "chainId": 3792,
    "homesteadBlock": 0,
    "eip155Block": 0,
    "eip158Block": 0,
    "byzantiumBlock": 0,
    "constantinopleBlock": 0
  },
  "difficulty": "400",
  "gasLimit": "3141592000000",
  "nonce": "0x0000000000000042",
  "mixhash":    "0x0000000000000000000000000000000000000000000000000000000000000000",
  "coinbase": "0x0000000000000000000000000000000000000000",
  "timestamp": "0x00",
  "parentHash":     "0x0000000000000000000000000000000000000000000000000000000000000000",
  "alloc": {
    "ca56bdff4ab30b96b4f618e718b88c7a1721ecc3": {
      "balance": "300000000000000000000"
    },
    "a19b33f09a8e09d6f7d9330115038a87fe331878": {
      "balance": "300000000000000000000"
    },
    "480ac6bc8e492d7840c5ef362dc90ff82a704ad1": {
      "balance": "300000000000000000000"
    },
    "32e33d20d2a5d0d05f7c088aaab8f3e7a7f5f4fd": {
      "balance": "300000000000000000000"
    },
    "3ae77c608e84e349a4312da6bb7bcb413755765b": {
      "balance": "300000000000000000000"
    },
    "52b4bf9844edf3956d6e860cf92bc2cd224164cc": {
      "balance": "300000000000000000000"
    },
    "f06bc4dd7bc1738a24c473859c391bcf81c0f0ae": {
      "balance": "300000000000000000000"
    }
  }
}

Your Answer

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

Browse other questions tagged or ask your own question.