blockbook/build/templates/backend/config/deeponion.conf
Liam Alford 4134934031 Add DeepOnion (#298)
* Add DeepOnion

* Fix config bugs

* Use base pack/unpck TX

* Fix empty array causing test failure.

* Fix config files and executable.

* Fix sync issue

* Fix integration tetsts
2019-11-18 17:51:45 +01:00

30 lines
653 B
Plaintext

{{define "main" -}}
daemon=1
server=1
{{if .Backend.Mainnet}}mainnet=1{{else}}testnet=1{{end}}
rpcuser={{.IPC.RPCUser}}
rpcpassword={{.IPC.RPCPass}}
rpcport={{.Ports.BackendRPC}}
txindex=1
zmqpubhashtx={{template "IPC.MessageQueueBindingTemplate" .}}
zmqpubhashblock={{template "IPC.MessageQueueBindingTemplate" .}}
rpcworkqueue=1100
maxmempool=2000
dbcache=1000
{{- if .Backend.AdditionalParams}}
# generated from additional_params
{{- range $name, $value := .Backend.AdditionalParams}}
{{- if eq $name "addnode"}}
{{- range $index, $node := $value}}
addnode={{$node}}
{{- end}}
{{- else}}
{{$name}}={{$value}}
{{- end}}
{{- end}}
{{- end}}
{{end}}