Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Status ¶
type Status struct { // The total number of bytes allocated for incoming data TotalAvailable uint64 // The number of bytes reserved for accepted deals Tagged uint64 // The number of bytes that have been downloaded and are waiting to be added to a sector Staged uint64 // The number of bytes that are not tagged Free uint64 }
func GetStatus ¶
func GetStatus(ctx context.Context, mgr *storagemanager.StorageManager, db *db.DealsDB) (*Status, error)
Click to show internal directories.
Click to hide internal directories.