Refactored rx-slow-hash.c
- Straight-forward call interface: `void rx_slow_hash(const char *seedhash, const void *data, size_t length, char *result_hash)`
- Consensus chain seed hash is now updated by calling `rx_set_main_seedhash` whenever a block is added/removed or a reorg happens
- `rx_slow_hash` will compute correct hash no matter if `rx_set_main_seedhash` was called or not (the only difference is performance)
- New environment variable `MONERO_RANDOMX_FULL_MEM` to force use the full dataset for PoW verification (faster block verification)
- When dataset is used for PoW verification, dataset updates don't stall other threads (verification is done in light mode then)
- When mining is running, PoW checks now also use dataset for faster verification
Solution appears to be to update /src/xmr.cpp with the new function format.
The most recent Monero release tag is v0.18.1.2, which the pool builds fine against. When the next Monero release is tagged, I will merge branch next to master.
Current build error with latest release version of monero 0.18
With more research this is caused by a change 2 weeks ago to rx_slow_hash. https://github.com/monero-project/monero/commit/dab7d01dc0357a926993e5205d02a063b6bdcda0
Solution appears to be to update /src/xmr.cpp with the new function format.