https://ethstats.net
net.listening true / false
net.peerCount 节点数量
admin.nodeinfo
admin.peers
<datadir>/static-nodes.json
chaindata
geth
https://ethstats.net
net.listening true / false
net.peerCount 节点数量
admin.nodeinfo
admin.peers
<datadir>/static-nodes.json
chaindata
geth
## 以太坊查看网络状态
+ 查看链接状态
- net.listening true : 判断当前网络是否是监听状态
- net.peerCount 4 : 返回当前链接的节点数(mist左下角的peers处显示)
+ 查看自己的伙伴的网络信息
- admin.peers :返回当前所有节点的信息
+ 查看自己的网络信息
- admin.nodeInfo
## 以太坊加快下载速度
+ --fast (已过时,参考[go-ethereum V1.6.0 Release](https://github.com/ethereum/go-ethereum/releases?after=v1.6.5))
这个参数会加快同步的速度,并且显著的降低同步的数据的大小。
+ --cache=1024
调节内存缓存(单位是M),默认是16M,可以根据自己的计算机情况,是当调大这个值,如256,512,1024(1G)等。
+ --jitvm
开启JIT VM
注释:以太坊中包含两个虚拟机,一个是处理以太坊合约的虚拟机,一个是这个JIT VM。
+ 整个命令如下面所示:
geth --testnet --fast --cache=1024 --jitvm console