decred fixes

- set service type to simple as dcrd runs in the foreground.
- fix test rpclisten port
- set mainnet to false on testnet
- update mainnet explorer url.
This commit is contained in:
David Hill 2019-07-12 16:46:25 -04:00 committed by Martin
parent 0739825a6f
commit 6087b985bc
2 changed files with 7 additions and 7 deletions

View File

@ -31,7 +31,7 @@
"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 --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",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log", "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log",
"postinst_script_template": "", "postinst_script_template": "",
"service_type": "forking", "service_type": "simple",
"service_additional_params_template": "", "service_additional_params_template": "",
"protect_memory": false, "protect_memory": false,
"mainnet": true, "mainnet": true,
@ -48,7 +48,7 @@
"system_user": "blockbook-decred", "system_user": "blockbook-decred",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}", "internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}", "public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "https://mainnet.dcrdata.org/", "explorer_url": "https://dcrdata.decred.org/",
"additional_params": "", "additional_params": "",
"block_chain": { "block_chain": {
"parse": true, "parse": true,

View File

@ -28,13 +28,13 @@
"verification_source": "36375985df1ba9a45bc11b4f6cdaed4f14ff6e5e9c46e17ef6e4f70a3349aba2", "verification_source": "36375985df1ba9a45bc11b4f6cdaed4f14ff6e5e9c46e17ef6e4f70a3349aba2",
"extract_command": "tar -C backend --strip 1 -xf", "extract_command": "tar -C backend --strip 1 -xf",
"exclude_files": [], "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 --testnet --rpclisten=[127.0.0.1]18061", "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 --testnet --rpclisten=[127.0.0.1]:18061",
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log", "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log",
"postinst_script_template": "", "postinst_script_template": "",
"service_type": "forking", "service_type": "simple",
"service_additional_params_template": "", "service_additional_params_template": "",
"protect_memory": false, "protect_memory": false,
"mainnet": true, "mainnet": false,
"server_config_file": "bitcoin_like.conf", "server_config_file": "bitcoin_like.conf",
"client_config_file": "bitcoin_like_client.conf", "client_config_file": "bitcoin_like_client.conf",
"additional_params": { "additional_params": {