Commit Graph

18 Commits

Author SHA1 Message Date
Age Manning
ba771282fa Merges in validator client branch 2019-03-30 13:17:24 +11:00
Age Manning
68b33620c2 Implement Display and clean validator output 2019-03-29 02:23:03 +11:00
Luke Anderson
87acaac8a0 Ran cargo fmt. 2019-03-28 21:01:47 +11:00
Luke Anderson
c9e8fe53bc Merged Age's changes and ripped out heaps of now obsolete stuff in the validator client.
- Replaced most instances of PublicKey with KeyPair, since they need to be passed into each validator thread now.
 - Pulled out a bunch of FreeAttestations, and replaced with regular Attestations (as per Paul's suggestion)
 - Started generalising pubkeys to 'signers' (though they are still just Keypairs)
 - Added validator_index into a few structs where relevant
 - Removed the SlotClock and DutiesReader from the BlockProducer and Attester services, since this logic is now abstracted to the higher level process.
 - Added a Hash trait to the Keypair (rather than just pubkey) which assumes the Pubkey uniquely defines it.
2019-03-28 15:50:57 +11:00
Age Manning
d3af95d1eb Returns attestation duty for validator client processing 2019-03-27 22:41:55 +11:00
Age Manning
75195bbbf4 Implement work finding logic in validator client 2019-03-27 22:22:51 +11:00
Age Manning
a315e9da49 Rename fields in validator client EpochDuties 2019-03-27 21:36:06 +11:00
Age Manning
46181408ba Epoch duties update 2019-03-27 19:47:08 +11:00
Age Manning
bc8ec51fe5 Update EpochDuty RPC and core functionality 2019-03-27 15:41:51 +11:00
Paul Hauner
f9964ebd8b Update Fork struct to v0.5.0 2019-03-15 13:33:45 +11:00
Paul Hauner
db3b6cba6d Introduce Fork struct to block_producer
It's a pretty crappy solution, IMO. It shouldn't really belong in
"duties" but this gets the job done for now.
2019-03-07 13:54:56 +11:00
Paul Hauner
663d39739f Do project-wide s/epoch_length/slots_per_epoch/g 2019-03-04 17:51:54 +11:00
Feng94
7ed606eca1 Modify block_producer references in other crates where needed for compilation 2019-02-19 00:21:23 +11:00
Paul Hauner
35c914baa6 Revert "Merge pull request #200 from sigp/new-structure"
This reverts commit d7a3545be1, reversing
changes made to 1da06c156c.
2019-02-14 12:09:18 +11:00
Paul Hauner
1d5ff4359a Strip out old code
All of these files have been moved to either:

- https://github.com/sigp/lighthouse-beacon
- https://github.com/sigp/lighthouse-validator
- https://github.com/sigp/lighthouse-common

For rationale, see: https://github.com/sigp/lighthouse/issues/197
2019-02-13 14:15:53 +11:00
Paul Hauner
5c1d0dcea5 Fix various clippy lints 2019-02-13 07:32:31 +11:00
Paul Hauner
85450ec254 Fix all compile errors from new Slot/Epoch types 2019-02-07 11:22:48 +11:00
Paul Hauner
36ee4aa81f Fix file naming inconsistencies.
File names should be the same as the struct that they contain.
2019-02-05 16:53:44 +11:00