greetings need help unable to find function for light mode verification for hashes in RandomX source
Asked
Active
Viewed 106 times
1 Answers
1
"Light mode" just means don't alloc and init a 2080 MiB randomx_dataset (just use a randomx_cache, which is 256 MiB). So don't use the flag RANDOMX_FLAG_FULL_MEM when calling randomx_create_vm and pass it a NULL dataset.
Whether you are mining or verifying, you call the same randomx_calculate_hash function.
jtgrassie
- 19,601
- 4
- 17
- 54