0

greetings need help unable to find function for light mode verification for hashes in RandomX source

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.