diff --git a/install/generator-cyphernode/generators/app/features/000_cyphernode.js b/install/generator-cyphernode/generators/app/features/000_cyphernode.js index 82f69f8..301a9a4 100644 --- a/install/generator-cyphernode/generators/app/features/000_cyphernode.js +++ b/install/generator-cyphernode/generators/app/features/000_cyphernode.js @@ -13,6 +13,19 @@ module.exports = { message: 'What features do you want to add to your cyphernode?'+'\n', choices: utils._featureChoices() }, + { + type: 'list', + name: 'cyphernode_net', + default: utils._getDefault( 'cyphernode_net' ), + message: 'What net do you want to run on?'+'\n', + choices: [{ + name: "Testnet", + value: "testnet" + },{ + name: "Mainnet", + value: "mainnet" + }] + }, { type: 'input', name: 'cyphernode_xpub', diff --git a/install/generator-cyphernode/generators/app/features/100_bitcoin.js b/install/generator-cyphernode/generators/app/features/100_bitcoin.js index 3b7b959..cb93b06 100644 --- a/install/generator-cyphernode/generators/app/features/100_bitcoin.js +++ b/install/generator-cyphernode/generators/app/features/100_bitcoin.js @@ -14,14 +14,6 @@ module.exports = { name: 'bitcoin_prune', default: utils._getDefault( 'bitcoin_prune' ), message: 'Run bitcoin node in prune mode?'+'\n', - }, - { - when: featureCondition, - type: 'input', - name: 'bitcoin_external_ip', - default: utils._getDefault( 'bitcoin_external_ip' ), - validate: utils._ipValidator, - message: 'What external ip does your bitcoin full node have?'+'\n', }]; }, env: function( props ) { diff --git a/install/generator-cyphernode/generators/app/features/200_lightning.js b/install/generator-cyphernode/generators/app/features/200_lightning.js index a695231..70d8f18 100644 --- a/install/generator-cyphernode/generators/app/features/200_lightning.js +++ b/install/generator-cyphernode/generators/app/features/200_lightning.js @@ -24,6 +24,14 @@ module.exports = { value: 'lnd' } ] + }, + { + when: featureCondition, + type: 'input', + name: 'lightning_external_ip', + default: utils._getDefault( 'lightning_external_ip' ), + validate: utils._ipValidator, + message: 'What external ip does your lightning node have?'+'\n', }]; }, env: function( props ) {