1.1.3-pre2 / 2020-11-12
This is an optional release of Lotus that upgrades Lotus dependencies, and includes many performance enhancements, bugfixes, and UX improvements.
Highlights
- Refactored much of the miner code (#3618), improving its recovery from restarts and overall sector success rate
- Updated proofs to v5.3.0, which brings significant performance improvements
- Updated markets to v1.0.4, which reduces failures due to reorgs (#4730) and uses the newly refactored fund manager (#4736)
Changes
Core Lotus
- polish: add Equals method to MinerInfo shim (#4604)
- Fix messagepool accounting (#4668)
- Prep for gas balancing (#4651)
- Reduce badger ValueThreshold to 128 (#4629)
- Config for default max gas fee (#4652)
- bootstrap: don't return early when one drand resolution fails (#4626)
- polish: add ClaimsChanged and DiffClaims method to power shim (#4628)
- Simplify chain event Called API (#4664)
- Cache deal states for most recent old/new tipset (#4623)
- Add miner available balance and power info to state miner info (#4618)
- Call GetHeaviestTipSet() only once when syncing (#4696)
- modify runtime gasUsed printf (#4704)
- Rename builtin actor generators (#4697)
- Move gas multiplier as property of pricelist (#4728)
- polish: add msig pendingtxn diffing and comp (#4719)
- Optional chain Bitswap (#4717)
- rewrite sync manager (#4599)
- async connect to bootstrappers (#4785)
- head change coalescer (#4688)
- move to native badger blockstore; leverage zero-copy View() to deserialize in-place (#4681)
- badger blockstore: minor improvements (#4811)
- Do not fail wallet delete because of pre-existing trashed key (#4589)
- Correctly delete the default wallet address (#4705)
Mining
- worker key should change when set sender found key not equal with the value on chain (#4595)
- extern/sector-storage: fix GPU usage overwrite bug (#4627)
- sectorstorage: Fix manager restart edge-case (#4645)
- storagefsm: Fix GetTicket loop when the sector is already precommitted (#4643)
- Debug flag to force running sealing scheduler (#4662)
- Fix worker reenabling, handle multiple restarts in worker (#4666)
- keep retrying the proof until we run out of sectors to skip (#4633)
- worker: Commands to pause/resume task processing (#4615)
- struct name incorrect (#4699)
- optimize code replace strings with constants (#4769)
- optimize pledge sector (#4765)
- Track sealing processes across lotus-miner restarts (#3618)
- Fix scheduler lockups after storage is freed (#4778)
- storage: Track worker hostnames with work (#4779)
- Expand sched-diag; Command to abort sealing calls (#4804)
Markets and Data Transfer
- Flesh out data transfer features (#4572)
- Fix memory leaks in data transfer (#4619)
- Handle deal id changes in OnDealSectorCommitted (#4730)
- Refactor FundManager (#4736)
- refactor: integrate new FundManager (#4787)
- Fix race in paych manager when req context is cancelled (#4803)
- fix race in paych manager add funds (#4597)
- Fix panic in FundManager (#4808)
UX
- Make EarlyExpiration in sectors list less scary (#4600)
- Add commands to change the worker key (#4513)
- Expose ClientDealSize via CLI (#4569)
- client deal: Cache CommD when creating multiple deals (#4535)
- miner sectors list: flags for events/seal time (#4649)
- make IPFS online mode configurable (#4650)
- Add sync status to miner info command (#4669)
- Add a StateDecodeParams method (#4105)
- sched: Interactive RPC Shell (#4692)
- Add api for getting status given a code (#4210)
- Update lotus-stats with a richer cli (#4718)
- Use TSK passed to GasEstimateGasLimit (#4739)
- match data type for reward state api (#4745)
- Add
termination-estimate
to get an estimation for how much a termination penalty will be (#4617) - Restrict
ParseFIL
input length (#4780) - cmd sectors commitIDs len debug (#4786)
- Add client deal-stats CLI (#4788)
- Modify printf format (#4795)
- Updated msig inspect (#4533)
Testing and Tooling
- refactor: share code between CLI tests (#4598)
- Fix flaky TestCLIDealFlow (#4608)
- Fix flaky testMiningReal (#4609)
- Add election run-dummy command (#4498)
- Fix .gitmodules (#4713)
- fix metrics wiring.(#4691)
- shed: Util for creating ID CIDs (#4726)
- Run kumquat upgrade on devnets (#4734)
- Make pond work again (#4775)
- lotus-stats: fix influx flags (#4810)
Dependencies
- update filecoin-ffi in go mod (#4584)
- Update FFI (#4613)
- feat: integrate new optional blst backend and verification optimizations from proofs (#4630)
- Use https for blst submodule (#4710)
- Update go-bitfield (#4756)
- Update Yamux (#4758)
- Update to latest go-bitfield (#4793)
- Update to latest go-address (#4798)