mirror of
https://github.com/luxgpu/gpu.git
synced 2026-10-30 20:46:40 +00:00
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.
11 lines
216 B
Go
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")
|
|
}
|