// SPDX-License-Identifier: MIT
// Copyright (c) 2024 Praxis Contributors
//! Protocol-agnostic load-balancing strategies and endpoint types.
use ;
pub
pub
pub
pub
pub
pub
pub
// -----------------------------------------------------------------------------
// Shared LCG RNG
// -----------------------------------------------------------------------------
/// Multiplier for the LCG RNG (Knuth MMIX, truncated to 64 bits).
const LCG_A: u64 = 6_364_136_223_846_793_005;
/// Increment for the LCG RNG.
const LCG_C: u64 = 1_442_695_040_888_963_407;
/// Advance an atomic LCG state and return the new value.