Files
prysm/changelog/pvl-active-val-count-lock.md
Preston Van Loon 577899bfec P2p active val count lock (#15955)
* Add a lock for p2p computation of active validator count and limit only to topics that need it.

* Changelog fragment

* Update gossip_scoring_params.go

Wrap errors
2025-10-31 15:25:18 +00:00

313 B

Fixed

  • Changed the behavior of topic subscriptions such that only topics that require the active validator count will compute that value.
  • Added a Mutex to the computation of active validator count during topic subscription to avoid a race condition where multiple goroutines are computing the same work.