feat: cli/net: implement 'net ping' command
This commit is contained in:
@@ -84,6 +84,7 @@
|
||||
* [NetLimit](#NetLimit)
|
||||
* [NetPeerInfo](#NetPeerInfo)
|
||||
* [NetPeers](#NetPeers)
|
||||
* [NetPing](#NetPing)
|
||||
* [NetPubsubScores](#NetPubsubScores)
|
||||
* [NetSetLimit](#NetSetLimit)
|
||||
* [NetStat](#NetStat)
|
||||
@@ -1784,6 +1785,20 @@ Response:
|
||||
]
|
||||
```
|
||||
|
||||
### NetPing
|
||||
|
||||
|
||||
Perms: read
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
"12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf"
|
||||
]
|
||||
```
|
||||
|
||||
Response: `60000000000`
|
||||
|
||||
### NetPubsubScores
|
||||
|
||||
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
* [NetLimit](#NetLimit)
|
||||
* [NetPeerInfo](#NetPeerInfo)
|
||||
* [NetPeers](#NetPeers)
|
||||
* [NetPing](#NetPing)
|
||||
* [NetPubsubScores](#NetPubsubScores)
|
||||
* [NetSetLimit](#NetSetLimit)
|
||||
* [NetStat](#NetStat)
|
||||
@@ -3905,6 +3906,20 @@ Response:
|
||||
]
|
||||
```
|
||||
|
||||
### NetPing
|
||||
|
||||
|
||||
Perms: read
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
"12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf"
|
||||
]
|
||||
```
|
||||
|
||||
Response: `60000000000`
|
||||
|
||||
### NetPubsubScores
|
||||
|
||||
|
||||
|
||||
@@ -137,6 +137,7 @@
|
||||
* [NetLimit](#NetLimit)
|
||||
* [NetPeerInfo](#NetPeerInfo)
|
||||
* [NetPeers](#NetPeers)
|
||||
* [NetPing](#NetPing)
|
||||
* [NetPubsubScores](#NetPubsubScores)
|
||||
* [NetSetLimit](#NetSetLimit)
|
||||
* [NetStat](#NetStat)
|
||||
@@ -4266,6 +4267,20 @@ Response:
|
||||
]
|
||||
```
|
||||
|
||||
### NetPing
|
||||
|
||||
|
||||
Perms: read
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
"12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf"
|
||||
]
|
||||
```
|
||||
|
||||
Response: `60000000000`
|
||||
|
||||
### NetPubsubScores
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user