mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
VerifyGroupedSignature previously verified each group signature sequentially in a per-iteration `if coronaThreshold.Verify(...)` loop. Replace with one call to coronaThreshold.VerifyBatch over the parallel (groupKey, message, sig) triples — internally a GOMAXPROCS-bounded worker pool, so N-group verification cost is now O(N / cores) instead of O(N). Also: keyera identifier rename caught by the same review pass: keyera.PulsarGroupID → keyera.CoronaGroupID keyera.PulsarKeyEraID → keyera.CoronaKeyEraID in epoch.go and grouped_threshold.go (the underlying luxfi/corona keyera package renamed the types when corona became canonical R-LWE; these were straggler references at the consumer.). Build: go build ./protocol/quasar/... PASS. Tests: TestGroupedEpochManager (7 subtests) PASS Full ./protocol/quasar/ sweep PASS 15.591s