github.com/trezor/blockbook@v0.4.1-0.20240328132726-e9a08582ee2c/configs/coins/pivx.json (about)

     1  {
     2    "coin": {
     3      "name": "PIVX",
     4      "shortcut": "PIVX",
     5      "label": "PIVX",
     6      "alias": "pivx"
     7    },
     8    "ports": {
     9      "backend_rpc": 8049,
    10      "backend_message_queue": 38349,
    11      "blockbook_internal": 9049,
    12      "blockbook_public": 9149
    13    },
    14    "ipc": {
    15      "rpc_url_template": "http://127.0.0.1:{{.Ports.BackendRPC}}",
    16      "rpc_user": "rpc",
    17      "rpc_pass": "pivxrpc",
    18      "rpc_timeout": 25,
    19      "message_queue_binding_template": "tcp://127.0.0.1:{{.Ports.BackendMessageQueue}}"
    20    },
    21    "backend": {
    22      "package_name": "backend-pivx",
    23      "package_revision": "satoshilabs-1",
    24      "system_user": "pivx",
    25      "version": "5.6.1",
    26      "binary_url": "https://github.com/PIVX-Project/PIVX/releases/download/v5.6.1/pivx-5.6.1-x86_64-linux-gnu.tar.gz",
    27      "verification_type": "sha256",
    28      "verification_source": "6704625c63ff73da8c57f0fbb1dab6f1e4bd8f62c17467e05f52a64012a0ee2f",
    29      "extract_command": "tar -C backend --strip 1 -xf",
    30      "exclude_files": [
    31        "bin/pivx-qt"
    32      ],
    33      "exec_command_template": "{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/bin/pivxd -datadir={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend -conf={{.Env.BackendInstallPath}}/{{.Coin.Alias}}/{{.Coin.Alias}}.conf -pid=/run/{{.Coin.Alias}}/{{.Coin.Alias}}.pid",
    34      "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/*.log",
    35      "postinst_script_template": "cd {{.Env.BackendInstallPath}}/{{.Coin.Alias}} && HOME={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend {{.Env.BackendInstallPath}}/{{.Coin.Alias}}/install-params.sh",
    36      "service_type": "forking",
    37      "service_additional_params_template": "Environment=\"HOME={{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend\"",
    38      "protect_memory": false,
    39      "mainnet": true,
    40      "server_config_file": "bitcoin_like.conf",
    41      "client_config_file": "bitcoin_like_client.conf",
    42      "additional_params": {
    43        "whitelist": "127.0.0.1"
    44      }
    45    },
    46    "blockbook": {
    47      "package_name": "blockbook-pivx",
    48      "system_user": "blockbook-pivx",
    49      "internal_binding_template": ":{{.Ports.BlockbookInternal}}",
    50      "public_binding_template": ":{{.Ports.BlockbookPublic}}",
    51      "explorer_url": "",
    52      "additional_params": "",
    53      "block_chain": {
    54        "parse": true,
    55        "mempool_workers": 8,
    56        "mempool_sub_workers": 2,
    57        "block_addresses_to_keep": 300,
    58        "xpub_magic": 36513075,
    59        "slip44": 119,
    60        "additional_params": {}
    61      }
    62    },
    63    "meta": {
    64      "package_maintainer": "rikardwissing",
    65      "package_maintainer_email": "rikard@coinid.org"
    66    }
    67  }