Files
Matt Hess 714721874e Add RandomX proof-of-work implementation with WASM acceleration
- Full RandomX implementation (light mode + full mode)
   - WASM-accelerated Argon2d cache init (37x faster than pure JS)
   - WASM-accelerated SuperscalarHash with SIMD support
   - Parallel dataset generation using worker threads (8 workers)
   - Light mode: ~4s init, Full mode: ~8min init
   - Mining utilities (difficulty calculation, block construction)
   - Progress callbacks for long-running operations

   Performance targets 2023+ platforms (WASM SIMD: Chrome 91+,
   Firefox 89+, Safari 16.4+, Node 16.4+)
2026-01-15 19:19:27 +00:00

25 lines
502 B
JSON

{
"targets": {
"release": {
"outFile": "build/randomx.wasm",
"textFile": "build/randomx.wat",
"optimizeLevel": 3,
"shrinkLevel": 1,
"converge": true,
"noAssert": true
},
"debug": {
"outFile": "build/randomx.debug.wasm",
"textFile": "build/randomx.debug.wat",
"debug": true
}
},
"options": {
"runtime": "stub",
"exportRuntime": true,
"importMemory": true,
"initialMemory": 4608,
"maximumMemory": 8192
}
}