github.com/dawnbass68/maddcash@v0.0.0-20201001105353-c91c12cb36e5/build/templates/backend/config/bitcoin.conf (about) 1 {{define "main" -}} 2 daemon=1 3 server=1 4 {{if .Backend.Mainnet}}mainnet=1{{else}}testnet=1{{end}} 5 nolisten=1 6 txindex=1 7 disablewallet=1 8 9 zmqpubhashtx={{template "IPC.MessageQueueBindingTemplate" .}} 10 zmqpubhashblock={{template "IPC.MessageQueueBindingTemplate" .}} 11 12 rpcworkqueue=1100 13 maxmempool=2000 14 dbcache=1000 15 16 {{- if .Backend.AdditionalParams}} 17 # generated from additional_params 18 {{- range $name, $value := .Backend.AdditionalParams}} 19 {{- if eq $name "addnode"}} 20 {{- range $index, $node := $value}} 21 addnode={{$node}} 22 {{- end}} 23 {{- else}} 24 {{$name}}={{$value}} 25 {{- end}} 26 {{- end}} 27 {{- end}} 28 29 {{if .Backend.Mainnet}}[main]{{else}}[test]{{end}} 30 {{generateRPCAuth .IPC.RPCUser .IPC.RPCPass -}} 31 rpcport={{.Ports.BackendRPC}} 32 33 {{end}}