mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
- Fix race in Transitive.Start() by passing context to goroutines instead of accessing struct field directly - Add atomic operations to trackingMockBlock for thread-safe Accept/Reject call counting in tests - Add race detector build tags to skip performance timing checks in quasar tests when running with -race flag (10-20x overhead)
8 lines
122 B
Go
8 lines
122 B
Go
// Copyright (C) 2025, Lux Industries Inc All rights reserved.
|
|
|
|
//go:build race
|
|
|
|
package quasar
|
|
|
|
const raceEnabled = true
|