25 lines
535 B
Ruby
25 lines
535 B
Ruby
node.default['bitcoin']['username'] = 'bitcoind'
|
|
node.default['bitcoin']['usergroup'] = 'bitcoind'
|
|
node.default['bitcoin']['datadir'] = '/mnt/data/bitcoin'
|
|
|
|
node.default['bitcoin']['conf'] = {
|
|
testnet: 0,
|
|
irc: 1,
|
|
dnsseed: 1,
|
|
upnp: 1,
|
|
checkblocks: 10,
|
|
checklevel: 1,
|
|
txindex: 1,
|
|
whitelist: "127.0.0.1",
|
|
listen: 1,
|
|
server: 1,
|
|
rpcport: 8332,
|
|
rpcssl: 0,
|
|
rpcuser: 'bitcoind',
|
|
rpcbind: "127.0.0.1:8336",
|
|
port: 8335,
|
|
gen: 0,
|
|
zmqpubrawblock: "tcp://127.0.0.1:8337",
|
|
zmqpubrawtx: "tcp://127.0.0.1:8338"
|
|
}
|