From 47a96dedd0c81e4c6c0cbe7c6d4d4091530b6545 Mon Sep 17 00:00:00 2001 From: Taylor Helsper Date: Thu, 3 Jun 2021 22:02:34 -0500 Subject: [PATCH] Remove bitcoind config from LndHub --- rootfs/standard/usr/bin/mynode_startup.sh | 2 +- rootfs/standard/usr/share/mynode/lndhub-config.js | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/rootfs/standard/usr/bin/mynode_startup.sh b/rootfs/standard/usr/bin/mynode_startup.sh index 139a7975..7b2552ac 100755 --- a/rootfs/standard/usr/bin/mynode_startup.sh +++ b/rootfs/standard/usr/bin/mynode_startup.sh @@ -552,7 +552,7 @@ sudo usermod -aG plugdev bitcoin BTCRPCPW=$(cat /mnt/hdd/mynode/settings/.btcrpcpw) if [ -f /opt/mynode/LndHub/config.js ]; then cp -f /usr/share/mynode/lndhub-config.js /opt/mynode/LndHub/config.js - sed -i "s/mynode:.*@/mynode:$BTCRPCPW@/g" /opt/mynode/LndHub/config.js + #sed -i "s/mynode:.*@/mynode:$BTCRPCPW@/g" /opt/mynode/LndHub/config.js chown bitcoin:bitcoin /opt/mynode/LndHub/config.js fi if [ -f /opt/mynode/btc-rpc-explorer/.env ]; then diff --git a/rootfs/standard/usr/share/mynode/lndhub-config.js b/rootfs/standard/usr/share/mynode/lndhub-config.js index f35b052a..00b0046a 100644 --- a/rootfs/standard/usr/share/mynode/lndhub-config.js +++ b/rootfs/standard/usr/share/mynode/lndhub-config.js @@ -1,9 +1,10 @@ let config = { + enableUpdateDescribeGraph: false, postRateLimit: 100, rateLimit: 200, - bitcoind: { - rpc: 'http://mynode:bolt@127.0.0.1:8332/wallet/wallet.dat', - }, + //bitcoind: { + // rpc: 'http://mynode:bolt@127.0.0.1:8332/wallet/wallet.dat', + //}, redis: { port: 6379, host: '127.0.0.1',