Sfoglia il codice sorgente

added epoch lag configuration

tevador 7 anni fa
parent
commit
a1dc094c19
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/configuration.h

+ 3 - 0
src/configuration.h

@@ -46,6 +46,9 @@ along with RandomX.  If not, see<http://www.gnu.org/licenses/>.
 //Number of blocks per epoch
 #define RANDOMX_EPOCH_BLOCKS       1024
 
+//Number of blocks between the seed block and the start of new epoch
+#define RANDOMX_EPOCH_LAG          64
+
 //Number of instructions in a RandomX program
 #define RANDOMX_PROGRAM_SIZE       256