lighthouse/validator_client/src
ethDreamer ba55e140ae Enable Compatibility with Windows (#2333)
## Issue Addressed

Windows incompatibility.

## Proposed Changes

On windows, lighthouse needs to default to STDIN as tty doesn't exist. Also Windows uses ACLs for file permissions. So to mirror chmod 600, we will remove every entry in a file's ACL and add only a single SID that is an alias for the file owner.

Beyond that, there were several changes made to different unit tests because windows has slightly different error messages as well as frustrating nuances around killing a process :/

## Additional Info

Tested on my Windows VM and it appears to work, also compiled & tested on Linux with these changes. Permissions look correct on both platforms now. Just waiting for my validator to activate on Prater so I can test running full validator client on windows.

Co-authored-by: ethDreamer <37123614+ethDreamer@users.noreply.github.com>
Co-authored-by: Michael Sproul <micsproul@gmail.com>
2021-05-19 23:05:16 +00:00
..
http_api Updated to comply with new clippy formatting rules (#2336) 2021-05-10 00:53:09 +00:00
http_metrics Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
attestation_service.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
beacon_node_fallback.rs VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00
block_service.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
check_synced.rs Remove duplicate log in BN fallback (#2116) 2021-01-06 03:01:48 +00:00
cli.rs Set graffiti per validator (#2044) 2021-03-02 22:35:46 +00:00
config.rs Add SensitiveUrl to redact user secrets from endpoints (#2326) 2021-05-04 01:59:51 +00:00
duties_service.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
fork_service.rs Add SensitiveUrl to redact user secrets from endpoints (#2326) 2021-05-04 01:59:51 +00:00
graffiti_file.rs Use generic BLS object instead of BLST (#2290) 2021-04-02 23:34:17 +00:00
initialized_validators.rs VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00
key_cache.rs Enable Compatibility with Windows (#2333) 2021-05-19 23:05:16 +00:00
lib.rs Add SensitiveUrl to redact user secrets from endpoints (#2326) 2021-05-04 01:59:51 +00:00
notifier.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00
validator_store.rs Optimize validator duties (#2243) 2021-03-17 05:09:57 +00:00