key mismatch between miner and valdiator
This commit is contained in:
@@ -1149,7 +1149,7 @@ void static RandomXMiner()
|
|||||||
rxdebug("%s: using initial key, interval=%d, lag=%d, Mining_height=%u\n", randomxInterval, randomxBlockLag, Mining_height);
|
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
|
// Use the initial key at the start of the chain, until the first key block
|
||||||
if( (Mining_height) < randomxInterval + randomxBlockLag) {
|
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");
|
rxdebug("%s: initialized cache with initial key\n");
|
||||||
} else {
|
} else {
|
||||||
rxdebug("%s: calculating keyHeight with randomxInterval=%d\n", randomxInterval);
|
rxdebug("%s: calculating keyHeight with randomxInterval=%d\n", randomxInterval);
|
||||||
|
|||||||
19224
src/univalue/configure~
Executable file
19224
src/univalue/configure~
Executable file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user