7e3846c669
* multiple piece per sector, DDO deals * in memory to DB * sql parser * add seal command * multi piece TreeD * redo filler pieces * remove psql exception handling * fix deal sectors porep * fix tests * ddo deals * lower SDR cpu for test * devnet cpu 0 * get params for itest * fix itest sector size * revert sdr devnet cpu * improve SectorStatus API * account for verified constraints |
||
---|---|---|
.. | ||
finalize_pieces.go | ||
poller_commit_msg.go | ||
poller_precommit_msg.go | ||
poller.go | ||
README.md | ||
sector_num_alloc.go | ||
task_finalize.go | ||
task_movestorage.go | ||
task_porep.go | ||
task_sdr.go | ||
task_submit_commit.go | ||
task_submit_precommit.go | ||
task_treed_test.go | ||
task_treed.go | ||
task_treerc.go |
Curio Sealer
Overview
The Curio sealer is a collection of harmony tasks and a common poller which implement the sealing functionality of the Filecoin protocol.
Pipeline Tasks
- SDR pipeline
SDR
- Generate SDR layersSDRTrees
- Generate tree files (TreeD, TreeR, TreeC)PreCommitSubmit
- Submit precommit message to the networkPoRep
- Generate PoRep proofCommitSubmit
- Submit commit message to the network
Poller
The poller is a background process running on every node which runs any of the SDR pipeline tasks. It periodically checks the state of sectors in the SDR pipeline and schedules any tasks to run which will move the sector along the pipeline.
Error Handling
- Pipeline tasks are expected to always finish successfully as harmonytask tasks. If a sealing task encounters an error, it should mark the sector pipeline entry as failed and exit without erroring. The poller will then figure out a recovery strategy for the sector.