v1.13.0
Lotus v1.13.0 is a highly recommended feature release for all lotus users(i.e: storage providers, data brokers, application developers and so on) that supports the upcoming Network v14 Chocolate upgrade.
This feature release includes the latest functionalities and improvements, like data transfer rate-limiting for both storage and retrieval deals, proof v10 with CUDA support, etc. You can find more details in the Changelog below.
Note: If you have any questions with regarding to the Network v14 Chocolate Upgrade and this release, leave a comment here!
Highlights
- Enable separate storage and retrieval transfer limits (filecoin-project/lotus#7405)
SimultaneousTransfer
is now replaced bySimultaneousTransfersForStorage
andSimultaneousTransfersForRetrieval
, where users may set the amount of ongoing data transfer for storage and retrieval deals in parallel separately. The default value for both is set to 20.- If you are using the lotus client, these two configuration variables are under the
Client
section in./lotus/config.toml
. - If you are a service provider, these two configuration variables should be set under the
Dealmaking
section in/.lotusminer/config.toml
.
- Update proofs to v10.0.0 (filecoin-project/lotus#7420)
- This version supports CUDA. To enable CUDA instead of openCL, build lotus with
FFI_USE_CUDA=1 FFI_BUILD_FROM_SOURCE=1 ...
. - You can find additional Nvidia driver installation instructions written by MinerX fellows here and perf improvements result on PC2/C2/WindowPoSt computation on different profiles here, most people observe a 30-50% decrease in computation time.
- This version supports CUDA. To enable CUDA instead of openCL, build lotus with
New Features
- Feat/datamodel selector retrieval (filecoin-project/lotus#6393)
- This introduces a new RetrievalOrder-struct field and a CLI option that takes a string representation as understood by https://pkg.go.dev/github.com/ipld/go-ipld-selector-text-lite#SelectorSpecFromPath. This allows for partial retrieval of any sub-DAG of a deal provided the user knows the exact low-level shape of the deal contents.
- For example, to retrieve the first entry of a UnixFS directory by executing, run
lotus client retrieve --miner f0XXXXX --datamodel-path-selector 'Links/0/Hash' bafyROOTCID ~/output
- For example, to retrieve the first entry of a UnixFS directory by executing, run
- This introduces a new RetrievalOrder-struct field and a CLI option that takes a string representation as understood by https://pkg.go.dev/github.com/ipld/go-ipld-selector-text-lite#SelectorSpecFromPath. This allows for partial retrieval of any sub-DAG of a deal provided the user knows the exact low-level shape of the deal contents.
- Expose storage stats on the metrics endpoint (filecoin-project/lotus#7418)
- feat: Catch panic to generate report and reraise (filecoin-project/lotus#7341)
- Set
LOTUS_PANIC_REPORT_PATH
andLOTUS_PANIC_JOURNAL_LOOKBACK
to get reports generated when a panic occurs on your daemon miner or workers.
- Set
- Add envconfig docs to the config (filecoin-project/lotus#7412)
- You can now find supported env vars in default-lotus-miner-config.toml.
- lotus shed: fr32 utils (filecoin-project/lotus#7355)
- Miner CLI: Allow trying to change owners of any miner actor (filecoin-project/lotus#7328)
- Add --unproven flag to the sectors list command (filecoin-project/lotus#7308)
Improvements
- check for deal start epoch on SectorAddPieceToAny (filecoin-project/lotus#7407)
- Verify Voucher locks in VoucherValidUnlocked (filecoin-project/lotus#5609)
- Add more info to miner allinfo command (filecoin-project/lotus#7384)
- add
lotus-miner storage-deals list --format=json
with transfers (filecoin-project/lotus#7312) - Fix formatting (filecoin-project/lotus#7383)
- GetCurrentDealInfo err: handle correctly err case (filecoin-project/lotus#7346)
- fix: Enforce verification key integrity check regardless of TRUST_PARAMS=1 (filecoin-project/lotus#7327)
- Show more deal states in miner info (filecoin-project/lotus#7311)
- Prep retrieval for selectors: no functional changes (filecoin-project/lotus#7306)
- Seed: improve helptext (filecoin-project/lotus#7304)
- Mempool: reduce size of sigValCache (filecoin-project/lotus#7305)
- Stop indirectly depending on deprecated github.com/prometheus/common (filecoin-project/lotus#7474)
Bug Fixes
- StateSearchMsg: Correct usage of the allowReplaced flag (filecoin-project/lotus#7450)
- fix staging area path buildup (filecoin-project/lotus#7363)
- storagemgr: Cleanup workerLk around worker resources (filecoin-project/lotus#7334)
- fix: check padSector Cid (filecoin-project/lotus#7310)
- sealing: Recover sectors after failed AddPiece (filecoin-project/lotus#7492)
- fix: support node instantiation in external packages (filecoin-project/lotus#7511)
- Chore/backport cleanup withdrawn dependency (filecoin-project/lotus#7482)
Dependency Updates
- github.com/filecoin-project/go-data-transfer (v1.10.1 -> v1.11.1):
- github.com/filecoin-project/go-fil-markets (v1.12.0 -> v1.13.1):
- github.com/filecoin-project/go-paramfetch (v0.0.2-0.20210614165157-25a6c7769498 -> v0.0.2):
- update go-libp2p to v0.15.0 (filecoin-project/lotus#7362)
- update to go-graphsync v0.10.1 (filecoin-project/lotus#7359)
Others
- Chocolate to master (filecoin-project/lotus#7440)
- releases -> master (filecoin-project/lotus#7403)
- remove nerpanet related code (filecoin-project/lotus#7373)
- sync branch main with master on updates (filecoin-project/lotus#7366)
- remove job to install jq (filecoin-project/lotus#7309)
- restore filters for the build-macos job (filecoin-project/lotus#7455)
- v1.13.0-rc2 (filecoin-project/lotus#7458)
- v1.13.0-rc1 (filecoin-project/lotus#7452)
Contributors
Contributor | Commits | Lines ± | Files Changed |
---|---|---|---|
@dirkmc | 8 | +845/-375 | 55 |
@magik6k | 10 | +1056/-60 | 26 |
@aarshkshah1992 | 6 | +813/-259 | 16 |
@arajasek | 10 | +552/-251 | 43 |
@ribasushi | 6 | +505/-78 | 22 |
@jennijuju | 7 | +212/-323 | 34 |
@nonsense | 10 | +335/-139 | 19 |
@dirkmc | 8 | +149/-55 | 16 |
@hannahhoward | 4 | +56/-32 | 17 |
@rvagg | 4 | +61/-13 | 9 |
@jennijuju | 2 | +0/-57 | 2 |
@hannahhoward | 1 | +33/-18 | 7 |
@Kubuxu | 8 | +27/-16 | 9 |
@coryschwartz | 1 | +16/-2 | 2 |
@travisperson | 1 | +14/-0 | 1 |
@frrist | 1 | +12/-0 | 2 |
@ognots | 1 | +0/-10 | 2 |
@lanzafame | 1 | +3/-3 | 1 |
@jennijuju | 1 | +2/-2 | 1 |
@swift-mx | 1 | +1/-1 | 1 |