openethereum/ethcore/src/client
André Silva aab63c339d Aura: Broadcast empty step messages instead of creating empty blocks (#7605)
* aura: broadcast empty step message instead of sealing empty block

* aura: add empty_step messages to seal

* aura: include parent_hash in empty step message

* aura: verify received empty step messages

* aura: verify empty step messages in block

* aura: fix dead lock on empty_steps

* aura: fix EmptyStep Encodable

* aura: take number of empty steps into account in chain score

* aura: use empty step signers for finality

* aura: add empty "empty step" messages to seal when reading from spec

* aura: fix EmptyStep rlp encoding

* aura: use Vec<u8> instead of Bytes

* aura: fix block empty step verification

* Update .gitlab-ci.yml

fix lint

* aura: fix accumulation of empty step signatures for finality

* aura: include empty steps in seal signature

* aura: configurable max number of empty steps

* engine: pass block header to seal_fields method

This is necessary to make the number of seal fields dynamic,
e.g. activating a transition on a certain block number that changes
the seal.

* aura: add transition to enable empty step messages

* aura: clear old empty step messages on verify_block_external

* aura: ignore empty step messages from the future

* aura: report skipped primaries when empty steps are not enabled

* aura: fix tests

* aura: report misbehavior

* aura: add tests for rolling finality with multiple signatures

* engine: fix validator set test

In this test the block validation wasn't failing because the block was in the
future (expected failure) but was instead failing because the author of the
block isn't the expected authority. Since we added reporting of blocks produced
by the wrong authority this test started failing.

* aura: reward all the authors of empty step messages

* aura: fix reward attribution for new blocks

* aura: add tests for empty steps broadcasting and inclusion in blocks

* aura: reduce size of empty step messages in seal

* aura: add test for empty step inclusion in blocks

* aura: add test for rewarding of empty steps

* aura: add test for empty steps validation

* aura: fix rlp encoding of sealed empty step

* aura: fix grumbles
2018-02-15 01:39:29 +01:00
..
ancient_import.rs Generalize engine trait (#6591) 2017-09-26 14:19:08 +02:00
chain_notify.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
client.rs Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00
config.rs Upgrade to RocksDB 5.8.8 and tune settings to reduce space amplification (#7348) 2018-01-03 11:00:37 +01:00
error.rs KeyValueDB trait uses errors instead of strings 2017-10-16 12:11:35 +02:00
evm_test_client.rs Extract some parts of miner from ethcore. (#7353) 2018-01-11 17:49:10 +01:00
mod.rs Extract some parts of miner from ethcore. (#7353) 2018-01-11 17:49:10 +01:00
test_client.rs Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00
trace.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
traits.rs Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00