diff --git a/install/generator-cyphernode/generators/app/features.json b/install/generator-cyphernode/generators/app/features.json index 56ede64..bfe2e2f 100644 --- a/install/generator-cyphernode/generators/app/features.json +++ b/install/generator-cyphernode/generators/app/features.json @@ -4,10 +4,6 @@ "value": "lightning" }, - { - "name": "Open timestamps client", - "value": "otsclient" - }, { "name": "Electrum server", "value": "electrum" diff --git a/install/generator-cyphernode/generators/app/prompters/400_otsclient.js b/install/generator-cyphernode/generators/app/prompters/400_otsclient.js deleted file mode 100644 index ad78afd..0000000 --- a/install/generator-cyphernode/generators/app/prompters/400_otsclient.js +++ /dev/null @@ -1,27 +0,0 @@ -const chalk = require('chalk'); - -const name = 'otsclient'; - -const capitalise = function( txt ) { - return txt.charAt(0).toUpperCase() + txt.substr(1); -}; - -const prefix = function() { - return chalk.green(capitalise(name)+': '); -}; - -const featureCondition = function(props) { - return props.features && props.features.indexOf( name ) != -1; -}; - -module.exports = { - name: function() { - return name; - }, - prompts: function( utils ) { - return []; - }, - templates: function( props ) { - return []; - } -}; \ No newline at end of file diff --git a/install/generator-cyphernode/generators/app/templates/installer/config.sh b/install/generator-cyphernode/generators/app/templates/installer/config.sh index 028131f..79c3aa7 100644 --- a/install/generator-cyphernode/generators/app/templates/installer/config.sh +++ b/install/generator-cyphernode/generators/app/templates/installer/config.sh @@ -1,7 +1,6 @@ INSTALLER_MODE=<%= installer_mode %> BITCOIN_INTERNAL=<%= (bitcoin_mode==="internal"?'true':'false') %> FEATURE_LIGHTNING=<%= (features.indexOf('lightning') != -1)?'true':'false' %> -FEATURE_OTSCLIENT=<%= (features.indexOf('otsclient') != -1)?'true':'false' %> FEATURE_ELECTRUM=<%= (features.indexOf('electrum') != -1)?'true':'false' %> LIGHTNING_IMPLEMENTATION=<%= lightning_implementation %> BITCOIN_DATAPATH=<%= bitcoin_datapath %>