Skip to content
You are reading GoQuorum development version documentation and some displayed features may not be available in the stable release. You can switch to stable version using the version box at screen bottom.

Configure peer discovery

Configure peer discovery in the Tessera configuration file. Options for peer discovery are:

Disable peer discovery

If peer discovery is disabled, communication is limited to peers listed in the configuration file. Communication from nodes not listed as a peer is ignored. Disable peer discovery to limit Tessera to communicating with known set of peers.

Disable peer discovery

"disablePeerDiscovery": true

Important

Disabling peer discovery does not stop incoming transactions from nodes that are not in the peer list. To stop transactions being received from nodes that are not in the peer list, enable the whitelist option.

Specify peers

Specify the list of Tessera node URLs used by Tessera to discover other nodes.

Example

"peer": [
  {
    "url": "http://myhost.com:9000"
  },
 {
    "url": "http://myhost.com:9001"
 },
 {
    "url": "http://myhost.com:9002"
 }
]

Tip

Include multiple peers in the peer list in case any of them are offline or unreachable.

Enable whitelist

The Tessera whitelist restricts connections for Tessera in the same way as the permissioned-nodes.json file does for GoQuorum.

Set to true to specify only URLs listed in the peer list can connect or submit transactions.

Enable whitelist

"useWhiteList": true,

Enable remote key validation

Important

We recommend enabling remote key validation to prevent malicious attacks. The default configuration is false because this is a breaking change for Tessera versions before v0.10.0.

Remote key validation checks a remote node owns the public keys being advertised. To validate the remote keys before adding a node to the peer list, enable remote key validation.

Enable remote key validation

 "features": {
   "enableRemoteKeyValidation": true
 }
ConsenSys has acquired Quorum from J.P. Morgan. Please read the FAQ.
Questions or feedback? You can discuss issues and obtain free support on Tessera Slack channel.
For paid professional support by ConsenSys, contact us at quorum@consensys.net