removed electrum feature

This commit is contained in:
jash
2018-11-03 12:32:58 +01:00
committed by kexkey
parent 210d9aa5bf
commit 283d4cf2b9
3 changed files with 0 additions and 49 deletions

View File

@@ -2,10 +2,5 @@
{
"name": "Lightning node",
"value": "lightning"
},
{
"name": "Electrum server",
"value": "electrum"
}
]

View File

@@ -1,43 +0,0 @@
const chalk = require('chalk');
const name = 'electrum';
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 [{
when: featureCondition,
type: 'list',
name: 'electrum_implementation',
default: utils._getDefault( 'electrum_implementation' ),
message: prefix()+'What electrum implementation do you want to use?'+utils._getHelp('electrum_implementation'),
choices: [
{
name: 'Electrum personal server',
value: 'eps'
},
{
name: 'Electrumx server',
value: 'elx'
}
]
}];
},
templates: function( props ) {
return [];
}
};

View File

@@ -1,7 +1,6 @@
INSTALLER_MODE=<%= installer_mode %>
BITCOIN_INTERNAL=<%= (bitcoin_mode==="internal"?'true':'false') %>
FEATURE_LIGHTNING=<%= (features.indexOf('lightning') != -1)?'true':'false' %>
FEATURE_ELECTRUM=<%= (features.indexOf('electrum') != -1)?'true':'false' %>
LIGHTNING_IMPLEMENTATION=<%= lightning_implementation %>
BITCOIN_DATAPATH=<%= bitcoin_datapath %>
LIGHTNING_DATAPATH=<%= lightning_datapath %>