github filecoin-project/lotus v1.17.2

latest releases: v1.29.1, v1.28.3, miner/v1.28.2...
23 months ago

This is an OPTIONAL release of Lotus. This feature release introduces new sector number management APIs in Lotus that enables all the Sealing-as-a-Service and Lotus interactions needed to function. The default propagation delay setting for storage providers has also been changed, as well as numerous other features and enhancements. Check out the sub-bullet points in the feature and enhancement section to get a short description about each feature and enhancements.

Highlights

🦭 SaaS 🦭
New sector management APIs makes it possible to import partially sealed sectors into Lotus. This release implements all SaaS<->Lotus interactions needed for such services to work. Deep dive into the new APIs here: #9079 (comment)

Propagation delay ⌛️
In v1.17.2 the default PropagationDelay has been raised from 6 seconds -> 10 seconds, and you can tune this yourself with the PROPAGATION_DELAY_SECS environment variable. This means you will now wait for 10 seconds for other blocks to arrive from the network before computing a winningPoSt (if eligible). In your lotus-miner logs that means you will see this "baseDeltaSeconds": 10 as default.

⚠️ Please note that Lotus v1.17.2 will require a Go-version of v1.18.1 or higher!

New features

  • feat: sealing: Partially sealed sector import (filecoin-project/lotus#9210)
    • Implements support for importing (partially) sealed sectors which is needed for enabling external sealing services.
  • feat: sealing: Use bitfields to manage sector numbers (filecoin-project/lotus#9183)
    • Needed for Sealing-as-a-Service. Move sector number assigning logic to use stored bitfields instead of stored counters. Makes it possible to reserve ranges of sector numbers, see the sector assigner state and view sector number reservations.
  • feat: env: propagation delay (filecoin-project/lotus#9290)
    • The default propagation delay is raised to 10 seconds from 6 seconds. Ability to set it yourself with the PROPAGATION_DELAY_SECS environment variable.
  • feat: cli: lotus info cmd (filecoin-project/lotus#9233)
    • A new lotus info command that prints useful node information in one place.
  • feat: proving: Introduce manual sector fault recovery (#9144) (filecoin-project/lotus#9144)
    • Allow users to declare fault recovery messages manually with the lotus-miner proving recover-faults command, rather than waiting for it to happen automatically before windowPost.
  • feat: api: Reintroduce StateActorManifestCID (filecoin-project/lotus#9201)
    • Adds ability to retrieve the Actor Manifest CID through the api.
  • feat: message: Add uuid to mpool message sent to chain node from miner (filecoin-project/lotus#9174)
    • Adds a UUID to each message sent by the lotus-miner to the daemon. A requirement needed for #9130
  • feat: message: Add retries to mpool push message from lotus-miner (filecoin-project/lotus#9177)
    • Retries to mpool push message API in case of unavailability of the lotus chain node.

Network 17 related features :

Enhancements

  • feat: sectors renew --only-cc (filecoin-project/lotus#9184)
    • Exlude extending deal-related sectors with the --only-cc option when using the lotus-miner sectors renew
  • feat: miner: display updated & update-cache for storage list (filecoin-project/lotus#9323)
    • Show amount of updated & update-cache sectors in each storage path in the lotus-miner storage list output
  • feat: add descriptive errors to markets event handler (filecoin-project/lotus#9326)
    • More descriptive market error logs
  • feat: cli: Add option to terminate sectors from worker address (filecoin-project/lotus#9291)
    • Adds a flag to allow either owner address or worker address to send terminate sectors message.
  • fix: cli: actor-cids cli command now defaults to current network (filecoin-project/lotus#9321)
    • Makes the command defaults to the current network.
  • fix: ux: Output bytes in lotus client commP cmd (filecoin-project/lotus#9189)
    • Adds an additional line that outputs bytes in the lotus client commP command.
  • fix: sealing: Add information on what worker a job was assigned to in logs (filecoin-project/lotus#9151)
    • Adds the worker hostname into the assignment logs.
  • refactor: sealing pipeline: Remove useless storage adapter code (filecoin-project/lotus#9142
    • Remove proxy code in storage/miner.go / storage/miner_sealing.go, call the pipeline directly instead.

Bug fixes

Dependency updates

Others

Contributors

Contributor Commits Lines ± Files Changed
Aayush Rajasekaran 8 +23010/-2122 109
Aayush 15 +6168/-2679 360
Łukasz Magiera 69 +6462/-2137 606
Geoff Stuart 19 +3080/-1177 342
Marco Munizaga 16 +543/-424 41
Shrenuj Bansal 30 +485/-419 88
LexLuthr 3 +498/-12 19
Phi 15 +330/-70 17
Jennifer Wang 7 +132/-12 11
TippyFlitsUK 1 +43/-45 12
Steven Allen 1 +18/-28 2
Frrist 1 +19/-11 2
Eng Zer Jun 1 +14/-11 6
Dirk McCormick 2 +23/-1 3
Ian Davis 3 +7/-9 3
Masih H. Derkani 1 +11/-0 1
Anton Evangelatov 1 +11/-0 1
Yu 2 +4/-4 5
Hannah Howard 1 +4/-4 1
Phi-rjan 1 +1/-2 1
Jiaying Wang 1 +3/-0 1
nujz 1 +1/-1 1
Rob Quist 1 +1/-1 1

Don't miss a new lotus release

NewReleases is sending notifications on new releases.