Ethereum has released the graph client Mist and the command line client Geth under Windows, but a problem was found in China, creating a new Ethereum account, which currently needs to synchronize 1.7 million blocks, which is very slow, often not synchronized for several days. According to Ethernodes statistics, the number of domestic Ethereum nodes was 143 at the time of publication, and the special network reasons in China will also affect the synchronization of block data by domestic users.
In order to synchronize blocks more smoothly for domestic users, EthFans launched the Spark Node Program, organizing domestic organizations and individuals interested in the Ethereum project to voluntarily run supernodes, and the information of Spark nodes will be packaged into node (node) files, allowing community members to freely download and connect to more supernodes to speed up synchronization, the specific steps are as follows:
1. Whether it is a mist client or other clients such as geth or eth, they all share the same application configuration, that is, the location where the data is stored is the same, and the default datadir is different according to different system locations.
Mac: ~/Library/Ethereum
Linux: ~/.ethereum
Windows: %APPDATA%\Ethereum 2. Find the file storage directory as above, save the following content as a static-nodes.json, and put it in the Ethereum datadir directory, such as windows, put it in %APPDATA%\Ethereum\static-nodes.json, pay attention to the encoding format when saving, select ANSI.
3. The Ethereum client defaults to 11-13 nodes to start the connection, if you feel that it is not enough, you can use the command to increase the startup parameters -maxpeers 100 command at startup to increase the number of connection startup nodes to the upper limit of 100, of course, it will also consume a lot of your hard disk and CPU.
static-nodes.json
(2.37 KB, Number of downloads: 8)
|