chef/site-cookbooks/kosmos-bitcoin/attributes/default.rb

23 lines
539 B
Ruby

node.default['bitcoin']['username'] = 'bitcoind'
node.default['bitcoin']['usergroup'] = 'bitcoind'
node.default['bitcoin']['datadir'] = '/mnt/data/bitcoin'
node.default['bitcoin']['network'] = 'mainnet'
node.default['bitcoin']['conf'] = {
irc: 1,
dnsseed: 1,
upnp: 1,
checkblocks: 10,
checklevel: 1,
txindex: 1,
whitelist: '127.0.0.1',
listen: 1,
server: 1,
rpcssl: 0,
rpcuser: 'bitcoind',
rpcbind: "127.0.0.1:8336",
gen: 0,
zmqpubrawblock: 'tcp://127.0.0.1:8337',
zmqpubrawtx: 'tcp://127.0.0.1:8338'
}