Files
gpu/ecrecover_nocgo.go
zeekay c9336309e7 feat: add BatchEcrecover using lux_gpu_ecrecover_batch C API
Provides Signature, EcrecoverResult types and BatchEcrecover function
required by luxfi/evm parallel tx verification. Uses the native
lux_gpu_ecrecover_batch for GPU-accelerated secp256k1 recovery.
2026-04-09 08:49:27 -07:00

11 lines
216 B
Go

//go:build !cgo
package gpu
import "errors"
// BatchEcrecover is not available without CGO.
func BatchEcrecover(_ []Signature) ([]EcrecoverResult, error) {
return nil, errors.New("gpu: ecrecover requires CGO")
}