pubmodaction;pubmoddecompose;pubmodelgamal;pubmodgovernance;pubmodhotkey;pubmodshare_tracking;pubmodstorage;pubmodtree_sync;pubmodtypes;pubmodvote_commitment;pubmodwitness;pubmodzkp1;pubmodzkp2;pubusetypes::*;/// Warm process-lifetime proving-key caches used by on-device voting proofs.
////// This is intentionally best-effort at the cache layer: callers should invoke
/// it from a background task before the first proof is needed.
pubfnwarm_proving_caches(){constKEYGEN_STACK_BYTES:usize=64*1024*1024;std::thread::Builder::new().name("voting-delegation-cache-warmup".to_string()).stack_size(KEYGEN_STACK_BYTES).spawn(zkp1::warm_delegation_proving_key).expect("spawn delegation proving cache warm-up thread").join().expect("proving cache warm-up thread panicked");}