feat(storageminer): add api for transfer diagnostics
Add API + CLI for inspecting in depth diagnostics on graphsync transfers with a given peer
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
* [LogSetLevel](#LogSetLevel)
|
||||
* [Market](#Market)
|
||||
* [MarketCancelDataTransfer](#MarketCancelDataTransfer)
|
||||
* [MarketDataTransferDiagnostics](#MarketDataTransferDiagnostics)
|
||||
* [MarketDataTransferUpdates](#MarketDataTransferUpdates)
|
||||
* [MarketGetAsk](#MarketGetAsk)
|
||||
* [MarketGetDealUpdates](#MarketGetDealUpdates)
|
||||
@@ -724,6 +725,27 @@ Inputs:
|
||||
|
||||
Response: `{}`
|
||||
|
||||
### MarketDataTransferDiagnostics
|
||||
MarketDataTransferDiagnostics generates debugging information about current data transfers over graphsync
|
||||
|
||||
|
||||
Perms: write
|
||||
|
||||
Inputs:
|
||||
```json
|
||||
[
|
||||
"12D3KooWGzxzKZYveHXtpG6AsrUJBcWxHBFS2HsEoGTxrMLvKXtf"
|
||||
]
|
||||
```
|
||||
|
||||
Response:
|
||||
```json
|
||||
{
|
||||
"ReceivingTransfers": null,
|
||||
"SendingTransfers": null
|
||||
}
|
||||
```
|
||||
|
||||
### MarketDataTransferUpdates
|
||||
|
||||
|
||||
|
||||
@@ -974,10 +974,11 @@ USAGE:
|
||||
lotus-miner data-transfers command [command options] [arguments...]
|
||||
|
||||
COMMANDS:
|
||||
list List ongoing data transfers for this miner
|
||||
restart Force restart a stalled data transfer
|
||||
cancel Force cancel a data transfer
|
||||
help, h Shows a list of commands or help for one command
|
||||
list List ongoing data transfers for this miner
|
||||
restart Force restart a stalled data transfer
|
||||
cancel Force cancel a data transfer
|
||||
diagnostics Get detailed diagnostics on active transfers with a specific peer
|
||||
help, h Shows a list of commands or help for one command
|
||||
|
||||
OPTIONS:
|
||||
--help, -h show help (default: false)
|
||||
@@ -1034,6 +1035,19 @@ OPTIONS:
|
||||
|
||||
```
|
||||
|
||||
### lotus-miner data-transfers diagnostics
|
||||
```
|
||||
NAME:
|
||||
lotus-miner data-transfers diagnostics - Get detailed diagnostics on active transfers with a specific peer
|
||||
|
||||
USAGE:
|
||||
lotus-miner data-transfers diagnostics [command options] [arguments...]
|
||||
|
||||
OPTIONS:
|
||||
--help, -h show help (default: false)
|
||||
|
||||
```
|
||||
|
||||
## lotus-miner dagstore
|
||||
```
|
||||
NAME:
|
||||
|
||||
Reference in New Issue
Block a user