I had deployed my private blockchain network back in 2018-08-12 16:12:48 +0600 (1 year, 167 days ago). Since then it is working. At that time the block time was 20-30 seconds which was acceptable for our private transaction. But now a days the average block time has increased to 1 min and sometimes it takes 8-10 minutes to mine a single block which seems crazy ;(

enter image description here

NB: There are 7 running nodes and all them has 8 GB ram. You can check the geth version in the picture.

Is there any way so that I can reduce the blocktime ? Or can anybody tell me that upgrading the geth version will solve problem?

genesis.json looks like :-

    "config": {
        "chainId": 17,
        "homesteadBlock": 0,
        "eip155Block": 0,
        "eip158Block": 0
    "difficulty": "0x100",
    "gasLimit": "0x2100000",
    "alloc": {

And the command is:-

geth --identity "node_name" --networkid 17 --rpc --rpcaddr "" --rpcport "8545" --rpccorsdomain "*" --datadir "node02" --port "30301" --ipcdisable --nodiscover --rpcapi "db,eth,net,web3,personal,miner,admin"

  • 2
    What configuration values are you running on your nodes. Provide at least command line options and config file, best would be to have the genesis file. – Nicolas Massart Jan 26 '20 at 13:41
  • @NicolasMassart can you please check? let me know if you need more details? – sharif2008 Jan 26 '20 at 16:34
  • I will have a look tomorrow but I thin I will need you to run some rpc commands. Do you know how? – Nicolas Massart Jan 26 '20 at 20:16
  • 1
    Looks like you have configured a PoW chain and the mining speed drops as you have more difficult blocks -- do you have many txns in the chain? Ideally, you'd switch to a PoA chain instead since geth supports it natively – fixanoid Jan 27 '20 at 14:36
  • 1
    Yeah. I have used PoW. Is there any way to switch to PoA with existing blocks . I think it is not possible as genesis.json should not be changed. In that case, please suggest me some good articles/blogs so that I can deploy a fresh setup of my blockchain. Anyway I really appreciate your suggestions – sharif2008 Jan 28 '20 at 4:19

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.