Install/configure LndHub
This commit is contained in:
21
site-cookbooks/kosmos-bitcoin/templates/lndhub.config.js.erb
Normal file
21
site-cookbooks/kosmos-bitcoin/templates/lndhub.config.js.erb
Normal file
@@ -0,0 +1,21 @@
|
||||
let config = {
|
||||
enableUpdateDescribeGraph: false,
|
||||
postRateLimit: 100,
|
||||
rateLimit: 200,
|
||||
forwardReserveFee: 0.01, // default 0.01
|
||||
intraHubFee: 0.003, // default 0.003
|
||||
bitcoind: {
|
||||
rpc: 'http://<%= @bitcoin_rpc_user %>:<%= @bitcoin_rpc_pass %>@<%= @bitcoin_rpc_host %>/wallet/wallet.dat',
|
||||
},
|
||||
redis: {
|
||||
port: 6379,
|
||||
host: '127.0.0.1',
|
||||
family: 4,
|
||||
db: 0,
|
||||
},
|
||||
lnd: {
|
||||
url: '<%= @lnd_rpc_host %>'
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = config;
|
||||
Reference in New Issue
Block a user