Explorar o código

added epoch lag configuration

tevador %!s(int64=7) %!d(string=hai) anos
pai
achega
a1dc094c19
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  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