Use proper public key id values for Decred (#239)

* decred: remove white space

* decred: correct xpub magic values
This commit is contained in:
David Hill 2019-07-22 14:42:20 +00:00 committed by Martin
parent 63b4719179
commit f49cc0719b
2 changed files with 130 additions and 130 deletions

View File

@ -1,68 +1,68 @@
{ {
"coin": { "coin": {
"name": "Decred", "name": "Decred",
"shortcut": "DCR", "shortcut": "DCR",
"label": "Decred", "label": "Decred",
"alias": "decred" "alias": "decred"
}, },
"ports": { "ports": {
"backend_rpc": 8061, "backend_rpc": 8061,
"backend_message_queue": 38361, "backend_message_queue": 38361,
"blockbook_internal": 9061, "blockbook_internal": 9061,
"blockbook_public": 9161 "blockbook_public": 9161
}, },
"ipc": { "ipc": {
"rpc_url_template": "http://127.0.0.1:{{.Ports.BackendRPC}}", "rpc_url_template": "http://127.0.0.1:{{.Ports.BackendRPC}}",
"rpc_user": "rpc", "rpc_user": "rpc",
"rpc_pass": "rpc", "rpc_pass": "rpc",
"rpc_timeout": 25, "rpc_timeout": 25,
"message_queue_binding_template": "tcp://127.0.0.1:{{.Ports.BackendMessageQueue}}" "message_queue_binding_template": "tcp://127.0.0.1:{{.Ports.BackendMessageQueue}}"
}, },
"backend": { "backend": {
"package_name": "backend-decred", "package_name": "backend-decred",
"package_revision": "decred-1", "package_revision": "decred-1",
"system_user": "decred", "system_user": "decred",
"version": "1.4.0", "version": "1.4.0",
"binary_url": "https://github.com/decred/decred-binaries/releases/download/v1.4.0/decred-linux-amd64-v1.4.0.tar.gz", "binary_url": "https://github.com/decred/decred-binaries/releases/download/v1.4.0/decred-linux-amd64-v1.4.0.tar.gz",
"verification_type": "sha256", "verification_type": "sha256",
"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 --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": "simple", "service_type": "simple",
"service_additional_params_template": "", "service_additional_params_template": "",
"protect_memory": false, "protect_memory": false,
"mainnet": true, "mainnet": true,
"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": {
"rpcmaxclients": 16, "rpcmaxclients": 16,
"upnp": 0, "upnp": 0,
"whitelist": "127.0.0.1" "whitelist": "127.0.0.1"
}
},
"blockbook": {
"package_name": "blockbook-decred",
"system_user": "blockbook-decred",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "https://dcrdata.decred.org/",
"additional_params": "-resyncindexperiod=300111 -resyncmempoolperiod=60111",
"block_chain": {
"parse": true,
"subversion":"/Decred dcrd:1.4.0",
"mempool_workers": 8,
"mempool_sub_workers": 2,
"block_addresses_to_keep": 30,
"xpub_magic": 49990397,
"slip44": 3,
"additional_params": {}
}
},
"meta": {
"package_maintainer": "dmigwi",
"package_maintainer_email": "migwindungu0@gmail.com"
} }
},
"blockbook": {
"package_name": "blockbook-decred",
"system_user": "blockbook-decred",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "https://dcrdata.decred.org/",
"additional_params": "-resyncindexperiod=300111 -resyncmempoolperiod=60111",
"block_chain": {
"parse": true,
"subversion":"/Decred dcrd:1.4.0",
"mempool_workers": 8,
"mempool_sub_workers": 2,
"block_addresses_to_keep": 30,
"xpub_magic": 50178342,
"slip44": 3,
"additional_params": {}
}
},
"meta": {
"package_maintainer": "dmigwi",
"package_maintainer_email": "migwindungu0@gmail.com"
} }
}

View File

@ -1,68 +1,68 @@
{ {
"coin": { "coin": {
"name": "Decred Testnet", "name": "Decred Testnet",
"shortcut": "tDCR", "shortcut": "tDCR",
"label": "Decred Testnet", "label": "Decred Testnet",
"alias": "decred_testnet" "alias": "decred_testnet"
}, },
"ports": { "ports": {
"backend_rpc": 18061, "backend_rpc": 18061,
"backend_message_queue": 48361, "backend_message_queue": 48361,
"blockbook_internal": 19061, "blockbook_internal": 19061,
"blockbook_public": 19161 "blockbook_public": 19161
}, },
"ipc": { "ipc": {
"rpc_url_template": "http://127.0.0.1:{{.Ports.BackendRPC}}", "rpc_url_template": "http://127.0.0.1:{{.Ports.BackendRPC}}",
"rpc_user": "rpc", "rpc_user": "rpc",
"rpc_pass": "rpc", "rpc_pass": "rpc",
"rpc_timeout": 25, "rpc_timeout": 25,
"message_queue_binding_template": "tcp://127.0.0.1:{{.Ports.BackendMessageQueue}}" "message_queue_binding_template": "tcp://127.0.0.1:{{.Ports.BackendMessageQueue}}"
}, },
"backend": { "backend": {
"package_name": "backend-decred-testnet", "package_name": "backend-decred-testnet",
"package_revision": "decred-testnet-1", "package_revision": "decred-testnet-1",
"system_user": "decred", "system_user": "decred",
"version": "1.4.0", "version": "1.4.0",
"binary_url": "https://github.com/decred/decred-binaries/releases/download/v1.4.0/decred-linux-amd64-v1.4.0.tar.gz", "binary_url": "https://github.com/decred/decred-binaries/releases/download/v1.4.0/decred-linux-amd64-v1.4.0.tar.gz",
"verification_type": "sha256", "verification_type": "sha256",
"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": "simple", "service_type": "simple",
"service_additional_params_template": "", "service_additional_params_template": "",
"protect_memory": false, "protect_memory": false,
"mainnet": false, "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": {
"rpcmaxclients": 16, "rpcmaxclients": 16,
"upnp": 0, "upnp": 0,
"whitelist": "127.0.0.1" "whitelist": "127.0.0.1"
}
},
"blockbook": {
"package_name": "blockbook-decred-testnet",
"system_user": "blockbook-decred-testnet",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "https://testnet.dcrdata.org/",
"additional_params": "-resyncindexperiod=300111 -resyncmempoolperiod=60111",
"block_chain": {
"parse": true,
"subversion":"/Decred dcrd:1.4.0",
"mempool_workers": 8,
"mempool_sub_workers": 2,
"block_addresses_to_keep": 30,
"xpub_magic": 49990397,
"slip44": 3,
"additional_params": {}
}
},
"meta": {
"package_maintainer": "dmigwi",
"package_maintainer_email": "migwindungu0@gmail.com"
} }
},
"blockbook": {
"package_name": "blockbook-decred-testnet",
"system_user": "blockbook-decred-testnet",
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
"explorer_url": "https://testnet.dcrdata.org/",
"additional_params": "-resyncindexperiod=300111 -resyncmempoolperiod=60111",
"block_chain": {
"parse": true,
"subversion":"/Decred dcrd:1.4.0",
"mempool_workers": 8,
"mempool_sub_workers": 2,
"block_addresses_to_keep": 30,
"xpub_magic": 70617041,
"slip44": 3,
"additional_params": {}
}
},
"meta": {
"package_maintainer": "dmigwi",
"package_maintainer_email": "migwindungu0@gmail.com"
} }
}