Backend configuration for Ethereum Classic (#29)
parent
81d8780a92
commit
016ca7beb4
|
@ -0,0 +1,56 @@
|
|||
{
|
||||
"coin": {
|
||||
"name": "Ethereum Classic",
|
||||
"shortcut": "ETC",
|
||||
"label": "Ethereum Classic",
|
||||
"alias": "ethereum-classic"
|
||||
},
|
||||
"ports": {
|
||||
"backend_rpc": 8037,
|
||||
"backend_message_queue": 0,
|
||||
"blockbook_internal": 9037,
|
||||
"blockbook_public": 9137
|
||||
},
|
||||
"ipc": {
|
||||
"rpc_url_template": "ws://127.0.0.1:{{.Ports.BackendRPC}}",
|
||||
"rpc_timeout": 25
|
||||
},
|
||||
"backend": {
|
||||
"package_name": "backend-ethereum-classic",
|
||||
"package_revision": "satoshilabs-1",
|
||||
"system_user": "ethereum-classic",
|
||||
"version": "5.5.0-382aa8f",
|
||||
"binary_url": "https://github.com/ethereumproject/go-ethereum/releases/download/v5.5.0/geth-classic-linux-v5.5.0-382aa8f.tar.gz",
|
||||
"verification_type": "sha256",
|
||||
"verification_source": "c3f98daa165abddb791f68d9db219b869b900c7d1370537d27790232df883d02",
|
||||
"extract_command": "tar -C backend -xf",
|
||||
"exclude_files": [],
|
||||
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/geth --ipcdisable --cache 1024 --nat none --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --port 38337 --ws --wsaddr 0.0.0.0 --wsport {{.Ports.BackendRPC}} --wsorigins \"*\" --rpc --rpcport 8137 -rpcaddr 0.0.0.0 --rpccorsdomain \"*\" 2>>{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
|
||||
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
|
||||
"postinst_script_template": "",
|
||||
"service_type": "simple",
|
||||
"service_additional_params_template": "",
|
||||
"protect_memory": true,
|
||||
"mainnet": true,
|
||||
"config_file": ""
|
||||
},
|
||||
"blockbook": {
|
||||
"package_name": "blockbook-ethereum-classic",
|
||||
"system_user": "blockbook-ethereum-classic",
|
||||
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
|
||||
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
|
||||
"explorer_url": "https://gastracker.io/",
|
||||
"additional_params": "",
|
||||
"block_chain": {
|
||||
"parse": true,
|
||||
"mempool_workers": 8,
|
||||
"mempool_sub_workers": 2,
|
||||
"block_addresses_to_keep": 300,
|
||||
"additional_params": {}
|
||||
}
|
||||
},
|
||||
"meta": {
|
||||
"package_maintainer": "Petr Kracik",
|
||||
"package_maintainer_email": "petr.kracik@satoshilabs.com"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue