lotus/provider/lpseal
2024-02-21 13:28:49 +01:00
..
poller_commit_msg.go lpseal: Allow broken dep chains in poller 2024-02-17 15:01:59 +01:00
poller_precommit_msg.go lpseal: Fix precommit poller hang 2024-02-21 10:46:02 +01:00
poller.go lpseal: Allow broken dep chains in poller 2024-02-17 15:01:59 +01:00
README.md lpseal: Handle out-of-gas retry in poller 2024-02-16 21:21:25 +01:00
sector_num_alloc.go lpmarket: Fix result output in case of tx retry 2024-02-20 14:14:26 +01:00
task_finalize.go lpseal: Fix finalize with cc sectors 2024-02-16 21:22:39 +01:00
task_movestorage.go lpseal: Appease the linter 2024-02-16 21:22:39 +01:00
task_porep.go make gen, mod tidy 2024-02-16 21:21:25 +01:00
task_sdr.go lpseal: Pass DealIDs into precommit 2024-02-16 21:21:38 +01:00
task_submit_commit.go make gen 2024-02-17 00:58:19 +01:00
task_submit_precommit.go lpseal: Correctly set expiration epochs when deals are present 2024-02-20 19:33:06 +01:00
task_trees_test.go lpseal: Appease the linter 2024-02-16 21:22:39 +01:00
task_trees.go lp: Address review 2024-02-21 13:28:49 +01:00

Lotus-Provider Sealer

Overview

The lotus-provider 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 layers
    • SDRTrees - Generate tree files (TreeD, TreeR, TreeC)
    • PreCommitSubmit - Submit precommit message to the network
    • PoRep - Generate PoRep proof
    • CommitSubmit - 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.