pex:
boolean. This turns the peer exchange reactor on or off for a node. When pex=false
, only the persistent-peers
list is available for connection. This should be set to pex=false
so it does not gossip to the entire network. The sentry nodes should be able to talk to the entire network hence why pex=true
.seed_mode
: boolean. The main function of the seed_mode is to provide more node addresses to the network. It will record all the node addresses that have been connected to it, and as long as you connect to it, it will tell you all the node information it records. This way you can connect to a node quickly. The seed node will disconnect from you immediately after giving you all the node information, so it is not recommended that the validator node enable the seed mode. This should be set to seed_mode=false
. This should be set to seed_mode=false.persistent-peers:
a comma separated list of [email protected]:port
values that define a list of peers that are expected to be online at all times. This is necessary at first startup because by setting pex=false
the node will not be able to join the network. This should be configured to a list of sentry nodes. This should be configured to your any nodes that you trust, this includes your validator node, the Function X's nodes and other sentry nodes (optional).unconditional_peer_ids:
comma separated list of nodeID
. These nodes will be connected to no matter the limits of inbound and outbound peers. This is useful for when sentry nodes have full address books. It can be filled with sentry node IDs (optional). Validator node ID, optionally sentry node IDs.private_peer_ids:
comma separated list of nodeID
. These nodes will not be gossiped to the network. This is an important field as you do not want your validator IP gossiped to the network. This can be left empty as the validator is not trying to hide who it is communicating with. This should be configured to your validator node ID to ensure your validator node's ID is hidden.addr_book_strict:
boolean. By default nodes with a routable address will be considered for connection. If this setting is turned off (false), non-routable IP addresses, like addresses in a private network can be added to the address book. This should be set to addr_book_strict=false
. This should be set to addr_book_strict=false
.double-sign-check-height
int64 height. How many blocks to look back to check existence of the node's consensus votes before joining consensus When non-zero, the node will panic upon restart if the same consensus key was used to sign {double_sign_check_height} last blocks. So, validators should stop the state machine, wait for some blocks, and then restart the state machine to avoid panic. This should be configured to 10. This configuration is not important for sentry nodes.seeds
: Linked to the seed_mode
configuration mentioned above, a seed node is a special node that allows the incorporation of new nodes to the network and maintains the strength of the network at all times, by allowing them to synchronize and obtain a copy of the data from the blockchain, replicating it and adding resistance and security to it. For validator nodes If you have already configured the persistent-peers
to have a list of sentry nodes or nodes that you fully trust, then you can leave the seeds
field empty. This seeds
field should be configured to locate other peers.[email protected]:port
)nodeID
)nodeID
)[email protected]:port
)nodeID
)nodeID
)[email protected]:port
(persistent-peers), it will be something similar to (example):