lighthouse/beacon_node/beacon_chain
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
..
src Fix race condition in seen caches (#1937) 2020-11-22 23:02:51 +00:00
tests Implement database temp states to reduce memory usage (#1798) 2020-10-23 01:27:51 +00:00
Cargo.toml Return eth1-related data via the API (#1797) 2020-11-02 00:37:30 +00:00