lighthouse/beacon_node
Michael Sproul 426b3001e0 Fix race condition in seen caches (#1937)
## Issue Addressed

Closes #1719

## Proposed Changes

Lift the internal `RwLock`s and `Mutex`es from the `Observed*` data structures to resolve the race conditions described in #1719.

Most of this work was done by @paulhauner on his `lift-locks` branch, I merely updated it for the current `master` and checked over it.

## Additional Info

I think it would be prudent to test this on a testnet or two before mainnet launch, just to be sure that the extra lock contention doesn't negatively impact performance.
2020-11-22 23:02:51 +00:00
..
beacon_chain Fix race condition in seen caches (#1937) 2020-11-22 23:02:51 +00:00
client Fix metrics http server error messages (#1946) 2020-11-22 03:39:13 +00:00
eth1 Expand eth1 block cache, add more logs (#1938) 2020-11-21 00:26:15 +00:00
eth2_libp2p Add additional libp2p tests (#1867) 2020-11-19 22:32:09 +00:00
genesis Return eth1-related data via the API (#1797) 2020-11-02 00:37:30 +00:00
http_api Fix metrics http server error messages (#1946) 2020-11-22 03:39:13 +00:00
http_metrics Support pre-flight CORS check (#1772) 2020-10-22 04:47:27 +00:00
network Move some rpc processing to the beacon_processor (#1936) 2020-11-19 23:33:44 +00:00
operation_pool Update pool/attestations and committees endpoints (#1899) 2020-11-18 23:31:39 +00:00
src Expand eth1 block cache, add more logs (#1938) 2020-11-21 00:26:15 +00:00
store Refine compaction (#1916) 2020-11-17 09:10:53 +00:00
tests Implement standard eth2.0 API (#1569) 2020-10-01 11:12:36 +10:00
timer Upgrade discovery and restructure task execution (#1693) 2020-10-05 18:45:54 +11:00
websocket_server Update external deps (#1711) 2020-10-05 08:22:19 +00:00
Cargo.toml Bump to v0.3.5 (#1927) 2020-11-18 00:44:28 +00:00