more screens

This commit is contained in:
jash
2018-10-06 22:25:08 +02:00
committed by kexkey
parent ce8ccd2231
commit 16d78de422
3 changed files with 21 additions and 8 deletions

View File

@@ -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',

View File

@@ -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 ) {

View File

@@ -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 ) {