Vendor RandomX source, add bridge_randomx_hash() with static VM lifecycle. Key: LetheanRandomXv1. Input: header_hash || nonce. Co-Authored-By: Charon <charon@lethean.io>
4 lines
No EOL
82 B
PHP
Executable file
4 lines
No EOL
82 B
PHP
Executable file
and rbx, RANDOMX_CACHE_MASK
|
|
shl rbx, 6
|
|
add rbx, rdi
|
|
prefetchnta byte ptr [rbx] |