711 Commits

Author SHA1 Message Date
Chris Mckay
3c1e501a3d [NC-1401] Votes in clique headers (#35)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-12 12:58:58 +11:00
Chris Mckay
24781c49ee [MINOR] fix nonce values (#46)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-12 11:15:36 +11:00
tmohay
d39de8a89a Wired Mining into CliquePantheonController (#22)
This changeset allows pantheon to join, and act as a validator in a clique network.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-11 15:16:40 +11:00
Jason Frame
5d84af3b2b Expose the JSON RPC method clique getSignersAtHash (#18)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-11 09:32:35 +10:00
S. Matthew English
d01b29f150 [MINOR] Normalize references to Logger (#28)
* normalize references to Logger

* stanrdize on getLogger()

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-10 14:14:36 -04:00
tmohay
76a50ee180 Extract common components from MiningCoordinator (#21)
The MiningCoordinator has been split into common, and ethhash
specific funcationality.

This adversely affects the JSON RPC, in that all mining related
RPCs are now generic based on the type of miner being used.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-10 17:44:34 +11:00
tmohay
4934bd512d Clique Miner Executor added (#15)
This commit adds the clique specific implementation of the Miner
executor.

It is responsible for starting a clique mining operation when
requested. It also supplies the functionality to blend vanity data
with validator data etc. in the extra data field.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-10 14:54:18 +11:00
Chris Mckay
75ce3a4f02 [MINOR] removing executable from files (#14)
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-10 14:22:54 +11:00
tmohay
a754f57c01 Clique Block Miner added (#11)
Responsible for mining a block if the local  node address
is a validator, and has not recently mined a block.

This has necessitated a slight rework of helper functions,
and shuffling of tests.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-10 13:14:31 +11:00
tmohay
a35613f6ae Rework Clique Block Scheduler (#6)
Clique Block Scheduler has been reworked to prevent high rate blocks
being created when the parent block's timestamp is behind the system
clock.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-10 11:13:09 +11:00
PegaSys Admin
7dfc2e4085 Initial commit
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
2018-10-09 15:17:20 +00:00