Full Node Synchronization
Last updated
Last updated
The full-node high-speed synchronization service realizes low-latency synchronization of Ethereum client based on high-performance networks. Users' Ethereum client can directly establish P2P connections with Relay in nearby areas. Different from subscribing to block data streams, the full-node high-speed synchronization service synchronizes the latest blocks to the user's Ethereum client through P2P network. Users can obtain the latest block events and world state in the first time.
Tier 3 | Tier 2 | Tier 1 | |
---|---|---|---|
If your Ethereum client is deployed on AWS or other cloud services, you should additionally configure inbound rules for the security group.
Access your own Ethereum client's server and execute commands to set up the firewall to allow Relay access.
"source address" is the IP of Relay which can be acquired from High-performance Network Service
The port for the Ethereum client to allow Relay access is generally set as the default, which is 30311. You can modify this based on your own node configuration.
Reload the firewall configuration to make the changes take effect.
Go to https://www.blockrazor.io, click [Register] in the upper right corner to complete the registration
Log in to the Portal, go to [Service] - [Full Node Synchronization Service], click [Add]
Select the region where Relay is located (it is recommended to select the region closest to the geographical location of your Geth node), enter the Enode of the Ethereum client that needs to be connected, and click [Confirm] to complete the addition.
To ensure continuous connection between the Geth node and Relay, it is recommended to add the Relay Enode in the Geth node's config.toml
file.
In the config.toml file, find the TrustedNodes field in Node.P2P and add the Relay Enode obtained in step 2
Restart the Geth node, specify config.toml to start, --config config.toml
Note: You can also use JSON RPC to add Relay as a trusted node, for details, please refer to the official documentation.
Wait for 10 minutes, access the Geth node, execute the curl command to check the connection status
In the returned data, query the Relay Enode address (which can be copied from the Portal). If the address is found, it proves that the connection is successful.
If the connection status is found to be abnormal after inquiry, it may be due to network communication problems between nodes. Please go to Discord to contact us.
Number of full nodes allowed to connect
-
2
5