Ver Fonte

added epoch lag configuration

tevador há 7 anos atrás
pai
commit
a1dc094c19
1 ficheiros alterados com 3 adições e 0 exclusões
  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
 //Number of blocks per epoch
 #define RANDOMX_EPOCH_BLOCKS       1024
 #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
 //Number of instructions in a RandomX program
 #define RANDOMX_PROGRAM_SIZE       256
 #define RANDOMX_PROGRAM_SIZE       256