mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-02-04 04:04:18 +01:00
added lightning_implementation to installer config
This commit is contained in:
@@ -3,3 +3,4 @@ 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 %>
|
||||
@@ -15,7 +15,11 @@ install_docker() {
|
||||
fi
|
||||
|
||||
if [[ $FEATURE_LIGHTNING == true ]]; then
|
||||
build_docker_image ../SatoshiPortal/dockers/$arch/LN/c-lightning cyphernode/clightning
|
||||
if [[ $LIGHTNING_IMPLEMENTATION == "c-lightning" ]]; then
|
||||
build_docker_image ../SatoshiPortal/dockers/$arch/LN/c-lightning cyphernode/clightning
|
||||
elif [[ $LIGHTNING_IMPLEMENTATION == "lnd" ]]; then
|
||||
trace "lnd is not supported right now"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ $FEATURE_OTSCLIENT == true ]]; then
|
||||
|
||||
Reference in New Issue
Block a user