lighthouse/beacon_node
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
..
beacon_chain Enable Compatibility with Windows (#2333) 2021-05-19 23:05:16 +00:00
client Clean up warnings (#2240) 2021-04-12 00:57:43 +00:00
eth1 Updated to comply with new clippy formatting rules (#2336) 2021-05-10 00:53:09 +00:00
eth2_libp2p Updated to comply with new clippy formatting rules (#2336) 2021-05-10 00:53:09 +00:00
genesis Add SensitiveUrl to redact user secrets from endpoints (#2326) 2021-05-04 01:59:51 +00:00
http_api Updated to comply with new clippy formatting rules (#2336) 2021-05-10 00:53:09 +00:00
http_metrics Switch back to warp with cors wildcard support (#2211) 2021-02-18 22:33:12 +00:00
network Updated to comply with new clippy formatting rules (#2336) 2021-05-10 00:53:09 +00:00
operation_pool Pack attestations into blocks in parallel (#2307) 2021-04-13 05:27:42 +00:00
src Add testing for beacon node and validator client CLI flags (#2311) 2021-05-06 00:36:22 +00:00
store VC: accept unknown fields in chain spec (#2277) 2021-03-26 04:53:57 +00:00
tests Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
timer Update to tokio 1.1 (#2172) 2021-02-10 23:29:49 +00:00
websocket_server Server sent events (#1920) 2020-12-04 00:18:58 +00:00
Cargo.toml Add SensitiveUrl to redact user secrets from endpoints (#2326) 2021-05-04 01:59:51 +00:00