Once compressed, the key data needed to verify storage is stored on the Filecoin chain, a copy of which is maintained by each user running a node. This allows for Proof of Spacetime to run regularly over time.
As a storage client, you can run the lotus client list-deals
command to list all of the storage deals proposed from that node. For example, here are the results from a node from which only one deal has been proposed:
$ lotus client list-deals
DealCid: bafyreiefvrrv5j7omqzfersogg4nqzctyzj66rcmkwkbxxx5prvd5sklci
DealId: 2
Provider: t01000
State: StorageDealActive
On Chain?: Y (epoch 59)
Slashed?: N
PieceCID: bafk4chzazx6u4luj34azuit37rlylgrcbgkaakqsjt5avsbolxale2igii3q
Size: 1016
Price: 1000000
Duration: 2744
Let's explore the data made available by this command:
StorageDealActive
once the data is stored and sealed. (Note that currently this will stay as StorageDealActive
even after the duration of the deal expires or the miner fails a Proof of Spacetime, so it's important to refer to the slashed
field for the latter case.)Y
and the miner will be penalized.)For the quiz below, consider the following three deals:
$ lotus client list-deals
DealCid: bafyreiefvrrv5j7omqzfersogg4nqzctyzj55rcmkwkbxxx6prvd5sklci
DealId: 32
Provider: t01000
State: StorageDealActive
On Chain?: Y (epoch 59)
Slashed?: N
PieceCID: bafk4chzazx6u4luj34azuit37rlylgrcbgkaakqsjt5avsbolxale2igii3q
Size: 1016
Price: 1000000
Duration: 2744
DealCid: bafyreiefvrrv5j7omqzfersogg4nqzctyzj44rcmkwkbxxx5prvd5sklci
DealId: 45
Provider: t01000
State: StorageDealActive
On Chain?: Y (epoch 22)
Slashed?: Y
PieceCID: bafk4chzazx6u4luj34azuit37rlylgrcbgkaakqsjt5avsbolxale2igii3q
Size: 1016
Price: 1000000
Duration: 2744
DealCid: bafyreiefvrrv5j7omqzfersogg4nqzctyzj33rcmkwkbxxx4prvd5sklci
DealId: 57
Provider: t01000
State: StorageDealActive
On Chain?: Y (epoch 38)
Slashed?: N
PieceCID: bafk4chzazx6u4luj34azuit37rlylgrcbgkaakqsjt5avsbolxale2igii3q
Size: 1016
Price: 1000000
Duration: 2744
Feeling stuck? We'd love to hear what's confusing so we can improve this lesson. Please share your questions and feedback.