💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
###1、下载最新版的比特币核心 [https://bitcoin.org/bin/](https://bitcoin.org/bin/) ![image.png](https://upload-images.jianshu.io/upload_images/7100414-9153b37baebe27e8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) [https://bitcoin.org/en/download](https://bitcoin.org/en/download) ![image.png](https://upload-images.jianshu.io/upload_images/7100414-207f3819389679a8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ###2、解压缩 ``` tar -zxvf bitcoin-0.17.1-x86_64-linux-gnu.tar.gz ``` ###3、进入bin目录 ``` cd cd bitcoin-0.17.1/ cd /bin ``` ###4、修改存放钱包文件的路径并开始同步区块 ``` ./bitcoind --datadir=/home/service/bitcoin/data/ --daemon ``` ###5、查看当前钱包信息 ``` ./bitcoin-cli --datadir=/home/service/bitcoin/data/ getinfo ``` ![image.png](https://upload-images.jianshu.io/upload_images/7100414-4e7e6b70991ffdd4.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ``` { "deprecation-warning": "WARNING: getinfo is deprecated and will be fully removed in 0.16. Projects should transition to using getblockchaininfo, getnetworkinfo, and getwalletinfo before upgrading to 0.16", "version": 150200, "protocolversion": 70015, "walletversion": 139900, "balance": 0.00000000, "blocks": 558714, "timeoffset": -1, "connections": 8, "proxy": "", "difficulty": 5883988430955.408, "testnet": false, "keypoololdest": 1547543917, "keypoolsize": 2000, "paytxfee": 0.00000000, "relayfee": 0.00001000, "errors": "" } ``` ###6、查看同步区块高度 https://www.blockchain.com/btc/blocks ![image.png](https://upload-images.jianshu.io/upload_images/7100414-5f995da176dbc972.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240) ###7、同步完成,总共区块大小213G ![image.png](https://upload-images.jianshu.io/upload_images/7100414-3b21ceafddc1fd05.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)