2020-12-14 15:35:21 -07:00
|
|
|
{
|
|
|
|
"coin": {
|
|
|
|
"name": "Energi",
|
|
|
|
"shortcut": "NRG",
|
|
|
|
"label": "Energi",
|
|
|
|
"alias": "energi"
|
|
|
|
},
|
|
|
|
"ports": {
|
2021-02-03 14:30:35 -07:00
|
|
|
"backend_rpc": 8097,
|
2020-12-14 15:35:21 -07:00
|
|
|
"backend_message_queue": 0,
|
2021-02-03 14:30:35 -07:00
|
|
|
"backend_p2p": 38397,
|
|
|
|
"backend_http": 8197,
|
|
|
|
"blockbook_internal": 9097,
|
|
|
|
"blockbook_public": 9197
|
2020-12-14 15:35:21 -07:00
|
|
|
},
|
|
|
|
"ipc": {
|
|
|
|
"rpc_url_template": "ws://127.0.0.1:{{.Ports.BackendRPC}}",
|
|
|
|
"rpc_timeout": 25
|
|
|
|
},
|
|
|
|
"backend": {
|
|
|
|
"package_name": "backend-energi",
|
|
|
|
"package_revision": "Pantani",
|
|
|
|
"system_user": "energi",
|
2020-12-15 17:32:39 -07:00
|
|
|
"version": "3.0.7",
|
2020-12-14 15:35:21 -07:00
|
|
|
"binary_url": "https://s3-us-west-2.amazonaws.com/download.energi.software/releases/energi3/3.0.7/energi3-3.0.7-linux-amd64.tgz",
|
|
|
|
"verification_type": "sha256",
|
|
|
|
"verification_source": "6f6e0fe03f9cd38fe29addffb42ae4217656a7a9ee9be3a824f104b6a4ac7237",
|
|
|
|
"extract_command": "tar -C backend --strip 1 -xf",
|
|
|
|
"exclude_files": [],
|
2021-02-03 14:30:35 -07:00
|
|
|
"exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/bin/energi3 --ipcdisable --syncmode full --cache 1024 --nat none --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --port 38397 --ws --wsapi eth,net,web3 --wsaddr 0.0.0.0 --wsport {{.Ports.BackendRPC}} --wsorigins \"*\" --rpc --rpcapi personal,eth,net,web3b --rpcport 8197 -rpcaddr 0.0.0.0 --rpccorsdomain \"*\" --rpcvhosts \"*\" 2>>{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
|
2020-12-14 15:35:21 -07:00
|
|
|
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
|
|
|
|
"postinst_script_template": "",
|
|
|
|
"service_type": "forking",
|
|
|
|
"service_additional_params_template": "",
|
|
|
|
"protect_memory": true,
|
|
|
|
"mainnet": true,
|
|
|
|
"server_config_file": "",
|
|
|
|
"client_config_file": ""
|
|
|
|
},
|
|
|
|
"blockbook": {
|
|
|
|
"package_name": "blockbook-energi",
|
|
|
|
"system_user": "blockbook-energi",
|
|
|
|
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
|
|
|
|
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
|
|
|
|
"explorer_url": "",
|
|
|
|
"additional_params": "",
|
|
|
|
"block_chain": {
|
|
|
|
"parse": true,
|
|
|
|
"mempool_workers": 8,
|
|
|
|
"mempool_sub_workers": 2,
|
|
|
|
"block_addresses_to_keep": 300,
|
|
|
|
"slip44": 9797,
|
|
|
|
"additional_params": {
|
|
|
|
"mempoolTxTimeoutHours": 48,
|
|
|
|
"queryBackendOnMempoolResync": false,
|
|
|
|
"fiat_rates": "coingecko",
|
|
|
|
"fiat_rates_params": "{\"url\": \"https://api.coingecko.com/api/v3\", \"coin\": \"energi\", \"periodSeconds\": 60}"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"meta": {
|
|
|
|
"package_maintainer": "Pantani",
|
|
|
|
"package_maintainer_email": "danpantani@gmail.com"
|
|
|
|
}
|
|
|
|
}
|