Chia节点未同步怎么办?静态独立公网IP最稳定的办法就是自己建个节点自己用!
以下是官方节点,首选官方节点!!!
全网同步节点host:
node.chia.net 8444
introducer.chia.net 8444
node.chiaidc.com 8444
node.chia.net 8444
introducer.chia.net 8444
node.chiaidc.com 8444
eu.chia.net 8444
sumo.chia.net 8444
full_node:
database_path: db/blockchain_v1_CHALLENGE.sqlite
enable_upnp: true
farmer_peer:
host: localhost
port: 8447
introducer_peer:
host: introducer.chia.net
自建chia公网同步节点:
首先自行准备一台 VPS或云主机,目的是可以保证连接的延迟比较低、网络稳定、静态公网IP。
配置低一点都无所谓,主要是用来做个人节点同步的。
使用版本 Ubuntu 18.04 LTS或者centos 7
使用SSH登录到你的云服务器,开始执行以下步骤:
更新 Python 环境:
sudo apt-get install python3.7-venv python3.7-distutils python3.7-dev git -y
更新你的Ubuntu到最新:
sudo apt-get update
sudo apt-get upgrade -y
执行以下命令:
git clone https://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
如果报错提示:fatal: unable to access 'https://github.comxxxxxxxxxxx': Failed to connect to xxxxxxxxxxxxx
则执行以下命令,如果没有报错忽略这一步:
git clone git://github.com/Chia-Network/chia-blockchain.git -b latest --recurse-submodules
请耐心等待 直到出现这样的代码表示环境安装完成
开始安装 Chia-blockchain
cd chia-blockchain
chmod +x ./install.sh
sh install.sh
开始安装Chia,这个过程比较漫长耐心等待安装完毕!
出现这样的提示 表示Chia Blockchain安装完成!
激活Chia环境
. ./activate
启动并配置Chia相关服务
这里会自动创建一个私钥和公钥,可以不用管,我们只是用来当作全节点服务用。
chia init
chia keys generate
chia start all
chia show -s
显示以下内容即配置成功完成,只需要等待同步完成。
(venv) [root@localhost log]# chia show -s
Current Blockchain Status: Full Node Synced
Peak: Hash: 95dc7f1f1cfa912eca*************************************b37ac1bcda810
Time: Fri May 07 2021 12:18:57 CST Height: 243493
Estimated network space: 2663.615 PiB
Current difficulty: 170
Current VDF sub_slot_iters: 110100480
Total iterations since the start of the blockchain: 788482217373
Height: | Hash:
243493 | 95dc7f1f1cfa912ecafb*************************************43b37ac1bcda810
243492 | 2dd9601f6d96d287c*************************************14295d9a8779c9e00f8
243491 | be8e7b6b0eef5457f*************************************f4e615580288da116dd6
243490 | 3ed4520c33e924*************************************fc3721a360e3e2a491
243489 | d9b3a4a9e124751*************************************35ba3a86b92c7cea98607d8
243488 | 5373947e22357c0*************************************7ab050747baf5ba5372
243487 | b7a72fea2e278fcb5*************************************932e670e01c391f8fc941975
243486 | b55370d4c3ca33298*************************************94ff4bd214c1d8670999
243485 | 0be6b63db04d5467a*************************************6082b3ca66e
243484 | 8c823c9694c7ad07*************************************09ccdd6f3ce17af8
2021-05-07T14:44:44.795 full_node full_node_server : INFO <- respond_signage_point from peer 206bdad17fd7cc432907a56493523544848ce380c1b219149b87a6961c6fa337 151.249.104.199
2021-05-07T14:44:44.801 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer 453bc1da1a289ec3002eddca9fc8cb18ca427bc9b04eef930f398df57dec34bf 123.174.61.68
2021-05-07T14:44:44.802 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer 3585ed8039330520b322556d5bbc60eda8acce377862d260574688cfe2b342bf 212.244.192.162
2021-05-07T14:44:44.832 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer 37b0ca24dec956dd3dbbdc6a771cec970dade1fe989b6251a056d729f62f20d4 111.41.198.38
2021-05-07T14:44:44.842 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer dafe2fa663184c2b8d8e570a5f7d77b8aece2665158c822541dec286c047df37 113.104.182.19
2021-05-07T14:44:44.860 full_node full_node_server : INFO <- request_blocks from peer 7ba56917ec445cfd9ad504fc2bbb872767bad8ff035c622043b506a5378d82ec 24.48.39.218
2021-05-07T14:44:44.863 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer 49284f9a3b6e67151ab1a89e377b31dc72d9e85a789f161d3de24ee041a7df79 66.60.27.190
2021-05-07T14:44:44.872 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer 5b282a9cfcef6921a3198c6a01974e208230e58b15947ef4925e0f1e4ca362ff 201.215.127.209
2021-05-07T14:44:44.898 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer dcfc68c816ba2aa80e9d9530ddab0f9ad223ca12a09c3711d5899617bfd49d88 181.46.138.159
2021-05-07T14:44:44.900 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer e87e4866fac2b513c2eec3e1526f9727b9793d0419e33c8e52a96d1bbced74fa 188.251.238.192
2021-05-07T14:44:44.901 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer 64593384ef62cbcec8199346e88b42ea2b6ea1495cc185c7e2696ce887e76b81 190.211.83.178
2021-05-07T14:44:44.948 full_node full_node_server : INFO <- request_signage_point_or_end_of_sub_slot from peer b732ee9a9ab507ad7bcef2f019db6f6e0940bde097a9bc1ce015e4e16f4862a4 109.207.42.137
2021-05-07T14:44:44.950 full_node full_node_server : INFO -> respond_signage_point to peer 109.207.42.137 b732ee9a9ab507ad7bcef2f019db6f6e0940bde097a9bc1ce015e4e16f4862a4
2021-05-07T14:44:44.984 full_node full_node_server : INFO <- request_signage_point_or_end_of_sub_slot from peer b58298f4da4ef5a4d8883760ce69f592daf07f48c49f2de42d13b17113d1ccf8 37.47.144.158
2021-05-07T14:44:44.986 full_node full_node_server : INFO -> respond_signage_point to peer 37.47.144.158 b58298f4da4ef5a4d8883760ce69f592daf07f48c49f2de42d13b17113d1ccf8
2021-05-07T14:44:45.027 full_node full_node_server : INFO <- new_compact_vdf from peer cb7a5e4ec352870f116f0037663d15af932f82b1b871fb0f843ab69551d172aa 195.182.154.188
2021-05-07T14:44:45.198 full_node full_node_server : INFO -> respond_blocks to peer 24.48.39.218 7ba56917ec445cfd9ad504fc2bbb872767bad8ff035c622043b506a5378d82ec
2021-05-07T14:44:45.373 full_node full_node_server : INFO <- new_unfinished_block from peer b732ee9a9ab507ad7bcef2f019db6f6e0940bde097a9bc1ce015e4e16f4862a4 109.207.42.137
2021-05-07T14:44:45.383 full_node full_node_server : INFO <- new_signage_point_or_end_of_sub_slot from peer b58298f4da4ef5a4d8883760ce69f592daf07f48c49f2de42d13b17113d1ccf8 37.47.144.158