Config

get

Return the runtime node configuration (this takes into account the command-line arguments and the on-disk configuration file)

Responses
200Success
application/json
get
GET /config HTTP/1.1
Host: xtz.nownodes.io
Accept: */*
{
  "data-dir": "text",
  "disable-config-validation": true,
  "rpc": {
    "listen-addrs": [
      "text"
    ],
    "listen-addr": "text",
    "cors-origin": [
      "text"
    ],
    "cors-headers": [
      "text"
    ],
    "crt": "text",
    "key": "text",
    "acl": [
      {
        "address": "text",
        "whitelist": [
          "text"
        ]
      }
    ],
    "media-type": "json"
  },
  "p2p": {
    "expected-proof-of-work": 1,
    "bootstrap-peers": [
      "text"
    ],
    "listen-addr": "text",
    "advertised-net-port": 1,
    "discovery-addr": "text",
    "private-mode": true,
    "limits": {
      "connection-timeout": 1,
      "authentication-timeout": 1,
      "min-connections": 1,
      "expected-connections": 1,
      "max-connections": 1,
      "backlog": 1,
      "max-incoming-connections": 1,
      "max-download-speed": 1,
      "max-upload-speed": 1,
      "swap-linger": 1,
      "binary-chunks-size": 1,
      "read-buffer-size": 1,
      "read-queue-size": 1,
      "write-queue-size": 1,
      "incoming-app-message-queue-size": 1,
      "incoming-message-queue-size": 1,
      "outgoing-message-queue-size": 1,
      "max_known_points": [
        1
      ],
      "max_known_peer_ids": [
        1
      ],
      "peer_greylist_size": 1,
      "ip_greylist_size_in_kilobytes": 1,
      "ip_greylist_cleanup_delay": 1,
      "greylist-timeout": 1,
      "maintenance-idle-time": 1
    },
    "disable_mempool": true,
    "enable_testchain": true,
    "greylisting_config": {
      "factor": 1,
      "initial-delay": 1,
      "disconnection-delay": 1,
      "increase-cap": 1
    },
    "disable_peer_discovery": true
  },
  "log": {
    "output": "text",
    "level": "info",
    "colors": true,
    "rules": "text"
  },
  "internal-events": {
    "active_sinks": [
      "text"
    ]
  },
  "shell": {
    "peer_validator": {
      "block_header_request_timeout": 1,
      "block_operations_request_timeout": 1,
      "protocol_request_timeout": 1,
      "new_head_request_timeout": 1
    },
    "block_validator": {
      "protocol_request_timeout": 1,
      "operation_metadata_size_limit": "unlimited"
    },
    "prevalidator": {
      "operations_request_timeout": 1,
      "max_refused_operations": 1,
      "operations_batch_size": 1
    },
    "chain_validator": {
      "latency": 1,
      "synchronisation_threshold": 1
    },
    "history_mode": "archive"
  },
  "network": "sandbox",
  "metrics_addr": [
    "text"
  ]
}