mirror of
https://github.com/luxfi/consensus.git
synced 2026-09-24 00:26:58 +00:00
Add GPU orchestrator to quasar protocol for hardware-accelerated consensus: GPU Orchestrator (protocol/quasar/gpu*.go): - gpu.go: Pure Go stub implementation (default, !cgo build tag) - gpu_cgo.go: CGO implementation integrating crypto/gpu and corona/gpu - gpu_test.go: Comprehensive test suite for GPU operations Features: - BLS batch verification and signature aggregation - ML-DSA post-quantum signature operations - Threshold signature context (keygen, partial sign, combine) - Batch hashing (SHA3-256, SHA3-512, BLAKE3) - Corona GPU operations (NTT, polynomial ops, sampling) - Block verification combining BLS and threshold signatures The GPU orchestrator follows the composable architecture: - gpu.go (pure Go default) / gpu_cgo.go (CGO opt-in) - Integrates with corona/gpu for post-quantum threshold signatures - Works seamlessly with and without CGO enabled Also includes dependency updates and minor fixes.