Show deal sizes is sealing sectors

This commit is contained in:
Łukasz Magiera
2021-09-07 18:49:53 +02:00
parent b089cc4fc3
commit e4044151f0
3 changed files with 38 additions and 9 deletions
+6
View File
@@ -267,6 +267,11 @@ type SectorLog struct {
Message string
}
type SectorPiece struct {
Piece abi.PieceInfo
DealInfo *PieceDealInfo // nil for pieces which do not appear in deals (e.g. filler pieces)
}
type SectorInfo struct {
SectorID abi.SectorNumber
State SectorState
@@ -274,6 +279,7 @@ type SectorInfo struct {
CommR *cid.Cid
Proof []byte
Deals []abi.DealID
Pieces []SectorPiece
Ticket SealTicket
Seed SealSeed
PreCommitMsg *cid.Cid