mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-11-14 17:39:16 +00:00
Remove bitcoind config from LndHub
This commit is contained in:
parent
e7b7ecceff
commit
47a96dedd0
|
@ -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
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue
Block a user