github.com/cryptohub-digital/blockbook@v0.3.5-0.20240403155730-99ab40b9104c/configs/coins/corecoin.json (about)

     1  {
     2      "coin": {
     3          "name": "Core Coin",
     4          "shortcut": "XCB",
     5          "label": "Core",
     6          "alias": "corecoin"
     7      },
     8      "ports": {
     9          "backend_rpc": 8546,
    10          "backend_message_queue": 0,
    11          "backend_p2p": 30301,
    12          "backend_http": 8545,
    13          "blockbook_internal": 9036,
    14          "blockbook_public": 9136
    15      },
    16      "ipc": {
    17          "rpc_url_template": "ws://127.0.0.1:{{.Ports.BackendRPC}}",
    18          "rpc_timeout": 25
    19      },
    20      "backend": {
    21          "package_name": "backend-gocore",
    22          "package_revision": "a7f8ca53db94bdf57ce9307eedd08bcef5dc07a3",
    23          "system_user": "corecoin",
    24          "version": "2.0.6",
    25          "binary_url": "https://github.com/core-coin/go-core/releases/download/v2.0.6/gocore-linux-x86_64",
    26          "verification_type": "sha256",
    27          "verification_source": "f9aedc9f050e78e34c2f1667f41956d398bd965fe97717296805409b3fa3eb80",
    28          "extract_command": "mv ${ARCHIVE} backend/gocore && chmod +x backend/gocore && echo",
    29          "exclude_files": [],
    30          "exec_command_template": "/bin/sh -c '{{.Env.BackendInstallPath}}/{{.Coin.Alias}}/gocore --syncmode full --txlookuplimit 0 --ipcdisable --cache 1024 --nat none --datadir {{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend --port {{.Ports.BackendP2P}} --ws --ws.addr 127.0.0.1 --ws.port {{.Ports.BackendRPC}} --ws.origins \"*\" --ws.api \"xcb,net,web3,debug,txpool\" --http --http.port {{.Ports.BackendHttp}} --http.addr 127.0.0.1 --http.corsdomain \"*\" --http.vhosts \"*\" --http.api \"xcb,net,web3,debug,txpool\" 2>>{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log'",
    31          "logrotate_files_template": "{{.Env.BackendDataPath}}/{{.Coin.Alias}}/backend/{{.Coin.Alias}}.log",
    32          "postinst_script_template": "",
    33          "service_type": "simple",
    34          "service_additional_params_template": "",
    35          "protect_memory": true,
    36          "mainnet": true,
    37          "server_config_file": "",
    38          "client_config_file": "",
    39          "platforms": {
    40              "arm64": {
    41                  "binary_url": "https://github.com/core-coin/go-core/releases/download/v2.0.6/gocore-linux-arm64",
    42                  "verification_source": "cd79887b116b5e9822bec63dcc553d646234f1e76be24a43285821881684ff5a"
    43              }
    44          }
    45      },
    46      "blockbook": {
    47          "package_name": "blockbook-corecoin",
    48          "system_user": "blockbook-corecoin",
    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              "additional_params": {
    59                  "mempoolTxTimeoutHours": 48,
    60                  "queryBackendOnMempoolResync": false
    61              }
    62          }
    63      },
    64      "meta": {
    65          "package_maintainer": "CRYPTO HUB",
    66          "package_maintainer_email": "contact@cryptohub.digital"
    67      }
    68  }