openethereum/ethcore/src
David de906d4afd
Improve logging and cleanup in miner around block sealing (#10745)
* Stop breaking out of loop if a non-canonical hash is found

* include expected hash in log msg

* More logging

* Scope

* Syntax

* Log in blank RollingFinality
Escalate bad proposer to warning

* Check validator set size: warn if 1 or even number

* More readable code

* Use SimpleList::new

* Extensive logging on unexpected non-canonical hash

* Wording

* wip

* Update ethcore/blockchain/src/blockchain.rs

Co-Authored-By: Tomasz Drwięga <tomusdrw@users.noreply.github.com>

* Improved logging, address grumbles

* Update ethcore/src/engines/validator_set/simple_list.rs

Co-Authored-By: Luke Schoen <ltfschoen@users.noreply.github.com>

* Report benign misbehaviour iff currently a validator

* Report malicious behaviour iff we're a validator

* Escalate to warning and fix wording

* Test reporting behaviour
Don't require node to be part of the validator set to report malicious behaviour

* Include missing parent hash in MissingParent error

* Update ethcore/src/engines/validator_set/simple_list.rs

Co-Authored-By: Luke Schoen <ltfschoen@users.noreply.github.com>

* docs

* remove unneeded into()
Move check for parent_step == step for clarity&efficiency
Remove dead code for Seal::Proposal

* typo

* Wording

* naming

* WIP

* cleanup

* cosmetics

* cosmetics and one less lvar

* spelling

* Better loggin when a block is already in chain

* More logging

* On second thought non-validators are allowed to report

* cleanup

* remove dead code

* Keep track of the hash of the last imported block

* Let it lock

* Serialize access to block sealing

* Take a lock while sealing a block

* Cleanup

* whitespace
2019-07-04 18:03:22 +02:00
..
client Improve logging and cleanup in miner around block sealing (#10745) 2019-07-04 18:03:22 +02:00
engines Improve logging and cleanup in miner around block sealing (#10745) 2019-07-04 18:03:22 +02:00
ethereum Break circular dependency between Client and Engine (part 1) (#10833) 2019-07-04 13:43:20 +02:00
json_tests Removed machine abstraction from ethcore (#10791) 2019-06-26 14:16:05 +02:00
miner Improve logging and cleanup in miner around block sealing (#10745) 2019-07-04 18:03:22 +02:00
snapshot Extract AccountDB to account-db (#10839) 2019-07-04 17:50:31 +02:00
spec removed additional_params method (#10818) 2019-06-29 09:31:15 +02:00
state Improve logging and cleanup in miner around block sealing (#10745) 2019-07-04 18:03:22 +02:00
tests Break circular dependency between Client and Engine (part 1) (#10833) 2019-07-04 13:43:20 +02:00
trace Fix a few typos and unused warnings. (#10803) 2019-06-27 14:17:24 +02:00
verification removed EthEngine alias (#10805) 2019-06-28 10:18:18 +02:00
block.rs Improve logging and cleanup in miner around block sealing (#10745) 2019-07-04 18:03:22 +02:00
builtin.rs ethcore does not use byteorder (#10829) 2019-07-02 09:06:27 +02:00
error.rs Fix deprectation warnings on nightly (#10746) 2019-06-14 18:48:35 +02:00
executed.rs Add trace information to eth_estimateGas (#10519) 2019-03-27 14:21:08 +01:00
executive.rs Removed machine abstraction from ethcore (#10791) 2019-06-26 14:16:05 +02:00
externalities.rs Removed machine abstraction from ethcore (#10791) 2019-06-26 14:16:05 +02:00
factory.rs Fix deprectation warnings on nightly (#10746) 2019-06-14 18:48:35 +02:00
lib.rs Extract AccountDB to account-db (#10839) 2019-07-04 17:50:31 +02:00
machine.rs removed additional_params method (#10818) 2019-06-29 09:31:15 +02:00
pod_state.rs idiomatic changes to PodState (#10834) 2019-07-03 10:57:50 +02:00
state_db.rs ethcore does not use byteorder (#10829) 2019-07-02 09:06:27 +02:00
test_helpers.rs Break circular dependency between Client and Engine (part 1) (#10833) 2019-07-04 13:43:20 +02:00
transaction_ext.rs misc: bump license header to 2019 (#10135) 2019-01-07 11:33:07 +01:00
tx_filter.rs Upgrade ethereum types (#10670) 2019-06-03 15:36:21 +02:00