Age Manning
ba771282fa
Merges in validator client branch
2019-03-30 13:17:24 +11:00
Age Manning
eea772de3e
Implement block producer for validator client
2019-03-29 16:33:27 +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
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
d7289ab55e
Add gossip-test branch
2019-03-28 14:31:35 +11:00
Age Manning
1f437a3e7b
Implements RPC Server side of epoch duties
2019-03-27 21:08:28 +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
Luke Anderson
c9a7977d69
Renamed some functions, trying to get beaconnode attestation stuff to work.
2019-03-27 14:30:09 +11:00
Luke Anderson
1584469b7c
Renamed attestation -> attestation_data for fetch, but not publish, to acknowledge the difference in the spec. Also started implementing the gRPC get_attestation_data functionality in the BeaconNode.
2019-03-26 17:41:43 +11:00
Age Manning
7c31c052f3
Temp commit - Re-building validator RPC API
2019-03-26 15:59:00 +11:00
Paul Hauner
00b546e6b8
Update slot clock to use genesis slot
2019-03-26 15:44:28 +11:00
Paul Hauner
3756d8d681
Rename proto NodeInfo -> NodeInfoResponse
2019-03-26 15:04:39 +11:00
Paul Hauner
d4fecd8a84
Set GRPC block to be just SSZ
2019-03-26 12:32:38 +11:00
Luke Anderson
4cdeb6abe5
Progress towards validator signing attestations.
...
- Added a 'beacon_attester' RPC endpoint, so the BeaconNode can supply attestation data.
- Renamed 'attestation_data' to just 'attestation' throughout (except where it is actually just the data structure).
2019-03-25 18:32:27 +11:00
Age Manning
17cd5bb991
Adds genesis time to node info. Closes #256
2019-03-22 23:01:10 +11:00
Age Manning
0a59a73894
Add BeaconNodeService to RPC
2019-03-22 12:36:45 +11:00
Age Manning
e758e71753
Tidy services.proto
2019-03-22 12:13:48 +11:00
thojest
2215aa4b46
added protos specification for Attester and created first draft for attestation_grpc_client (lighthouse-255)
2019-03-15 11:44:39 +01: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
722a157367
Silence clippy lints from generated protos
2019-02-13 10:29:09 +11:00
Feng94
f218ab8a23
Change build root folder String to a Path
2019-01-28 02:19:53 +11:00
Feng94
84a9dbf8e4
Fix hardcoded string to use system constant for directory separator
2019-01-24 23:48:52 +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
ad6ae21676
Remove PATCH versions from cargo deps
2019-01-21 19:37:30 +11:00
Paul Hauner
c8fc92e63e
Add description to protos
crate.
2019-01-21 18:52:22 +11:00
Paul Hauner
053a9b1c31
Remove auto-generated grpc files
2019-01-21 18:46:01 +11:00
Paul Hauner
d63d3c908b
Add validator duties proto service
2019-01-21 18:29:28 +11:00
Paul Hauner
27bfec6692
Add duties service to validator
2019-01-16 20:38:53 +11:00
Paul Hauner
40cf650563
Add validator_node, restructure binaries, gRPC.
...
This is a massive commit which restructures the workspace, adds a very
basic, untested, validator client and some very basic, non-functioning
gRPC endpoints to the beacon-node.
2019-01-14 12:55:55 +11:00