Commit 3efbb216 authored by bitsoko services's avatar bitsoko services 👷🏿

Update index.js

parent 788f0624
......@@ -460,12 +460,12 @@ function setupLnd(passcode, mnemonic, onion){
if(isContractManager){
console.log('INFO! connecting to contract mothernode');
// isCM = ' --neutrino.connect=lnd-p2p.bitsoko.org ';
isCM = ' --neutrino.addpeer=btcd-mainnet.lightning.computer --neutrino.addpeer=rexcwzuqrhstfgthd5z7b4kxubj7xjkc7hxi6jzmeyfcg37eosmvfyqd.onion:9735 --protocol.option-scid-alias=false --protocol.zero-conf=true ';
isCM = ' --neutrino.addpeer=btcd-mainnet.lightning.computer --neutrino.addpeer=rexcwzuqrhstfgthd5z7b4kxubj7xjkc7hxi6jzmeyfcg37eosmvfyqd.onion:9735 --option-scid-alias=false --zero-conf=true ';
}else{
console.log('INFO! this is contract mothernode');
isCM = ' --neutrino.addpeer=btcd-mainnet.lightning.computer --neutrino.addpeer=rexcwzuqrhstfgthd5z7b4kxubj7xjkc7hxi6jzmeyfcg37eosmvfyqd.onion:9735 --protocol.option-scid-alias=false --protocol.zero-conf=true ';
isCM = ' --neutrino.addpeer=btcd-mainnet.lightning.computer --neutrino.addpeer=rexcwzuqrhstfgthd5z7b4kxubj7xjkc7hxi6jzmeyfcg37eosmvfyqd.onion:9735 --option-scid-alias=false --zero-conf=true ';
}
var runCmd = 'lnd --bitcoin.active --bitcoin.mainnet '+isCM+'--debuglevel=info --autopilot.active --bitcoin.node=neutrino --restlisten=0.0.0.0:'+RESTport+' --listen=0.0.0.0:'+LISTENport+' --rpclisten=0.0.0.0:'+GRPCport+' --wtclient.active --watchtower.listen='+WTport+' --wtclient.sweep-fee-rate=10 --feeurl=https://nodes.lightning.computer/fees/v1/btc-fee-estimates.json --watchtower.active --maxpendingchannels=5 --db.bolt.auto-compact --gc-canceled-invoices-on-the-fly --sync-freelist --stagger-initial-reconnect --bitcoin.basefee=10000 --bitcoin.feerate=25000 --tlsextradomain='+onion+' --tlsextraip=10.144.51.69 --tlsextraip=127.0.0.1';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment