openethereum/ethcore/src
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
..
account_provider Fix wallet import (#7873) 2018-02-14 14:21:58 +01:00
blockchain bloom refactor (#7475) 2018-01-14 22:43:28 +01:00
blooms bloom refactor (#7475) 2018-01-14 22:43:28 +01:00
client Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00
engines Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00
ethereum Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00
json_tests Extract some parts of miner from ethcore. (#7353) 2018-01-11 17:49:10 +01:00
miner read registry_address from given block (#7866) 2018-02-12 18:02:48 +01:00
snapshot ethabi version 5 (#7723) 2018-02-09 09:32:06 +01:00
spec Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00
state ethabi version 5 (#7723) 2018-02-09 09:32:06 +01:00
tests Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00
trace Std-json format for VM traces (#7262) 2018-01-18 10:32:22 +01:00
verification Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00
views bloom refactor (#7475) 2018-01-14 22:43:28 +01:00
account_db.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
block.rs Aura: Broadcast empty step messages instead of creating empty blocks (#7605) 2018-02-15 01:39:29 +01:00
builtin.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
cache_manager.rs Fix whitespace (#4299) 2017-01-25 18:51:41 +01:00
db.rs Separate migrations from util (#6690) 2017-10-10 20:01:27 +02:00
encoded.rs bloom refactor (#7475) 2018-01-14 22:43:28 +01:00
error.rs bloom refactor (#7475) 2018-01-14 22:43:28 +01:00
executed.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
executive.rs wasmi interpreter (#7796) 2018-02-05 20:59:27 +01:00
externalities.rs Std-json format for VM traces (#7262) 2018-01-18 10:32:22 +01:00
factory.rs separate trie from util and make its dependencies into libs: 2017-09-15 11:03:53 +08:00
header.rs removed redundant ethcore/basic_types.rs (#7584) 2018-01-17 10:35:43 +01:00
lib.rs ethabi version 5 (#7723) 2018-02-09 09:32:06 +01:00
machine.rs ethabi version 5 (#7723) 2018-02-09 09:32:06 +01:00
pod_account.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
pod_state.rs dissolve util (#7460) 2018-01-10 15:35:18 +03:00
service.rs Replace RandomTempDir with tempdir::Tempdir (#7624) 2018-01-19 17:32:53 +01:00
state_db.rs separated ethcore_migrations from ethcore (#7586) 2018-01-17 22:11:13 +01:00
timer.rs move timer.rs to ethcore (#6437) 2017-09-02 10:54:39 +02:00
tx_filter.rs ethabi version 5 (#7723) 2018-02-09 09:32:06 +01:00