Golang implementation of RandomX
Go to file
2024-04-11 17:50:36 +02:00
asm Rename fpu to asm package 2024-04-11 15:49:22 +02:00
.drone.yml Added 386 platform to round and tests 2024-04-11 10:36:10 +02:00
aes_const.go Upload files to '' 2019-10-15 19:45:39 +02:00
aes_hash.go Remove superfluous logging 2022-10-24 20:17:59 +02:00
argon2.go Split argon2 / blake2b code, use go 1.21 features 2024-04-11 17:50:36 +02:00
blake2b.go Split argon2 / blake2b code, use go 1.21 features 2024-04-11 17:50:36 +02:00
cache.go Split argon2 / blake2b code, use go 1.21 features 2024-04-11 17:50:36 +02:00
config.go Split argon2 / blake2b code, use go 1.21 features 2024-04-11 17:50:36 +02:00
dataset.go Reorganize cache/dataset 2024-04-11 16:04:59 +02:00
dataset_light.go Split argon2 / blake2b code, use go 1.21 features 2024-04-11 17:50:36 +02:00
go.mod Split argon2 / blake2b code, use go 1.21 features 2024-04-11 17:50:36 +02:00
go.sum Downgrade to require go 1.17 2024-04-11 09:40:23 +02:00
LICENSE Working RandomX with minimal assembly for rounding mode (AMD64,ARM64) 2024-04-11 08:46:34 +02:00
randomx.go Update 'randomx.go' 2019-10-15 20:31:51 +02:00
randomx_test.go Split argon2 / blake2b code, use go 1.21 features 2024-04-11 17:50:36 +02:00
README.md Rename fpu to asm package 2024-04-11 15:49:22 +02:00
register.go Reorganize cache/dataset 2024-04-11 16:04:59 +02:00
superscalar.go Reorganize cache/dataset 2024-04-11 16:04:59 +02:00
vm.go Reorganize cache/dataset 2024-04-11 16:04:59 +02:00
vm_instruction.go Rename fpu to asm package 2024-04-11 15:49:22 +02:00

RandomX (Golang Implementation)

Fork from git.dero.io/DERO_Foundation/RandomX. Also related, their Analysis of RandomX writeup.

Original code failed RandomX testcases and was implemented using big.Float.

This package implements RandomX without CGO, using only Golang code, pure float64 ops and two small assembly sections to implement CFROUND modes.

All test cases pass properly.

Supports 386 amd64 arm64 platforms due to rounding mode set via assembly. More can be added with supporting rounding mode under asm.