全球数字财富领导者

Filecoin lotus net 命令详解

2023-06-07 17:01:41
金色财经
金色财经
关注
0
0
获赞
粉丝
喜欢 0 0收藏举报
— 分享 —
摘要:zklink Filecoin lotus net 命令详解

1.peers

  • lotus net peers列出lotus 连接的节点 , 节点ID(lotus公钥),[/ip4/公网地址/tcp/监听端口]

 12D3KooWSp9DyKx5J34UV36uNKzJdAuwNaKDyEBYPeRhU67cVHrM, [/ip4/112.216.168.43/tcp/8899]12D3KooWSnoJ6eoieBRBcBEx32qsMdDahZAtnAJQoPMu3jE24Wja, [/ip4/123.138.59.163/tcp/18346]12D3KooWSZmCNBuBTNjCZVtUiyDBnU7qr3czgjQ9WjApXi3acoAZ, [/ip4/61.10.9.11/tcp/60187]12D3KooWSNgnihQUuceUFEApt6rZe2NDALEcrtMJwbsqbJx6mCV5, [/ip4/68.97.157.173/tcp/59772]12D3KooWSBfUfnrUDB88QgkynygJfBwrJfsKrnj5yuy75znztkkg, [/ip4/103.9.208.55/tcp/1238]12D3KooWS2aJ2YPRydE6Y51HmSYGGuG311xJvMBw7MA6gCK6japj, [/ip4/220.168.154.93/tcp/30053]12D3KooWRtMBCq2bft8ngeuJP7f4ZtHqhJLYVH4bT2hVLpF7B5YU, [/ip4/222.212.87.12/tcp/20021]12D3KooWRZNMa4qzbD8u82pVG8XBtV6MLavufJUgFvxcHdRGM3Dj, [/ip4/183.240.209.157/tcp/24001]12D3KooWRWLCiuiDbKqQy4eX3qg2veqqtunbxzbCYTrP7po3jvFS, [/ip4/39.109.85.21/tcp/45999]

2. connect

  • lotus net connect连接指定节点

3. listen

  • lotus net listen查看本lotus监听地址

/ip4/172.30.56.67/tcp/39265/p2p/12D3KooWGhi4BV6duQr3xw8tFZKU5mqR6TX8DGjCPiMSxMFc9k3e /ip4/127.0.0.1/tcp/39265/p2p/12D3KooWGhi4BV6duQr3xw8tFZKU5mqR6TX8DGjCPiMSxMFc9k3e /ip6/::1/tcp/41627/p2p/12D3KooWGhi4BV6duQr3xw8tFZKU5mqR6TX8DGjCPiMSxMFc9k3e

4. id

  • lotus net id查看本 lotus peer id(本lotus公钥)

12D3KooWGhi4BV6duQr3xw8tFZKU5mqR6TX8DGjCPiMSxMFc9k3e

5. findpeer

  • lotus net findpeer 12D3KooWBP6WnZfBsM8NRJKMLMv7KSXmRgRiRGruceMdq7v5X71G查看 某节点监听的地址

 {12D3KooWBP6WnZfBsM8NRJKMLMv7KSXmRgRiRGruceMdq7v5X71G: [/ip4/149.5.22.2/tcp/42001]}

6. reachability

  • lotus net reachabilityNat 模式下lotus 网络是否可达,如果是private,表示不可达;public 可达目前我们直接通过公网IP直接访问网络,不走Nat模式

lotus net reachability AutoNAT status:  Private

7. bandwidth

  • 查看lotus的带宽详细使用情况

  • lotus net bandwidth --by-peer查看所有连接的 lotus 的 带宽使用情况

lotus net bandwidth --by-peer|more Segment                                               TotalIn  TotalOut  RateIn    RateOut 12D3KooW9pUgGsuRuZiKyXMshWy5NXm6zVHCvR8YZBwEa14G9mZH  774 kB   1.1 MB    0 B/s     0 B/s 12D3KooW9pcSn5RbbAtG3A3PTzewM2JRongceqvWewHyGj7qp6Ha  63 kB    36 kB     0 B/s     0 B/s 12D3KooW9qY2v1nAKU5HNaqxuGePCzESQ2uSdrpHDboruj1M9QAN  136 kB   103 kB    0 B/s     0 B/s 12D3KooW9qicuP6Vwusrp6v6Zr7Foo4yeDvT6uRewv46g6ggY5iq  18 kB    24 kB     0 B/s     0 B/s 12D3KooW9r68u7T7iAWG7asuwRa4MbdzLGYNaR1At5fb7nYVhPE5  25 kB    11 kB     0 B/s     0 B/s 12D3KooW9rcYPpCDtK8aP1c9wcqtGak5Te1EfzgQQ5rkKBxiykQF  41 kB    22 kB     0 B/s     0 B/s 12D3KooW9rrzPA3Go9czZ3jNewykfqY9MQ9x1he19u6sgmsr6ys9  30 kB    16 kB     0 B/s     0 B/s 12D3KooW9sCgz8stfFstehzYxeJ5g8VXi9QgYUb24BoyTd8Noeu3  81 kB    40 kB     0 B/s     0 B/s 12D3KooW9t9UV3ffV87XqFeFHevwfuYczfzqoxNHJ87oWbSXMv68  5.7 kB   8.1 kB    0 B/s     0 B/s 12D3KooW9tMrPeMCwwb2SBCZaMKNDhG9Cyd4S5ViuRVCSE6gnsDB  57 kB    55 kB     0 B/s     0 B/s 12D3KooW9taweuBLYTgaqCMUWRXgQw82JCYJ7kvh83g6ymaQPkis  27 kB    13 kB     0 B/s     0 B/s 12D3KooW9teWmMYSAff5ncWLBdPFhegfdBkEt6G8MUn5A5ed4j3s  40 kB    19 kB     0 B/s     0 B/s 12D3KooW9txku6jNfPtCr4Rtvjn2BzgetANMMESS9h675Cdpwndy  48 kB    22 kB     0 B/s     0 B/s

来源:金色财经

敬告读者:本文为转载发布,不代表本网站赞同其观点和对其真实性负责。FX168财经仅提供信息发布平台,文章或有细微删改。
go