9

I've got a little private chain running which occasionally runs some rather labour-intensive transactions.

I was able to set the initial block gas limit using the "gasLimit" parameter in genesis.json but that seems to get automatically adjusted down over time back to the public chain default.

Short of feeding the chain intentionally labour-intensive transactions every single block to keep the average up, is there anything I can do to stop it adjusting downwards?

eth
  • 85,679
  • 53
  • 285
  • 406
Edmund Edgar
  • 16,897
  • 1
  • 29
  • 58

1 Answers1

8

If you're using Geth, the develop branch contains a --targetgaslimit flag that will instruct the miner to target a specific number instead of the hard coded default.

Péter Szilágyi
  • 10,436
  • 39
  • 42