key mismatch between miner and valdiator

This commit is contained in:
dan_s
2026-02-17 16:43:41 -06:00
parent 0da68ebbc7
commit 45dff7fb1b
2 changed files with 19225 additions and 1 deletions

View File

@@ -1149,7 +1149,7 @@ void static RandomXMiner()
rxdebug("%s: using initial key, interval=%d, lag=%d, Mining_height=%u\n", randomxInterval, randomxBlockLag, Mining_height);
// Use the initial key at the start of the chain, until the first key block
if( (Mining_height) < randomxInterval + randomxBlockLag) {
randomx_init_cache(randomxCache, &randomxKey, sizeof randomxKey);
randomx_init_cache(randomxCache, randomxKey, strlen(randomxKey));
rxdebug("%s: initialized cache with initial key\n");
} else {
rxdebug("%s: calculating keyHeight with randomxInterval=%d\n", randomxInterval);

19224
src/univalue/configure~ Executable file

File diff suppressed because it is too large Load Diff