openethereum/json/src/spec
Vladimir Komendantskiy 73354d8d93 Set the block gas limit to the value returned by a contract call (#10928)
* Block gas limit contract

Lower gas limit if TxPermission.limitBlockGas.

Call blockGasLimit before every block.

Make the block gas limit contract a separate config option.

Add `info` level logging of block gas limit switching

block-gas-limit subcrate and responses to review comments

simplified call_contract_before

moved block_gas_limit_contract_transitions to AuRa params

removed call_contract_before

Update and fix test_verify_block.

Remove some unused imports and functions.

* Move gas limit override check to verify_block_basic.

Co-authored-by: Andreas Fackler <afck@users.noreply.github.com>
2020-01-13 11:27:03 +01:00
..
account.rs [builtin]: support multiple prices and activations in chain spec (#11039) 2019-10-31 17:09:08 +01:00
authority_round.rs Set the block gas limit to the value returned by a contract call (#10928) 2020-01-13 11:27:03 +01:00
basic_authority.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
builtin.rs remove null signatures (#11335) 2019-12-13 18:12:22 +01:00
clique.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
engine.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
ethash.rs [ethash] chainspec validate ecip1017EraRounds non-zero (#11123) 2019-10-17 14:02:41 +02:00
genesis.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
hardcoded_sync.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
instant_seal.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
mod.rs Step duration map configuration parameter ported from the POA Network fork (#10902) 2019-10-28 14:39:18 +01:00
null_engine.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
params.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
seal.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00
spec.rs [builtin]: support multiple prices and activations in chain spec (#11039) 2019-10-31 17:09:08 +01:00
state.rs [builtin]: support multiple prices and activations in chain spec (#11039) 2019-10-31 17:09:08 +01:00
step_duration.rs Step duration map configuration parameter ported from the POA Network fork (#10902) 2019-10-28 14:39:18 +01:00
validator_set.rs cleanup json crate (#11027) 2019-09-10 20:46:50 +02:00