@@ -330,7 +330,7 @@ export class NodeCommand extends BaseCommand {
330
330
* @private
331
331
*/
332
332
// TODO: move to KeyManager and remove List2 functionality
333
- _nodeGossipKeysTaskList ( keyFormat , nodeIds , keysDir , curDate = new Date ( ) , allNodeIds = null ) {
333
+ taskGenerateGossipKeys ( keyFormat , nodeIds , keysDir , curDate = new Date ( ) , allNodeIds = null ) {
334
334
allNodeIds = allNodeIds || nodeIds
335
335
if ( ! Array . isArray ( nodeIds ) || ! nodeIds . every ( ( nodeId ) => typeof nodeId === 'string' ) ) {
336
336
throw new IllegalArgumentError ( 'nodeIds must be an array of strings' )
@@ -765,7 +765,7 @@ export class NodeCommand extends BaseCommand {
765
765
task : async ( ctx , parentTask ) => {
766
766
const config = /** @type {NodeSetupConfigClass } **/ ctx . config
767
767
768
- const subTasks = self . _nodeGossipKeysTaskList ( config . keyFormat , config . nodeIds , config . keysDir , config . curDate )
768
+ const subTasks = self . taskGenerateGossipKeys ( config . keyFormat , config . nodeIds , config . keysDir , config . curDate )
769
769
// set up the sub-tasks
770
770
return parentTask . newListr ( subTasks , {
771
771
concurrent : false ,
@@ -1141,7 +1141,7 @@ export class NodeCommand extends BaseCommand {
1141
1141
title : 'Generate gossip keys' ,
1142
1142
task : async ( ctx , parentTask ) => {
1143
1143
const config = ctx . config
1144
- const subTasks = self . _nodeGossipKeysTaskList ( config . keyFormat , config . nodeIds , config . keysDir , config . curDate )
1144
+ const subTasks = self . taskGenerateGossipKeys ( config . keyFormat , config . nodeIds , config . keysDir , config . curDate )
1145
1145
// set up the sub-tasks
1146
1146
return parentTask . newListr ( subTasks , {
1147
1147
concurrent : false ,
@@ -1605,7 +1605,7 @@ export class NodeCommand extends BaseCommand {
1605
1605
title : 'Generate Gossip key' ,
1606
1606
task : async ( ctx , parentTask ) => {
1607
1607
const config = /** @type {NodeAddConfigClass } **/ ctx . config
1608
- const subTasks = self . _nodeGossipKeysTaskList ( config . keyFormat , [ config . nodeId ] , config . keysDir , config . curDate , config . allNodeIds )
1608
+ const subTasks = self . taskGenerateGossipKeys ( config . keyFormat , [ config . nodeId ] , config . keysDir , config . curDate , config . allNodeIds )
1609
1609
// set up the sub-tasks
1610
1610
return parentTask . newListr ( subTasks , {
1611
1611
concurrent : false ,
0 commit comments