lighthouse-pulse/slasher/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
..
array.rs update dependencies (#2032) 2020-12-07 08:20:33 +00:00
attestation_queue.rs Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
attester_record.rs Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
batch_stats.rs Add slasher broadcast (#2079) 2020-12-16 03:44:01 +00:00
block_queue.rs Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
config.rs Enable Compatibility with Windows (#2333) 2021-05-19 23:05:16 +00:00
database.rs Enable Compatibility with Windows (#2333) 2021-05-19 23:05:16 +00:00
error.rs Enable Compatibility with Windows (#2333) 2021-05-19 23:05:16 +00:00
lib.rs Fix slasher database schema migration to v2 (#2125) 2020-12-28 05:09:19 +00:00
metrics.rs Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
migrate.rs Fix slasher database schema migration to v2 (#2125) 2020-12-28 05:09:19 +00:00
slasher.rs Updated to comply with new clippy formatting rules (#2336) 2021-05-10 00:53:09 +00:00
test_utils.rs Clippy 1.49.0 updates and dht persistence test fix (#2156) 2021-01-19 00:34:28 +00:00
utils.rs Tweak slasher DB schema and pruning (#1948) 2020-11-23 21:33:51 +00:00