Updated on April 12, 2021
Configure Basic Permissions
Node Permissioning is used to define:
- The nodes that a particular GoQuorum node is able to connect to
- The nodes that a particular GoQuorum node is able to receive connections from
If a node is started with
--permissioned set, the node looks for a
<data-dir>/permissioned-nodes.json file. This file contains the list of enodes that this node can connect to and accept connections from. In other words, if permissioning is enabled, only the nodes that are listed in the
permissioned-nodes.json file become part of the network.
--permissioned is set, a
permissioned-nodes.json file must be provided. If the option is set but no nodes are present in this file, the node is unable to make any outward connections or accept any incoming connections.
The format of
permissioned-nodes.json is similar to
[ "enode://enodehash1@ip1:port1", "enode://enodehash2@ip2:port2", "enode://enodehash3@ip3:port3" ]
For example, including the hash, a sample file might look like:
[ "enode://email@example.com:30300" ]