Paul Hauner
ef4e12da51
Tidy grpc and misc things
2019-11-23 12:16:41 +11:00
Paul Hauner
b79f88ceaa
Add interop keys and startup wait
2019-11-22 17:02:50 +11:00
Paul Hauner
c5071afdbc
Move ValidatorDirectory into validator_client
2019-11-19 11:01:49 +11:00
Paul Hauner
93afdac904
Integrate ValidatorDirectory with validator_client
2019-11-19 10:52:29 +11:00
Paul Hauner
5a9298d567
Unify logfile handling in environment crate.
2019-11-18 10:00:08 +11:00
Mehdi Zerouali
6ae62c952b
Change private key file permissions ( #551 )
...
* Import the libc crate for file permission management
* Tighten permissions on key file
* Fix code to match style guidelines
2019-10-02 11:16:34 +10:00
pscott
7eb82125ef
Clippy clean ( #536 )
...
* Change into_iter to iter
* Fix clippy 'easy' warnings
* Clippy eth2/utils
* Add struct NetworkInfo
* Clippy for types, utils, and beacon_node/store/src/iters.rs
* Cargo fmt
* Change foo to my_foo
* Remove complex signature
* suppress clippy warning for unit_value in benches
* Use enumerate instead of iterating over range
* Allow trivially_copy_pass_by_ref in serde_utils
2019-09-30 13:58:45 +10:00
Paul Hauner
3fe61f5044
Add additional logs to validator client
2019-09-10 17:40:21 -04:00
Paul Hauner
8c5a8034b6
Add whiteblock script, CLI options to support it
2019-09-10 12:13:54 -04:00
Paul Hauner
fe2cd2fc27
Add testing keypairs to validator client
2019-09-01 20:09:46 +10:00
Paul Hauner
4a69d01a37
Add first changes to validator CLI
2019-09-01 19:33:43 +10:00
Kirk Baird
08069704c1
Add cli flag for logging to JSON file
2019-07-10 10:27:44 +10:00
Paul Hauner
ab12787610
Update account manager config parsing
2019-06-09 04:34:56 -04:00
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
Paul Hauner
e74d49fc8a
Remove dupe info between ChainSpec and EthSpec
2019-06-08 07:57:25 -04:00
Paul Hauner
ce8ebeccbc
Rename BeaconStateTypes to EthSpec
2019-05-10 14:47:09 +10:00
Paul Hauner
0ac278f44d
Update validator_client for BeaconStateTypes
2019-05-09 12:19:52 +10:00
Paul Hauner
1913be0c6f
Fix clippy lints
2019-04-03 16:23:09 +11:00
Age Manning
6f0c0e47c3
Update Validator RPC and cache building
2019-03-28 14:32:02 +11:00
Luke Anderson
2f49289c28
Merged master and fixed merge conflicts with Config updates.
2019-03-25 17:03:17 +11:00
Luke Anderson
cc208670b2
Fixed formatting with rustfmt.
2019-03-23 15:52:17 +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
a4cfe68272
Thread beacon node RPC server
2019-03-22 16:46:52 +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
Luke Anderson
b000a0972e
Minor updates to Paul's comments.
...
- Bubbled up home_dir not found error
- Made comment show up in docs
2019-03-13 13:38:28 +11: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
f0ea691208
now possible to select ChainSpec by using CLI flag (lighthouse-252)
2019-03-01 18:19:08 +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
14dfc3223a
Add doc comments for validator service.
2019-01-22 12:38:11 +11:00
Paul Hauner
27bfec6692
Add duties service to validator
2019-01-16 20:38:53 +11:00