Commit Graph

19 Commits

Author SHA1 Message Date
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
Luke Anderson
bda381a264 More progress towards getting the attester working. 2019-03-28 09:38:39 +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
cde049df1f Adds RwLock to EpochDuty 2019-03-27 19:52:05 +11:00
Age Manning
46181408ba Epoch duties update 2019-03-27 19:47:08 +11:00
Age Manning
7c31c052f3 Temp commit - Re-building validator RPC API 2019-03-26 15:59:00 +11:00
Age Manning
ffb3d94355 Wrap the duty manager in a future for its own thread 2019-03-26 11:59:48 +11:00
Age Manning
a8a3f1c318 Removes duty manager service in favour of tokio timer 2019-03-25 18:03:23 +11:00
Age Manning
3ad18b4367 Adds manager duties to validator runtime 2019-03-25 17:47:23 +11:00
Age Manning
ca9af49d4e Adds error handling to validator client service 2019-03-25 16:50:15 +11:00
Age Manning
4fdb01e5f0 Correct slot duration interval timer 2019-03-25 15:10:26 +11:00
Age Manning
18493a4df4 Adds microsecond duration to validator client 2019-03-24 09:24:50 +11:00
Age Manning
56d33d2e26 Basic tokio slot stream implementation 2019-03-23 11:48:36 +11:00
Age Manning
318d6a976e Initial tokio timer interval 2019-03-23 00:36:48 +11:00
Age Manning
547a750d78 Setup basic structure before tokio runtime addition 2019-03-22 23:21:26 +11:00
Age Manning
17cd5bb991 Adds genesis time to node info. Closes #256 2019-03-22 23:01:10 +11:00
Age Manning
61fc946d54 Adds initial connection to beacon node with retries 2019-03-22 22:50:16 +11:00
Age Manning
c4454289d6 Initial implementation of validator service 2019-03-22 17:27:07 +11:00