@@ -11,6 +11,8 @@ const bookkeepingConfigurations = {
1111 maxChunkSizeToHsm : "100"
1212} ;
1313
14+ const DIFFICULTY_TARGET_IN_HEX = DIFFICULTY_TARGET_IN_HEX ;
15+
1416module . exports = {
1517 init : {
1618 mineInitialBitcoin : true ,
@@ -185,7 +187,7 @@ module.exports = {
185187 federationId : 'second-federation' ,
186188 type : 'hsm' ,
187189 hsmPort : 9981 ,
188- hsmDifficultyTarget : '0x03' ,
190+ hsmDifficultyTarget : DIFFICULTY_TARGET_IN_HEX ,
189191 logbackFile : `${ federatesLogbackPath } /second-federation/fed2.xml` ,
190192 classpath : powpegNodeJarPath ,
191193 configFile : `${ nodesConfigPath } /second-federation/fed2.conf` ,
@@ -220,7 +222,7 @@ module.exports = {
220222 federationId : 'second-federation' ,
221223 type : 'hsm' ,
222224 hsmPort : 9983 ,
223- hsmDifficultyTarget : '0x03' ,
225+ hsmDifficultyTarget : DIFFICULTY_TARGET_IN_HEX ,
224226 logbackFile : `${ federatesLogbackPath } /second-federation/fed3.xml` ,
225227 classpath : powpegNodeJarPath ,
226228 configFile : `${ nodesConfigPath } /second-federation/fed3.conf` ,
@@ -307,7 +309,7 @@ module.exports = {
307309 federationId : 'third-federation' ,
308310 type : 'hsm' ,
309311 hsmPort : 9987 ,
310- hsmDifficultyTarget : '0x03' ,
312+ hsmDifficultyTarget : DIFFICULTY_TARGET_IN_HEX ,
311313 logbackFile : `${ federatesLogbackPath } /third-federation/fed2.xml` ,
312314 classpath : powpegNodeJarPath ,
313315 configFile : `${ nodesConfigPath } /third-federation/fed2.conf` ,
@@ -380,8 +382,8 @@ module.exports = {
380382 id : 'federator-4-third-federation' ,
381383 federationId : 'third-federation' ,
382384 type : 'hsm' ,
383- hsmPort : 9982 ,
384- hsmDifficultyTarget : '0x03' ,
385+ hsmPort : 9985 ,
386+ hsmDifficultyTarget : DIFFICULTY_TARGET_IN_HEX ,
385387 logbackFile : `${ federatesLogbackPath } /third-federation/fed4.xml` ,
386388 classpath : powpegNodeJarPath ,
387389 configFile : `${ nodesConfigPath } /third-federation/fed4.conf` ,
@@ -464,7 +466,7 @@ module.exports = {
464466 federationId : 'fourth-federation' ,
465467 type : 'hsm' ,
466468 hsmPort : 9991 ,
467- hsmDifficultyTarget : '0x03' ,
469+ hsmDifficultyTarget : DIFFICULTY_TARGET_IN_HEX ,
468470 logbackFile : `${ federatesLogbackPath } /fourth-federation/fed2.xml` ,
469471 classpath : powpegNodeJarPath ,
470472 configFile : `${ nodesConfigPath } /fourth-federation/fed2.conf` ,
@@ -537,8 +539,8 @@ module.exports = {
537539 id : 'federator-4-fourth-federation' ,
538540 federationId : 'fourth-federation' ,
539541 type : 'hsm' ,
540- hsmPort : 9988 ,
541- hsmDifficultyTarget : '0x03' ,
542+ hsmPort : 9989 ,
543+ hsmDifficultyTarget : DIFFICULTY_TARGET_IN_HEX ,
542544 logbackFile : `${ federatesLogbackPath } /fourth-federation/fed4.xml` ,
543545 classpath : powpegNodeJarPath ,
544546 configFile : `${ nodesConfigPath } /fourth-federation/fed4.conf` ,
0 commit comments