github.com/dawnbass68/maddcash@v0.0.0-20201001105353-c91c12cb36e5/build/templates/backend/config/bitcoin_like.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  rpcuser={{.IPC.RPCUser}}
     7  rpcpassword={{.IPC.RPCPass}}
     8  rpcport={{.Ports.BackendRPC}}
     9  txindex=1
    10  
    11  zmqpubhashtx={{template "IPC.MessageQueueBindingTemplate" .}}
    12  zmqpubhashblock={{template "IPC.MessageQueueBindingTemplate" .}}
    13  
    14  rpcworkqueue=1100
    15  maxmempool=2000
    16  dbcache=1000
    17  
    18  {{- if .Backend.AdditionalParams}}
    19  # generated from additional_params
    20  {{- range $name, $value := .Backend.AdditionalParams}}
    21  {{- if eq $name "addnode"}}
    22  {{- range $index, $node := $value}}
    23  addnode={{$node}}
    24  {{- end}}
    25  {{- else}}
    26  {{$name}}={{$value}}
    27  {{- end}}
    28  {{- end}}
    29  {{- end}}
    30  {{end}}