lighthouse/common
Michael Sproul 3486d6a809 Use OS file locks in validator client (#1958)
## Issue Addressed

Closes #1823

## Proposed Changes

* Use OS-level file locking for validator keystores, eliminating problems with lockfiles lingering after ungraceful shutdowns (`SIGKILL`, power outage). I'm using the `fs2` crate because it's cross-platform (unlike `file-lock`), and it seems to have the most downloads on crates.io.
* Deprecate + disable `--delete-lockfiles` CLI param, it's no longer necessary
* Delete the `validator_dir::Manager`, as it was mostly dead code and was only used in the `validator list` command, which has been rewritten to read the validator definitions YAML instead.

## Additional Info

Tested on:

- [x] Linux
- [x] macOS
- [x] Docker Linux
- [x] Docker macOS
- [ ] Windows
2020-11-26 11:25:46 +00:00
..
account_utils Added fn to count unicode characters (#1903) 2020-11-16 09:30:34 +00:00
clap_utils Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
compare_fields Check for unused deps in CI (#1262) 2020-06-14 10:59:50 +10:00
compare_fields_derive Update external deps (#1711) 2020-10-05 08:22:19 +00:00
deposit_contract Update external deps (#1711) 2020-10-05 08:22:19 +00:00
directory Change --testnet flag to --network (#1751) 2020-11-23 23:54:03 +00:00
eth2 Improve UX whilst VC is waiting for genesis (#1915) 2020-11-23 01:00:22 +00:00
eth2_config Add mainnet genesis state (#1959) 2020-11-24 23:21:00 +11:00
eth2_interop_keypairs Update external deps (#1711) 2020-10-05 08:22:19 +00:00
eth2_testnet_config Update ENR construction and mainnet bootnodes (#1968) 2020-11-25 22:48:07 +00:00
eth2_wallet_manager Use OS file locks in validator client (#1958) 2020-11-26 11:25:46 +00:00
hashset_delay Add UPnP support for Lighthouse (#1587) 2020-10-03 10:07:47 +10:00
lighthouse_metrics Implement slasher (#1567) 2020-11-23 03:43:22 +00:00
lighthouse_version Bump to v1.0.0, run cargo update 2020-11-25 02:02:19 +11:00
lockfile Use OS file locks in validator client (#1958) 2020-11-26 11:25:46 +00:00
logging Update external deps (#1711) 2020-10-05 08:22:19 +00:00
lru_cache Keep track of failed head chains and prevent re-lookups (#1534) 2020-08-18 03:54:09 +00:00
remote_signer_consumer [Remote signer] Add signer consumer lib (#1763) 2020-11-19 04:04:52 +00:00
rest_types Add UPnP support for Lighthouse (#1587) 2020-10-03 10:07:47 +10:00
slot_clock Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
task_executor Update to spec v1.0.0-rc.0 and BLSv4 (#1765) 2020-10-28 22:19:38 +00:00
test_random_derive Update external deps (#1711) 2020-10-05 08:22:19 +00:00
validator_dir Use OS file locks in validator client (#1958) 2020-11-26 11:25:46 +00:00
warp_utils Add metrics to VC (#1954) 2020-11-26 01:10:51 +00:00
README.md Directory Restructure (#1163) 2020-05-18 21:24:23 +10:00

eth2

Common crates containing eth2-specific logic.