pub(crate) fn mine_salt<T, F>(
salt: B256,
n_threads: usize,
check: F,
) -> Option<T>Expand description
Mines a salt by iterating B256 values in parallel until check returns Some.
Each of the n_threads threads starts at salt + thread_index and steps by n_threads,
ensuring non-overlapping coverage. Returns None only if all threads panicked.