filecoin-project / specs-actors

DEPRECATED Specification of builtin actors, in the form of executable code.
Other
86 stars 102 forks source link

Avoid loading partitions for off-chain window posts #1352

Open Stebalien opened 3 years ago

Stebalien commented 3 years ago

If we stored a bitfield recording all partitions with "recovering" power, we could avoid loading any partitions for proofs that neither recover power nor mark sectors as faulty. This would reduce the cost of a window post to:

  1. load actor, miner info, deadlines, current deadline (4).
  2. store everything except the miner info (3).
  3. Loads/stores to save the proof (~1-3).

We'd expect less than 6 stores, less than 7 loads, and no sends.