Commit Graph

25 Commits

Author SHA1 Message Date
Age Manning
ee693fb3e3 Add committe_len to gRPC parameters 2019-03-31 00:34:35 +11:00
Age Manning
9a6ecc4665 Add clippy suggestions 2019-03-30 19:58:19 +11:00
Age Manning
145cabc427 Build validator client AttestationProducer 2019-03-30 17:56:43 +11:00
Age Manning
bb8938c564 Use AttestationDuty in epoch duties 2019-03-30 17:14:38 +11:00
Age Manning
d3a6d73153 Implements Signer generic for validator client and epoch duties 2019-03-30 14:27:37 +11:00
Age Manning
ba771282fa Merges in validator client branch 2019-03-30 13:17:24 +11:00
Age Manning
9cdb7bb716 Restructure of validator client service and block producer 2019-03-29 17:28:07 +11:00
Luke Anderson
ba71e8adca Merged age-validator-client into luke's changes on validator_client, and fixed all the merge conflicts. 2019-03-28 20:55:07 +11:00
Age Manning
2a2660ce62 Cleanup debug issues, corrects RPC server logic 2019-03-28 17:24:49 +11:00
Age Manning
cc4ccd4017 Corrects read/write race condition 2019-03-28 17:16:43 +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
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
Age Manning
7c31c052f3 Temp commit - Re-building validator RPC API 2019-03-26 15:59:00 +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
85450ec254 Fix all compile errors from new Slot/Epoch types 2019-02-07 11:22:48 +11:00
Paul Hauner
14dfc3223a Add doc comments for validator service. 2019-01-22 12:38:11 +11:00
Paul Hauner
992f2101c2 Add short ID to logging for BLS public keys 2019-01-22 09:05:34 +11:00
Paul Hauner
b8ba0cd698 Split out validator index gRPC call 2019-01-21 22:10:43 +11:00
Paul Hauner
158ffd7d1c Separate validator fns into new proto service 2019-01-21 19:38:28 +11:00
Paul Hauner
24a27891b8 Run rustfmt on entire codebase
Signed-off-by: Paul Hauner <paul@paulhauner.com>
2019-01-21 18:42:21 +11:00
Paul Hauner
ab502de8ec Add validator duties gRPC service to val. client 2019-01-21 18:29:50 +11:00
Paul Hauner
ebba4977a8 Introduce threading to validator client 2019-01-16 21:44:44 +11:00