List of node IDs with which this node will not peer. The node ID is the public key of the node. You can specify the banned node IDs with or without the `0x` prefix.
List of node IDs with which this node will not peer. The node ID is the public key of the node. You can specify the banned node IDs with or without the `0x` prefix.
!!!info
This option is only available from v0.8.2.
!!!tip
!!!tip
The singular `--banned-node-id` and plural `--banned-node-ids` are available and are just two
The singular `--banned-node-id` and plural `--banned-node-ids` are available and are just two
names for the same option.
names for the same option.
@ -126,6 +123,19 @@ The path to the Pantheon data directory. The default is the `/build/distribution
!!!note
!!!note
This option is not used when running Pantheon from the [Docker image](../Getting-Started/Run-Docker-Image.md#persisting-data).
This option is not used when running Pantheon from the [Docker image](../Getting-Started/Run-Docker-Image.md#persisting-data).
### discovery-enabled
```bash tab="Syntax"
--discovery-enabled=false
```
```bash tab="Example Configuration File"
discovery-enabled=false
```
Enables or disables P2P peer discovery.
The default is `true`.
### genesis-file
### genesis-file
Genesis file is used to create a custom network.
Genesis file is used to create a custom network.
@ -173,9 +183,6 @@ Comma-separated list of hostnames to allow access to the HTTP JSON-RPC API. Defa
!!!tip
!!!tip
To allow all hostnames, use `*` or `all`. We don't recommend allowing all hostnames for production code.
To allow all hostnames, use `*` or `all`. We don't recommend allowing all hostnames for production code.
!!!note
This option is only available from v0.8.3. Earlier versions allow access by all hostnames.
### max-peers
### max-peers
```bash tab="Syntax"
```bash tab="Syntax"
@ -388,19 +395,6 @@ P2P network identifier.
This option can be used to override your current network ID.
This option can be used to override your current network ID.
The default value is the current network chain ID which is defined in the genesis file.
The default value is the current network chain ID which is defined in the genesis file.
### discovery-enabled
```bash tab="Syntax"
--discovery-enabled=false
```
```bash tab="Example Configuration File"
discovery-enabled=false
```
Enables or disables P2P peer discovery.
The default is `true`.
### node-private-key-file
### node-private-key-file
```bash tab="Syntax"
```bash tab="Syntax"
@ -424,9 +418,6 @@ otherwise, the existing key file specifies the node private key.