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.
20 lines
562 B
AMPL
20 lines
562 B
AMPL
module github.com/luxfi/consensus/examples/quasar_full
|
|
|
|
go 1.25.5
|
|
|
|
replace github.com/luxfi/consensus => ../..
|
|
|
|
require (
|
|
github.com/luxfi/consensus v0.0.0
|
|
github.com/stretchr/testify v1.11.1
|
|
)
|
|
|
|
require (
|
|
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
|
|
github.com/kr/pretty v0.3.1 // indirect
|
|
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
|
|
github.com/rogpeppe/go-internal v1.14.1 // indirect
|
|
golang.org/x/exp v0.0.0-20250819193227-8b4c13bb791b // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|