06:45:25 If this is planned to be a stable feature, can we have a C endpoint exposed for it, please? > Don't even need to create a new vm, see "test_switch" in src/tests.cpp 08:24:59 something along the lines of RANDOMX_EXPORT void randomx_vm_set_flags(randomx_vm *machine, randomx_flags flags);? 08:25:09 as it has set_cache and set_dataset already 08:25:19 and otherwise it's init as RANDOMX_EXPORT randomx_vm *randomx_create_vm(randomx_flags flags, randomx_cache *cache, randomx_dataset *dataset); 08:38:05 No, `randomx_vm_set_flags` won't work on the already created vm 08:38:22 Only v2 flag was implemented to be dynamic 08:39:23 Why C API for this? setFlagV2/clearFlagV2 are available in randomx_vm class, it should be enough for monerod 08:44:34 Adding an API for a one-time event seems an overkill 08:50:36 yeah, which is why just calling randomx_create_vm effectively just does this tbh 08:50:52 it's 2 MiB+ a bit of state if you want to keep two at the same time 08:51:18 If they want to use the C++ stuff then they have access to more