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+)
This commit is contained in:
Matt Hess
2026-01-15 19:19:27 +00:00
parent 2c128eb1c0
commit 714721874e
50 changed files with 11654 additions and 98 deletions
+16
View File
@@ -0,0 +1,16 @@
Commercial License Notice
This software is available under a commercial license for proprietary use,
closed-source redistribution, or other use cases not compatible with the
Apache License, Version 2.0.
Commercial licenses are offered by the Salvium project authors and may
include alternative terms, warranties, indemnification, or support.
For commercial licensing inquiries, contact:
mxhess@proton.me
Use of this software without a commercial license is governed solely by
the Apache License, Version 2.0.