3

As said in Péter Szilágyi post DAO Wars: Your voice on the soft-fork dilemma:

Miners supporting the DAO soft-fork can do so by starting Geth 1.4.8 with --dao-soft-fork. This will cause the block gas limits to be lowered towards Pi million until the deciding block 1800000 (approx. 6 days from now) is reached. If the gas limit of this block is below or equal 4M, the soft-fork goes into effect and (all updating) miners will start blocking DAO transactions that release funds.

How does the Geth (or Parity) client knows the current global network gas limit ? I can't see any explorer that shows it except https://ethstats.net/ that only shows some voluntary nodes.

1 Answer 1

8

The block gasLimit is in each block. Example:

eth.getBlock(1500000)

{
  difficulty: 34982465665323,
  extraData: "0xd783010305844765746887676f312e352e31856c696e7578",
  gasLimit: 4712388,
  ...
}
1
  • "Is in each block" was the key. I was looking for a global data... thanks. Jun 24, 2016 at 22:55

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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