add decred.conf (#292)

* Update decred.json

change config path to decred.conf

* Create decred.conf

* Create decred_client.conf

* Update decred.json

* Update decred.conf

* Update decred.conf

* Update decred_client.conf
This commit is contained in:
atomlab 2019-09-20 12:35:26 +03:00 committed by Martin
parent d4a7fcabd9
commit 28a8641c8e
3 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,10 @@
{{define "main" -}}
[Application Options]
nofilelogging=1
notls=1
txindex=1
addrindex=1
rpcuser={{.IPC.RPCUser}}
rpcpass={{.IPC.RPCPass}}
rpclisten=[127.0.0.1]:{{.Ports.BackendRPC}}
{{ end }}

View File

@ -0,0 +1,7 @@
{{define "main" -}}
[Application Options]
rpcuser=rpc
rpcpass=rpc
rpcserver=127.0.0.1:{{.Ports.BackendRPC}}
notls=1
{{ end }}

View File

@ -28,15 +28,15 @@
"verification_source": "36375985df1ba9a45bc11b4f6cdaed4f14ff6e5e9c46e17ef6e4f70a3349aba2",
"extract_command": "tar -C backend --strip 1 -xf",
"exclude_files": [],
"exec_command_template": "{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/dcrd --datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --rpcuser={{.IPC.RPCUser}} --rpcpass={{.IPC.RPCPass}} -C={{.Env.BackendDataPath}}/{{.Coin.Alias}}/dcrd.conf --nofilelogging --appdata={{.Env.BackendDataPath}}/{{.Coin.Alias}} --notls --txindex --addrindex --rpclisten=[127.0.0.1]:8061",
"exec_command_template": "{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/dcrd --datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --appdata={{.Env.BackendDataPath}}/{{.Coin.Alias}} -C={{.Env.BackendInstallPath}}/{{.Coin.Alias}}/{{.Coin.Alias}}.conf",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log",
"postinst_script_template": "",
"service_type": "simple",
"service_additional_params_template": "",
"protect_memory": false,
"mainnet": true,
"server_config_file": "bitcoin_like.conf",
"client_config_file": "bitcoin_like_client.conf",
"server_config_file": "decred.conf",
"client_config_file": "decred_client.conf",
"additional_params": {
"rpcmaxclients": 16,
"upnp": 0,