Paul Hauner
3487b16ce5
Add eth2_config
crate, integrate into val client
2019-06-08 20:21:50 -04:00
Paul Hauner
749f2fcb5f
Unify EthSpecs in Mainnet
and Minimal
2019-06-08 08:49:04 -04:00
Luke Anderson
3ad40dac9b
Fixed *all* cargo fmt
2019-04-08 15:39:26 +10:00
Luke Anderson
177a351462
Added deterministic keypair generation.
...
- The Account Manager has a new subcommand, allowing generation of deterministic keys given a particular validator index.
- Split functionality in generate_deterministic_keypair function
- Fixed up READMEs to reflect new functionality & correct naming.
2019-04-08 15:02:11 +10:00
Age Manning
d12ddae247
Builds attestation grpc implemention
2019-03-30 18:14:04 +11:00
Age Manning
d3a6d73153
Implements Signer generic for validator client and epoch duties
2019-03-30 14:27:37 +11:00
Age Manning
e418cd1183
Refactor main validator service
2019-03-29 23:45:53 +11:00
Age Manning
9cdb7bb716
Restructure of validator client service and block producer
2019-03-29 17:28:07 +11:00
Age Manning
eea772de3e
Implement block producer for validator client
2019-03-29 16:33:27 +11:00
Age Manning
6f0c0e47c3
Update Validator RPC and cache building
2019-03-28 14:32:02 +11:00
Age Manning
3ad18b4367
Adds manager duties to validator runtime
2019-03-25 17:47:23 +11:00
Age Manning
02039be400
Fix merge conflicts
2019-03-25 17:46:08 +11:00
Luke Anderson
2f49289c28
Merged master and fixed merge conflicts with Config updates.
2019-03-25 17:03:17 +11:00
Age Manning
ca9af49d4e
Adds error handling to validator client service
2019-03-25 16:50:15 +11:00
Luke Anderson
fba916a0d8
Updated validator config according to suggestions.
...
- Directory structure changed slightly
- Uses a filter_map instead of a for loop.
- All errors reading files does not prevent others from being read.
- The accounts manager needs to generate files first, with the same structure.
2019-03-23 15:46:51 +11:00
Age Manning
c4454289d6
Initial implementation of validator service
2019-03-22 17:27:07 +11:00
Age Manning
b2cd771a42
Shift argument passing into config module
2019-03-22 17:04:55 +11:00
Age Manning
4990569f68
Add BeaconNodeInfo RPC to validator client
2019-03-22 16:48:25 +11:00
Luke Anderson
9e47cb56e7
Fixed code appearance with rustfmt.
2019-03-20 16:27:58 +11:00
Luke Anderson
49f6e7ac65
Moved configuration around for validator client.
...
- Custom datadir/server argument logic moved into configuration, out of main.
- Updated the validator config directory structure, as per issue #253 suggestions
- Removed the 'generate 3 random keys' function
- Updated the README to reflect new structure
- Just exit if there are no keys, don't generate any (this is for accounts_manager, in a separate commit).
- Created a lib.rs file, so that the validator client configuration can be included by external crates.
2019-03-20 16:23:33 +11:00
thojest
d8099ae00c
started implementing BeaconNode for AttestationGrpcClient; included correct epoch_map for instantiation of Attester (lighthouse-255)
2019-03-18 21:19:44 +01: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
Luke Anderson
e942d7533b
A first go at persisting validator keys and handling configuration. Addresses issue #253 .
...
- Creates a keystore directory in the config
- Fetches serialized keys from the keystore directory
- If no keys, generates keys randomly, saves serialized keys to keystore dir.
2019-03-12 21:56:45 +11:00
thojest
8f3530f60c
created attester_service and started to create an attester_thread in main of validator_client (lighthouse-255)
2019-03-08 13:48:33 +01:00
Paul Hauner
5a21e19a31
Fix all compile errors from v0.4.0 update
2019-03-07 12:53:15 +11:00
Paul Hauner
93ce7b59e7
Merge branch 'master' into v0.4.0-types
2019-03-07 12:03:27 +11:00
Paul Hauner
663d39739f
Do project-wide s/epoch_length/slots_per_epoch/g
2019-03-04 17:51:54 +11:00
thojest
c28c07c17d
validator_client: added default_value for spec; used unreachable macro for custom spec (lighthouse-252)
2019-03-03 14:15:00 +01:00
thojest
ed7a081008
slightly adapted impossible error for validator_client (lighthouse-252)
2019-03-01 18:27:47 +01:00
thojest
f0ea691208
now possible to select ChainSpec by using CLI flag (lighthouse-252)
2019-03-01 18:19:08 +01: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
05ed778ccc
Remove unused var from block_producer
...
It was made redundant when `proposer_slots` was removed.
2019-02-13 07:39:00 +11:00
Paul Hauner
5e37e8a33a
Update validator_client
for spec v0.2.0
2019-02-12 12:57:17 +11:00
Paul Hauner
6c6ee4320d
Fix block_producer
naming to match attester
2019-02-05 16:47:59 +11:00
Paul Hauner
ea523c8658
Merge spec
crate into types
2019-01-25 13:52:21 +11:00
Paul Hauner
19417efa63
Fix compile errors from block_producer upgrades
2019-01-25 13:03:17 +11:00
Paul Hauner
8c0e634aa4
Add Signer to validator client
2019-01-24 11:50:34 +11:00
Paul Hauner
188434aaa0
Move block_propser -> eth/, impl for val client
2019-01-23 21:41:47 +11:00
Paul Hauner
8e935f93bc
Replace EpochDutiesMap with trait in BlockProducer
2019-01-23 21:01:46 +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
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
Paul Hauner
27bfec6692
Add duties service to validator
2019-01-16 20:38:53 +11:00
Paul Hauner
3891a6017a
Impl more validator client
2019-01-15 17:42:55 +11:00
Paul Hauner
b87ff828ef
Impl more validator logic
2019-01-15 15:52:25 +11:00