Danno Ferrin
770ce91779
Replace custom Clock with java.time.Clock ( #220 )
...
We create our own instance of Clock. However the java.time.Clock
provides what is needed and already exists on the platform.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
0c9dee764f
Fixed javadoc warnings ( #159 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
0fdd508b29
[NC-1582] Added iBFT 2.0 Hashing functions and header validation rules ( #119 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
0dff893203
[EC-183] Add iBFT Prepare and Round Change RLP encoding and decoding ( #84 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ce033eee55
[NC-1384] Disable mining while catching up to chain head ( #125 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
acc8122bb9
Renamed the iBFT NEW_CHAIN_HEAD_HEADER event type to NEW_CHAIN_HEAD ( #114 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
ebe9f3e36d
[MINOR] Add missing finals. ( #128 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
tmohay
494f7b573c
Ibft tracks validating peers for multicasting ( #101 )
...
The Ibft consensus mechanism is responsible for sending a variety of
messages to other validating nodes in the network (provided they have
a point-to-point connection to them).
This change tracks which nodes have connected to the IBFT
subprotocol, and provides the functionality to only transmit messages
to nodes which are also validators.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
bb7b5423f6
[NC-1582] Moved all the legacy iBFT classes for block importing into the newly created ibftlegacy module ( #96 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
S. Matthew English
dde408c47c
[NC-1711] Ommer blocks should be considered valid even when they are from the future ( #92 )
...
* eliminate black for relevant tests
* partition TimestampValidationRule
* adapt existing tests
* further adaptions of status quo
* create creator
* adding ommer validator
* resolving builder sequence
* remove blank lines, fix comment
* rename classes
* remove unnecessary blank lines
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mark-terry
cb01231ac0
[NC-862] License headers applied to non-java files ( #93 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
6c2fd5d875
[nc-1756] jsonrpc enabling for clique and ibft ( #91 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
4644fe0080
[NC-1582] Added ExtraData for iBFT 2.0 ( #37 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
6507f0300e
[NC-1508] Added iBFT 2.0 BlockTimerExpiry Event and realated timer management class ( #58 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
mark-terry
310bd4035c
Nc 862 spotless license headers ( #69 )
...
* [NC-862] Added licenseHeader java rule to spotless.
* [NC-862] Spotless java headers applied.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
967a406252
[NC-1616] Added iBFT NewChainHeadHeader event and related blockchain observer ( #59 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Roberto Saltini
7ac1bb73c2
Added ibft_discardValidatorVote JSON RPC method ( #24 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Adrian Sutton
681b17cce1
[NC-1615] Upgrade ethereum reference tests ( #54 )
...
* Upgrade ethereum reference tests
* Add support for sealEngine: NoProof by skipping PoW validation for ommer headers as well. Production code continues to always use full validation for ommers.
* Add Constantinople to reference test schedules ready for when we enable Constantinople tests.
* Blacklist the new reference tests that are failing while we investigate them.
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Christopher Mckay
cf66277a57
changed all the imports to tech.pegasys packaging
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Christopher Mckay
f6ed2d3d02
renamed package paths
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
Chris Mckay
3c1e501a3d
[NC-1401] Votes in clique headers ( #35 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
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>
6 years ago
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>
6 years ago
Chris Mckay
75ce3a4f02
[MINOR] removing executable from files ( #14 )
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago
PegaSys Admin
7dfc2e4085
Initial commit
...
Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
6 years ago