From 6087b985bc52a5a0136450100c439c7c4aca45eb Mon Sep 17 00:00:00 2001 From: David Hill Date: Fri, 12 Jul 2019 16:46:25 -0400 Subject: [PATCH] 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. --- configs/coins/decred.json | 6 +++--- configs/coins/decred_testnet.json | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/configs/coins/decred.json b/configs/coins/decred.json index 69a06b1d..4374ed12 100644 --- a/configs/coins/decred.json +++ b/configs/coins/decred.json @@ -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", "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log", "postinst_script_template": "", - "service_type": "forking", + "service_type": "simple", "service_additional_params_template": "", "protect_memory": false, "mainnet": true, @@ -48,7 +48,7 @@ "system_user": "blockbook-decred", "internal_binding_template": ":{{.Ports.BlockbookInternal}}", "public_binding_template": ":{{.Ports.BlockbookPublic}}", - "explorer_url": "https://mainnet.dcrdata.org/", + "explorer_url": "https://dcrdata.decred.org/", "additional_params": "", "block_chain": { "parse": true, @@ -65,4 +65,4 @@ "package_maintainer": "Ugwueze Michael", "package_maintainer_email": "code.maestro64@gmail.com" } - } \ No newline at end of file + } diff --git a/configs/coins/decred_testnet.json b/configs/coins/decred_testnet.json index 0f5e6d3b..fbf25a5f 100644 --- a/configs/coins/decred_testnet.json +++ b/configs/coins/decred_testnet.json @@ -28,13 +28,13 @@ "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 --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", "postinst_script_template": "", - "service_type": "forking", + "service_type": "simple", "service_additional_params_template": "", "protect_memory": false, - "mainnet": true, + "mainnet": false, "server_config_file": "bitcoin_like.conf", "client_config_file": "bitcoin_like_client.conf", "additional_params": { @@ -65,4 +65,4 @@ "package_maintainer": "Ugwueze Michael", "package_maintainer_email": "code.maestro64@gmail.com" } - } \ No newline at end of file + }