You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The peering process should invalidate connections to peers with a different chain id or chain config.
While we currently segment peers based on a network name, we should take further measures to prevent fuel nodes from different networks (e.g. testnet vs mainnet) from peering with each other.
Each chainconfig contains its own unique genesis values such as initial balances or initial state. We also plan to have a chain identifier to help differentiate between testnets with similar genesis values. When connecting to a new peer, we should request a checksum (sha256) of these unique values (chain ID + chain_config) and compare with a local checksum before adding to the peerset.
The text was updated successfully, but these errors were encountered:
The peering process should invalidate connections to peers with a different chain id or chain config.
While we currently segment peers based on a network name, we should take further measures to prevent fuel nodes from different networks (e.g. testnet vs mainnet) from peering with each other.
Each chainconfig contains its own unique genesis values such as initial balances or initial state. We also plan to have a chain identifier to help differentiate between testnets with similar genesis values. When connecting to a new peer, we should request a checksum (sha256) of these unique values (chain ID + chain_config) and compare with a local checksum before adding to the peerset.
The text was updated successfully, but these errors were encountered: