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