Add Bcash specific backend configuration after backend upgrade
This commit is contained in:
parent
e234186f6a
commit
094be77ceb
30
build/templates/backend/config/bcash.conf
Normal file
30
build/templates/backend/config/bcash.conf
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
{{define "main" -}}
|
||||||
|
daemon=1
|
||||||
|
server=1
|
||||||
|
{{if .Backend.Mainnet}}{{else}}testnet=1{{end}}
|
||||||
|
nolisten=1
|
||||||
|
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}}
|
||||||
@ -37,7 +37,7 @@
|
|||||||
"service_additional_params_template": "",
|
"service_additional_params_template": "",
|
||||||
"protect_memory": true,
|
"protect_memory": true,
|
||||||
"mainnet": true,
|
"mainnet": true,
|
||||||
"server_config_file": "bitcoin_like.conf",
|
"server_config_file": "bcash.conf",
|
||||||
"client_config_file": "bitcoin_like_client.conf"
|
"client_config_file": "bitcoin_like_client.conf"
|
||||||
},
|
},
|
||||||
"blockbook": {
|
"blockbook": {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user