Merge pull request #7311 from filecoin-project/feat/minerinfo-more-dealstates
Show more deal states in miner info
This commit is contained in:
commit
20a7193b06
@ -377,14 +377,18 @@ func handleMarketsInfo(ctx context.Context, nodeApi api.StorageMiner) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
showDealStates := map[storagemarket.StorageDealStatus]struct{}{
|
showDealStates := map[storagemarket.StorageDealStatus]struct{}{
|
||||||
storagemarket.StorageDealActive: {},
|
storagemarket.StorageDealActive: {},
|
||||||
storagemarket.StorageDealTransferring: {},
|
storagemarket.StorageDealAcceptWait: {},
|
||||||
storagemarket.StorageDealStaged: {},
|
storagemarket.StorageDealReserveProviderFunds: {},
|
||||||
storagemarket.StorageDealAwaitingPreCommit: {},
|
storagemarket.StorageDealProviderFunding: {},
|
||||||
storagemarket.StorageDealSealing: {},
|
storagemarket.StorageDealTransferring: {},
|
||||||
storagemarket.StorageDealPublish: {},
|
storagemarket.StorageDealValidating: {},
|
||||||
storagemarket.StorageDealCheckForAcceptance: {},
|
storagemarket.StorageDealStaged: {},
|
||||||
storagemarket.StorageDealPublishing: {},
|
storagemarket.StorageDealAwaitingPreCommit: {},
|
||||||
|
storagemarket.StorageDealSealing: {},
|
||||||
|
storagemarket.StorageDealPublish: {},
|
||||||
|
storagemarket.StorageDealCheckForAcceptance: {},
|
||||||
|
storagemarket.StorageDealPublishing: {},
|
||||||
}
|
}
|
||||||
|
|
||||||
var total dealStat
|
var total dealStat
|
||||||
|
Loading…
Reference in New Issue
Block a user