Files
zeekay 641bc4f4a9 feat(quasar): add GPU orchestrator for consensus acceleration
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.
2025-12-30 14:38:53 -08:00

14 lines
334 B
AMPL

module github.com/luxfi/consensus/examples/01-simple-bridge
go 1.24.5
require github.com/luxfi/dex v0.0.0
require (
github.com/gorilla/websocket v1.5.4-0.20250319132907-e064f32e3674 // indirect
github.com/shopspring/decimal v1.4.0 // indirect
golang.org/x/net v0.48.0 // indirect
)
replace github.com/luxfi/dex => ../../../dex