74 lines
2.6 KiB
JSON
74 lines
2.6 KiB
JSON
{
|
|
"coin": {
|
|
"name": "Bitcoin",
|
|
"shortcut": "BTC",
|
|
"label": "Bitcoin",
|
|
"alias": "bitcoin"
|
|
},
|
|
"ports": {
|
|
"backend_rpc": 8030,
|
|
"backend_message_queue": 38330,
|
|
"blockbook_internal": 9030,
|
|
"blockbook_public": 9130
|
|
},
|
|
"ipc": {
|
|
"rpc_url_template": "http://127.0.0.1:{{.Ports.BackendRPC}}",
|
|
"rpc_user": "rpc",
|
|
"rpc_pass": "rpc",
|
|
"rpc_timeout": 25,
|
|
"message_queue_binding_template": "tcp://127.0.0.1:{{.Ports.BackendMessageQueue}}"
|
|
},
|
|
"backend": {
|
|
"package_name": "backend-bitcoin",
|
|
"package_revision": "satoshilabs-1",
|
|
"system_user": "bitcoin",
|
|
"version": "0.21.0",
|
|
"binary_url": "https://bitcoin.org/bin/bitcoin-core-0.21.0/bitcoin-0.21.0-x86_64-linux-gnu.tar.gz",
|
|
"verification_type": "gpg-sha256",
|
|
"verification_source": "https://bitcoin.org/bin/bitcoin-core-0.21.0/SHA256SUMS.asc",
|
|
"extract_command": "tar -C backend --strip 1 -xf",
|
|
"exclude_files": [
|
|
"bin/bitcoin-qt"
|
|
],
|
|
"exec_command_template": "{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/bin/bitcoind -datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend -conf={{.Env.BackendInstallPath}}/{{.Coin.Alias}}/{{.Coin.Alias}}.conf -pid=/run/{{.Coin.Alias}}/{{.Coin.Alias}}.pid",
|
|
"logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log",
|
|
"postinst_script_template": "",
|
|
"service_type": "forking",
|
|
"service_additional_params_template": "",
|
|
"protect_memory": true,
|
|
"mainnet": true,
|
|
"server_config_file": "bitcoin.conf",
|
|
"client_config_file": "bitcoin_client.conf",
|
|
"additional_params": {
|
|
"deprecatedrpc": "estimatefee"
|
|
}
|
|
},
|
|
"blockbook": {
|
|
"package_name": "blockbook-bitcoin",
|
|
"system_user": "blockbook-bitcoin",
|
|
"internal_binding_template": ":{{.Ports.BlockbookInternal}}",
|
|
"public_binding_template": ":{{.Ports.BlockbookPublic}}",
|
|
"explorer_url": "",
|
|
"additional_params": "-dbcache=1073741824",
|
|
"block_chain": {
|
|
"parse": true,
|
|
"mempool_workers": 8,
|
|
"mempool_sub_workers": 2,
|
|
"block_addresses_to_keep": 300,
|
|
"xpub_magic": 76067358,
|
|
"xpub_magic_segwit_p2sh": 77429938,
|
|
"xpub_magic_segwit_native": 78792518,
|
|
"additional_params": {
|
|
"alternative_estimate_fee": "whatthefee-disabled",
|
|
"alternative_estimate_fee_params": "{\"url\": \"https://whatthefee.io/data.json\", \"periodSeconds\": 60}",
|
|
"fiat_rates": "coingecko",
|
|
"fiat_rates_params": "{\"url\": \"https://api.coingecko.com/api/v3\", \"coin\": \"bitcoin\", \"periodSeconds\": 60}"
|
|
}
|
|
}
|
|
},
|
|
"meta": {
|
|
"package_maintainer": "IT",
|
|
"package_maintainer_email": "it@satoshilabs.com"
|
|
}
|
|
}
|