This is a mandatory release of Lotus that upgrades the network to version 12, which introduces various performance improvements to the cron processing of the power actor. The network will upgrade at height 712320, which is 2021-04-29T06:00:00Z.
- v4 specs-actors integration, nv12 migration (filecoin-project#6116)
This is a mandatory release of Lotus that upgrades the network to version 11, which implements FIP-0014. The network will upgrade at height 665280, which is 2021-04-12T22:00:00Z.
This release also expands the lotus-miner sectors extend
CLI, with a new option that automatically extends all extensible v1 sectors. The option can be run using lotus-miner sectors extend --v1-sectors
.
-
The
tolerance
flag can be passed to indicate what durations aren't "worth" extending. It defaults to one week, which means that sectors whose current lifetime's are within one week of the maximum possible lifetime will not be extended. -
The
expiration-cutoff
flag can be passed to skip sectors whose expiration is past a certain point from the current head. It defaults to infinity (no cutoff), but if, say, 28800 was specified, then only sectors expiring in the next 10 days would be extended (2880 epochs in 1 day).
- Util for miners to extend all v1 sectors (filecoin-project#5924)
- Upgrade the butterfly network (filecoin-project#5929)
- Introduce the v11 network upgrade (filecoin-project#5904)
- Debug mode: Make upgrade heights controllable by an envvar (filecoin-project#5919)
This is a patch release of Lotus that introduces small fixes to the Storage FSM.
- storagefsm: Fix double unlock with ready WaitDeals sectors (filecoin-project#5783)
- backupds: Allow larger values in write log (filecoin-project#5776)
- storagefsm: Don't log the SectorRestart event (filecoin-project#5779)
This is an hotfix release of Lotus that fixes a critical bug introduced in v1.5.1 in the miner windowPoSt logic. This upgrade is only affecting miner nodes.
- fix window post rand check (filecoin-project#5773)
- wdpost: Always use head tipset to get randomness (filecoin-project#5774)
This is an optional release of Lotus that introduces an important fix to the WindowPoSt computation process. The change is to wait for some confidence before drawing beacon randomness for the proof. Without this, invalid proofs might be generated as the result of a null tipset.
This release also introduces the splitstore, a new optional blockstore that segregates the monolithic blockstore into cold and hot regions. The hot region contains objects from the last 4-5 finalities plus all reachable objects from two finalities away. All other objects are moved to the cold region using a compaction process that executes every finality, once 5 finalities have elapsed.
The splitstore allows us to separate the two regions quite effectively, using two separate badger blockstores. The separation means that the live working set is much smaller, which results in potentially significant performance improvements. In addition, it means that the coldstore can be moved to a separate (bigger, slower, cheaper) disk without loss of performance.
The design also allows us to use different implementations for the two blockstores; for example, an append-only blockstore could be used for coldstore and a faster memory mapped blockstore could be used for the hotstore (eg LMDB). We plan to experiment with these options in the future.
Once the splitstore has been enabled, the existing monolithic blockstore becomes the coldstore. On the first head change notification, the splitstore will warm up the hotstore by copying all reachable objects from the current tipset into the hotstore. All new writes go into the hotstore, with the splitstore tracking the write epoch. Once 5 finalities have elapsed, and every finality thereafter, the splitstore compacts by moving cold objects into the coldstore. There is also experimental support for garbage collection, whereby nunreachable objects are simply discarded.
To enable the splitstore, add the following to config.toml:
[Chainstore]
EnableSplitstore = true
Other highlights include:
- Improved deal data handling - now multiple deals can be adding to sectors in parallel
- Rewriten sector pledging - it now actually cares about max sealing sector limits
- Better handling for sectors stuck in the RecoverDealIDs state
- lotus-miner sectors extend command
- Optional configurable storage path size limit
- Config to disable owner/worker fallback from control addresses (useful when owner is a key on a hardware wallet)
- A write log for node metadata, which can be restored as a backup when the metadata leveldb becomes corrupted (e.g. when you run out of disk space / system crashes in some bad way)
- avoid use mp.cfg directly to avoid race (filecoin-project#5350)
- Show replacing message CID is state search-msg cli (filecoin-project#5656)
- Fix riceing by importing the main package (filecoin-project#5675)
- Remove sectors with all deals expired in RecoverDealIDs (filecoin-project#5658)
- storagefsm: Rewrite input handling (filecoin-project#5375)
- reintroduce Refactor send command for better testability (filecoin-project#5668)
- Improve error message with importing a chain (filecoin-project#5669)
- storagefsm: Cleanup CC sector creation (filecoin-project#5612)
- chain list --gas-stats display capacity (filecoin-project#5676)
- Correct some logs (filecoin-project#5694)
- refactor blockstores (filecoin-project#5484)
- Add idle to sync stage's String() (filecoin-project#5702)
- packer provisioner (filecoin-project#5604)
- add DeleteMany to Blockstore interface (filecoin-project#5703)
- segregate chain and state blockstores (filecoin-project#5695)
- fix(multisig): The format of the amount is not correct in msigLockApp (filecoin-project#5718)
- Update butterfly network (filecoin-project#5627)
- Collect worker task metrics (filecoin-project#5648)
- Correctly format disputer log (filecoin-project#5716)
- Log block CID in the large delay warning (filecoin-project#5704)
- Move api client builders to a cliutil package (filecoin-project#5728)
- Implement net peers --extended (filecoin-project#5734)
- Command to extend sector expiration (filecoin-project#5666)
- garbage collect hotstore after compaction (filecoin-project#5744)
- tune badger gc to repeatedly gc the value log until there is no rewrite (filecoin-project#5745)
- Add configuration option for pubsub IPColocationWhitelist subnets (filecoin-project#5735)
- hot/cold blockstore segregation (aka. splitstore) (filecoin-project#4992)
- Customize verifreg root key and remainder account when making genesis (filecoin-project#5730)
- chore: update go-graphsync to 0.6.0 (filecoin-project#5746)
- Add connmgr metadata to NetPeerInfo (filecoin-project#5749)
- test: attempt to make the splitstore test deterministic (filecoin-project#5750)
- Feat/api no dep build (filecoin-project#5729)
- Fix bootstrapper profile setting (filecoin-project#5756)
- Check liveness of sectors when processing termination batches (filecoin-project#5759)
- Configurable storage path storage limit (filecoin-project#5624)
- miner: Config to disable owner/worker address fallback (filecoin-project#5620)
- Fix TestUnpadReader on Go 1.16 (filecoin-project#5761)
- Metadata datastore log (filecoin-project#5755)
- Remove the SR2 stats, leave just the network totals (filecoin-project#5757)
- fix: wait a bit before starting to compute window post proofs (filecoin-project#5764)
- fix: retry proof when randomness changes (filecoin-project#5768)
This is a mandatory release of Lotus that introduces the fifth upgrade to the Filecoin network. The network upgrade occurs at height 550321, before which time all nodes must have updated to this release (or later). At this height, v3 specs-actors will take effect, which in turn implements the following two FIPs:
- FIP-0007 h/amt-v3 which improves the performance of the Filecoin HAMT and AMT.
- FIP-0010 off-chain Window PoSt Verification which reduces the gas consumption of
SubmitWindowedPoSt
messages significantly by optimistically accepting Window PoSt proofs without verification, and allowing them to be disputed later by off-chain verifiers.
Note that the integration of v3 actors was already completed in 1.4.2, this upgrade simply sets the epoch for the upgrade to occur.
FIP-0010 introduces the ability to dispute bad Window PoSts. Node operators are encouraged to run the new Lotus disputer alongside their Lotus daemons. For more information, see the announcement here.
- #5341 Add a
LOTUS_DISABLE_V3_ACTOR_MIGRATION
envvar- Setting this envvar to 1 disables the v3 actor migration, should only be used in the event of a failed migration
This is a large, and highly recommended, optional release with new features and improvements for lotus miner and deal-making UX. The release also integrates v3 specs-actors, which implements two FIPs:
- FIP-0007 h/amt-v3 which improves the performance of the Filecoin HAMT and AMT.
- FIP-0010 off-chain Window PoSt Verification which reduces the gas consumption of
SubmitWindowedPoSt
messages significantly by optimistically accepting Window PoSt proofs without verification, and allowing them to be disputed later by off-chain verifiers.
Note that this release does NOT set an upgrade epoch for v3 actors to take effect. That will be done in the upcoming 1.5.0 release.
- #5341 Added sector termination API and CLI
- Run
lotus-miner sectors terminate
- Run
- #5342 Added CLI for using a multisig wallet as miner's owner address
- See how to set it up here
- #5363, #5418, #5476, #5459 Integrated spec-actor v3
- #5472 Generate actor v3 methods for pond
- #5379 Added WindowPoSt disputer
- This is to support FIP-0010 off-chian Window PoSt verification
- See how to run a disputer here
- #5309 Batch multiple deals in one
PublishStorageMessages
- #5411 Handle batch
PublishStorageDeals
message in sealing recovery - #5505 Exclude expired deals from batching in
PublishStorageDeals
messages - Added
PublishMsgPeriod
andMaxDealsPerPublishMsg
to minerDealmaking
configuration. See how they work here. - #5538, #5549 Added a command to list pending deals and force publish messages.
- Run
lotus-miner market pending-publish
- Run
- #5428 Moved waiting for
PublishStorageDeals
messages' receipt from markets to lotus
- #5411 Handle batch
- #5510 Added
nerpanet
build option- To build
nerpanet
, runmake nerpanet
- To build
- #5433 Added
AlwaysKeepUnsealedCopy
option to the miner configuration - #5520 Added
MsigGetPending
to get pending transactions for multisig wallets - #5219 Added interactive mode for lotus-wallet
- 5529 Added support for minder nodes in
lotus-shed rpc
util
- #5210 Miner should not dial client on restart
- #5403 When estimating GasLimit only apply prior messages up to the nonce
- #5410 Fix the calibnet build option
- #5492 Fixed
has
for ipfsbstore for non-existing blocks - #5361 Fixed retrieval hangs when using
IpfsOnlineMode=true
- #5493 Fixed retrieval failure when price-per-byte is zero
- #5506 Fixed contexts in the storage adpater
- #5515 Properly wire up
StateReadState
on gateway API - #5582 Fixed error logging format strings
- #5614 Fixed websocket reconnecting handling
- #5389 Show verified indicator for
./lotus-miner storage-deals list
- #5229 Show power for verified deals in
./lotus-miner setocr list
- #5407 Added explicit check of the miner address protocol
- #5399 watchdog: increase heapprof capture threshold to 90%
- #5398 storageadapter: Look at precommits on-chain since deal publish msg
- #5470 Added
--no-timing
option for./lotus state compute-state --html
- #5417 Storage Manager: Always unseal full sectors
- #5393 Switched to filecoin-ffi bls api for bls signatures
- #5380 Refactor deals API tests
- #5397 Fixed a flake in the sync manager edge case test
- #5406 Added a test to ensure a correct window post cannot be disputed
- #5294 Added jobs to build Lotus docker image and push it to AWS ECR
- #5387 Added network info(mainnet|calibnet) in version
- #5497 Export metric for lotus-gateaway
- #4950 Removed bench policy
- #5047 Improved the UX for
./lotus-shed bitfield enc
- #5282 Snake a context through the chian blockstore creation
- #5350 Avoid using
mp.cfg
directrly to prevent race condition - #5449 Documented the block-header better
- #5404 Added retrying proofs if an incorrect one is generated
- #4545 Made state tipset usage consistent in the API
- #5540 Removed unnecessary database reads in validation check
- #5554 Fixed
build lotus-soup
CI job - #5552 Updated CircleCI to halt gracefully
- #5555 Cleanup and add docstrings of node builder
- #5564 Stopped depending on gocheck with gomod
- #5574 Updated CLI UI
- #5570 Added code CID to
StateReadState
return object - #5565 Added storageadapter.PublishMsgConfig to miner in testkit for lotus-soup testplan
- #5571 Added
lotus-seed gensis car
to generate lotus block for devnets - #5613 Check format in client commP util
- #5507 Refactored coalescing logic into its own function and take both cancellation sets into account
- #5592 Verify FFI version before building
- #5296 Upgraded to raulk/[email protected]
- #5450 Dependency updates
- #5425 Fixed stale imports in testplans/lotus-soup
- #5535 Updated to [email protected]
- #5616 Updated to filecoin-ffi@b6e0b35fb49ed0fe
- #5599 Updated to [email protected]
- #5614, , #5621 Updated to [email protected]
- #5459 Updated to [email protected]
- #5473 Merged staging branch for v1.5.0
- #5603 Set nerpanet's upgrade epochs up to v3 actors
- #5471, #5456 Set calibration net actor v3 migration epochs for testing
- #5434 Implemented pre-migration framework
- #5476 Tune migration
This is an optional Lotus release that introduces various improvements to the sealing, mining, and deal-making processes. In particular, #5341 introduces the ability for Lotus miners to terminate sectors.
- fix(sync): enforce ForkLengthThreshold for synced chain (filecoin-project#5182)
- introduce memory watchdog; LOTUS_MAX_HEAP (filecoin-project#5101)
- Skip bootstrapping if no peers specified (filecoin-project#5301)
- Chainxchg write response timeout (filecoin-project#5254)
- update NewestNetworkVersion (filecoin-project#5277)
- fix(sync): remove checks bypass when we submit the block (filecoin-project#4192)
- chore: export vm.ShouldBurn (filecoin-project#5355)
- fix(sync): enforce fork len when changing head (filecoin-project#5244)
- Use 55th percentile instead of median for gas-price (filecoin-project#5369)
- update go-libp2p-pubsub to v0.4.1 (filecoin-project#5329)
- Sector termination support (filecoin-project#5341)
- update weight canSeal and canStore when attach (https://github.com/filecoin-project/lotus/pull/5242/files)
- sector-storage/mock: improve mocked readpiece (filecoin-project#5208)
- Fix deadlock in runWorker in sched_worker.go (filecoin-project#5251)
- Skip checking terminated sectors provable (filecoin-project#5217)
- storagefsm: Fix unsealedInfoMap.lk init race (filecoin-project#5319)
- Multicore AddPiece CommP (filecoin-project#5320)
- storagefsm: Send correct event on ErrExpiredTicket in CommitFailed (filecoin-project#5366)
- expose StateSearchMessage on gateway (filecoin-project#5382)
- fix FileSize to return correct disk usage recursively (filecoin-project#5384)
- Better error message when withdrawing funds (filecoin-project#5293)
- add verbose for list transfers (filecoin-project#5259)
- cli - rename
client info
toclient balances
(filecoin-project#5304) - Better CLI for wallet market withdraw and client info (filecoin-project#5303)
- correct flag usages for replace cmd (filecoin-project#5255)
- lotus state call will panic (filecoin-project#5275)
- fix get sector bug (filecoin-project#4976)
- feat: lotus wallet market add (adds funds to storage market actor) (filecoin-project#5300)
- Fix client flag parsing in client balances cli (filecoin-project#5312)
- delete slash-consensus miner (filecoin-project#4577)
- add fund sufficient check in send (filecoin-project#5252)
- enable parse and shorten negative FIL values (filecoin-project#5315)
- add limit and rate for chain noise (filecoin-project#5223)
- add bench env print (filecoin-project#5222)
- Implement full-node restore option (filecoin-project#5362)
- add color for token amount (filecoin-project#5352)
- correct log in maybeUseAddress (filecoin-project#5359)
- add slash-consensus from flag (filecoin-project#5378)
- tvx extract: more tipset extraction goodness (filecoin-project#5258)
- Fix race in blockstore test suite (filecoin-project#5297)
- Remove LOTUS_DISABLE_V2_ACTOR_MIGRATION envvar (filecoin-project#5289)
- Create a calibnet build option (filecoin-project#5288)
- Calibnet: Set Orange epoch (filecoin-project#5325)
- Update SECURITY.md (filecoin-project#5246)
- README: Contribute section (filecoin-project#5330)
- README: refine Contribute section (filecoin-project#5331)
- Add misc tooling to codecov ignore list (filecoin-project#5347)
This is a MANDATORY hotfix release of Lotus that resolves a chain halt at height 336,459 caused by nondeterminism in specs-actors. The fix is to update actors to 2.3.3 in order to incorporate this fix filecoin-project/specs-actors#1334.
This is a mandatory release of Lotus that introduces the third post-liftoff upgrade to the Filecoin network. The network upgrade occurs at height 343200, before which time all nodes must have updated to this release (or later). The change that breaks consensus is an implementation of FIP-0009(https://github.com/filecoin-project/FIPs/blob/master/FIPS/fip-0009.md).
- Disable gas burning for window post messages (filecoin-project#5200)
- fix lock propose (filecoin-project#5197)
This is an optional Lotus release that introduces many performance improvements, bugfixes, and UX improvements.
- When waiting for deal commit messages, ignore unsuccessful messages (filecoin-project#5189)
- Bigger copy buffer size for stores (filecoin-project#5177)
- Print MinPieceSize when querying ask (filecoin-project#5178)
- Optimize miner info & sectors list loading (filecoin-project#5176)
- Allow miners to filter (un)verified deals (filecoin-project#5094)
- Fix curSealing out of MaxSealingSectors limit (filecoin-project#5166)
- Add mpool pending from / to filter (filecoin-project#5169)
- Add metrics for delayed blocks (filecoin-project#5171)
- Fix PushUntrusted publishing -- the message is local (filecoin-project#5173)
- Avoid potential hang in events API when starting event listener (filecoin-project#5159)
- Show data transfer ID in list-deals (filecoin-project#5150)
- Fix events API mutex locking (filecoin-project#5160)
- Message pool refactors (filecoin-project#5162)
- Fix lotus-shed cid output (filecoin-project#5072)
- Use FundManager to withdraw funds, add MarketWithdraw API (filecoin-project#5112)
- Add keygen outfile (filecoin-project#5118)
- Update sr2 stat aggregation (filecoin-project#5114)
- Fix miner control address lookup (filecoin-project#5119)
- Fix send with declared nonce 0 (filecoin-project#5111)
- Introduce memory watchdog; LOTUS_MAX_HEAP (filecoin-project#5101)
- Miner control address config for (pre)commits (filecoin-project#5103)
- Delete repeated call func (filecoin-project#5099)
- lotus-shed ledger show command (filecoin-project#5098)
- Log a message when there aren't enough peers for sync (filecoin-project#5105)
- Miner code cleanup (filecoin-project#5107)
This is an optional Lotus release that introduces various improvements to the mining logic and deal-making workflow, as well as several new UX features.
- Set lower feecap on PoSt messages with low balance (filecoin-project#4217)
- Add options to set BlockProfileRate and MutexProfileFraction (filecoin-project#4140)
- Shed/post find (filecoin-project#4355)
- tvx extract: make it work with secp messages.(filecoin-project#4583)
- update go from 1.14 to 1.15 (filecoin-project#4909)
- print multiple blocks from miner cid (filecoin-project#4767)
- Connection Gater support (filecoin-project#4849)
- just return storedask.NewStoredAsk to reduce unuseful code (filecoin-project#4902)
- add go main version (filecoin-project#4910)
- Use version0 when pre-sealing (filecoin-project#4911)
- optimize code UpgradeTapeHeight and go fmt (filecoin-project#4913)
- CLI to get network version (filecoin-project#4914)
- Improve error for ActorsVersionPredicate (filecoin-project#4915)
- upgrade to go-fil-markets 1.0.5 (filecoin-project#4916)
- bug:replace with func recordFailure (filecoin-project#4919)
- Remove unused key (filecoin-project#4924)
- change typeV7 make len (filecoin-project#4943)
- emit events for peer disconnections and act upon them in the blocksync tracker (filecoin-project#4754)
- Fix lotus bench error (filecoin-project#4305)
- Reduce badger ValueTreshold to 128 (filecoin-project#4629)
- Downgrade duplicate nonce logs to debug (filecoin-project#4933)
- readme update golang version from 1.14.7 to 1.15.5 (filecoin-project#4974)
- add data transfer logging (filecoin-project#4975)
- Remove all temp file generation for deals (filecoin-project#4929)
- fix get sector bug (filecoin-project#4976)
- fix nil pointer in StateSectorPreCommitInfo (filecoin-project#4082)
- Add logging on data-transfer to miner (filecoin-project#4980)
- bugfix: fixup devnet script (filecoin-project#4956)
- modify for unsafe (filecoin-project#4024)
- move testground/lotus-soup testplan from oni to lotus (filecoin-project#4727)
- Setup remainder msig signers when parsing genesis template (filecoin-project#4904)
- Update JSON RPC server to enforce a maximum request size (filecoin-project#4923)
- New SR-specific lotus-shed cmd (filecoin-project#4971)
- update index to sectorNumber (filecoin-project#4987)
- storagefsm: Fix expired ticket retry loop (filecoin-project#4876)
- add .sec scale to measurements; humanize for metric tags (filecoin-project#4989)
- Support seal proof type switching (filecoin-project#4873)
- fix log format (filecoin-project#4984)
- Format workerID as string (filecoin-project#4973)
- miner: Winning PoSt Warmup (filecoin-project#4824)
- Default StartDealParams's fast retrieval field to true over JSON (filecoin-project#4998)
- Fix actor not found in chain inspect-usage (filecoin-project#5010)
- storagefsm: Improve new deal sector logic (filecoin-project#5007)
- Configure simultaneous requests (filecoin-project#4996)
- miner: log winningPoSt duration separately (filecoin-project#5005)
- fix wallet dead lock (filecoin-project#5002)
- Update go-jsonrpc to v0.1.2 (filecoin-project#5015)
- markets - separate watching for pre-commit from prove-commit (filecoin-project#4945)
- storagefsm: Add missing planners (filecoin-project#5016)
- fix wallet delete address where address is default (filecoin-project#5019)
- worker: More robust remote checks (filecoin-project#5008)
- Add new booststrappers (filecoin-project#4007)
- add a tooling to make filecoin accounting a little easier (filecoin-project#5025)
- fix: start a new line in print miner-info to avoid ambiguous display (filecoin-project#5029)
- Print gas limit sum in mpool stat (filecoin-project#5035)
- Fix chainstore tipset leak (filecoin-project#5037)
- shed rpc: Allow calling with args (filecoin-project#5036)
- Make --gas-limit optional in mpool replace cli (filecoin-project#5059)
- client list-asks --by-ping (filecoin-project#5060)
- Ledger signature verification (filecoin-project#5068)
- Fix helptext for verified-deal default in client deal (filecoin-project#5074)
- worker: Support setting task types at runtime (filecoin-project#5023)
- Enable Callers tracing when GasTracing is enabled (filecoin-project#5080)
- Cancel transfer cancels storage deal (filecoin-project#5032)
- Sector check command (filecoin-project#5041)
- add commp-to-cid base64 decode (filecoin-project#5079)
- miner info cli improvements (filecoin-project#5083)
- miner: Add slow mode to proving check (filecoin-project#5086)
- Error out deals that are not activated by proposed deal start epoch (filecoin-project#5061)
This is a very small release of Lotus that fixes an issue users are experiencing when importing snapshots. There is no need to upgrade unless you experience an issue with creating a new datastore directory in the Lotus repo.
- fix blockstore directory not created automatically (filecoin-project#4922)
- WindowPoStScheduler.checkSectors() delete useless judgment (filecoin-project#4918)
This is a mandatory release of Lotus that introduces the second post-liftoff upgrade to the Filecoin network. The network upgrade occurs at height 265200, before which time all nodes must have updated to this release (or later). This release also bumps the required version of Go to 1.15.
The changes that break consensus are:
- Upgrading to sepcs-actors 2.3.2 (https://github.com/filecoin-project/specs-actors/releases/tag/v2.3.2)
- Introducing proofs v5.4.0 (https://github.com/filecoin-project/rust-fil-proofs/releases/tag/storage-proofs-v5.4.0), and switching between the proof types (filecoin-project#4873)
- Don't use terminated sectors for winning PoSt (filecoin-project#4770)
- Various small VM-level edge-case handling (filecoin-project#4783)
- Correction of the VM circulating supply calculation (filecoin-project#4862)
- Retuning gas costs (filecoin-project#4830)
- Avoid sending messages to the zero BLS address (filecoin-project#4888)
- delayed pubsub subscribe for messages topic (filecoin-project#3646)
- add chain base64 decode params (filecoin-project#4748)
- chore(dep): update bitswap to fix an initialization race that could panic (filecoin-project#4855)
- Chore/blockstore nits (filecoin-project#4813)
- Print Consensus Faults in miner info (filecoin-project#4853)
- Truncate genesis file before generating (filecoin-project#4851)
- miner: Winning PoSt Warmup (filecoin-project#4824)
- Fix init actor address map diffing (filecoin-project#4875)
- Bump API versions to 1.0.0 (filecoin-project#4884)
- Fix cid recording issue (filecoin-project#4874)
- Speed up worker key retrieval (filecoin-project#4885)
- Add error codes to worker return (filecoin-project#4890)
- Update go to 1.15.5 (filecoin-project#4896)
- Fix MaxSealingSectrosForDeals getting reset to 0 (filecoin-project#4879)
- add sanity check for maximum block size (filecoin-project#3171)
- Check (pre)commit receipt before other checks in failed states (filecoin-project#4712)
- fix badger double open on daemon --import-snapshot; chainstore lifecycle (filecoin-project#4872)
- Update to ipfs-blockstore 1.0.3 (filecoin-project#4897)
- break loop when found warm up sector (filecoin-project#4869)
- Tweak handling of bad beneficaries in DeleteActor (filecoin-project#4903)
- cap maximum number of messages per block in selection (filecoin-project#4905)
- Set Calico epoch (filecoin-project#4889)
This is an optional release of Lotus that upgrades Lotus dependencies, and includes many performance enhancements, bugfixes, and UX improvements.
- Refactored much of the miner code (filecoin-project#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 (filecoin-project#4730) and uses the newly refactored fund manager (filecoin-project#4736)
- polish: add Equals method to MinerInfo shim (filecoin-project#4604)
- Fix messagepool accounting (filecoin-project#4668)
- Prep for gas balancing (filecoin-project#4651)
- Reduce badger ValueThreshold to 128 (filecoin-project#4629)
- Config for default max gas fee (filecoin-project#4652)
- bootstrap: don't return early when one drand resolution fails (filecoin-project#4626)
- polish: add ClaimsChanged and DiffClaims method to power shim (filecoin-project#4628)
- Simplify chain event Called API (filecoin-project#4664)
- Cache deal states for most recent old/new tipset (filecoin-project#4623)
- Add miner available balance and power info to state miner info (filecoin-project#4618)
- Call GetHeaviestTipSet() only once when syncing (filecoin-project#4696)
- modify runtime gasUsed printf (filecoin-project#4704)
- Rename builtin actor generators (filecoin-project#4697)
- Move gas multiplier as property of pricelist (filecoin-project#4728)
- polish: add msig pendingtxn diffing and comp (filecoin-project#4719)
- Optional chain Bitswap (filecoin-project#4717)
- rewrite sync manager (filecoin-project#4599)
- async connect to bootstrappers (filecoin-project#4785)
- head change coalescer (filecoin-project#4688)
- move to native badger blockstore; leverage zero-copy View() to deserialize in-place (filecoin-project#4681)
- badger blockstore: minor improvements (filecoin-project#4811)
- Do not fail wallet delete because of pre-existing trashed key (filecoin-project#4589)
- Correctly delete the default wallet address (filecoin-project#4705)
- Reduce badger ValueTreshold to 128 (filecoin-project#4629)
- predicates: Fast StateGetActor wrapper (filecoin-project#4835)
- worker key should change when set sender found key not equal with the value on chain (filecoin-project#4595)
- extern/sector-storage: fix GPU usage overwrite bug (filecoin-project#4627)
- sectorstorage: Fix manager restart edge-case (filecoin-project#4645)
- storagefsm: Fix GetTicket loop when the sector is already precommitted (filecoin-project#4643)
- Debug flag to force running sealing scheduler (filecoin-project#4662)
- Fix worker reenabling, handle multiple restarts in worker (filecoin-project#4666)
- keep retrying the proof until we run out of sectors to skip (filecoin-project#4633)
- worker: Commands to pause/resume task processing (filecoin-project#4615)
- struct name incorrect (filecoin-project#4699)
- optimize code replace strings with constants (filecoin-project#4769)
- optimize pledge sector (filecoin-project#4765)
- Track sealing processes across lotus-miner restarts (filecoin-project#3618)
- Fix scheduler lockups after storage is freed (filecoin-project#4778)
- storage: Track worker hostnames with work (filecoin-project#4779)
- Expand sched-diag; Command to abort sealing calls (filecoin-project#4804)
- miner: Winning PoSt Warmup (filecoin-project#4824)
- docsgen: Support miner/worker (filecoin-project#4817)
- miner: Basic storage cleanup command (filecoin-project#4834)
- Flesh out data transfer features (filecoin-project#4572)
- Fix memory leaks in data transfer (filecoin-project#4619)
- Handle deal id changes in OnDealSectorCommitted (filecoin-project#4730)
- Refactor FundManager (filecoin-project#4736)
- refactor: integrate new FundManager (filecoin-project#4787)
- Fix race in paych manager when req context is cancelled (filecoin-project#4803)
- fix race in paych manager add funds (filecoin-project#4597)
- Fix panic in FundManager (filecoin-project#4808)
- Fix: dont crash on startup if funds migration fails (filecoin-project#4827)
- Make EarlyExpiration in sectors list less scary (filecoin-project#4600)
- Add commands to change the worker key (filecoin-project#4513)
- Expose ClientDealSize via CLI (filecoin-project#4569)
- client deal: Cache CommD when creating multiple deals (filecoin-project#4535)
- miner sectors list: flags for events/seal time (filecoin-project#4649)
- make IPFS online mode configurable (filecoin-project#4650)
- Add sync status to miner info command (filecoin-project#4669)
- Add a StateDecodeParams method (filecoin-project#4105)
- sched: Interactive RPC Shell (filecoin-project#4692)
- Add api for getting status given a code (filecoin-project#4210)
- Update lotus-stats with a richer cli (filecoin-project#4718)
- Use TSK passed to GasEstimateGasLimit (filecoin-project#4739)
- match data type for reward state api (filecoin-project#4745)
- Add
termination-estimate
to get an estimation for how much a termination penalty will be (filecoin-project#4617) - Restrict
ParseFIL
input length (filecoin-project#4780) - cmd sectors commitIDs len debug (filecoin-project#4786)
- Add client deal-stats CLI (filecoin-project#4788)
- Modify printf format (filecoin-project#4795)
- Updated msig inspect (filecoin-project#4533)
- Delete the duplicate output (filecoin-project#4819)
- miner: Storage list sectors command (filecoin-project#4831)
- drop a few logs down to debug (filecoin-project#4832)
- refactor: share code between CLI tests (filecoin-project#4598)
- Fix flaky TestCLIDealFlow (filecoin-project#4608)
- Fix flaky testMiningReal (filecoin-project#4609)
- Add election run-dummy command (filecoin-project#4498)
- Fix .gitmodules (filecoin-project#4713)
- fix metrics wiring.(filecoin-project#4691)
- shed: Util for creating ID CIDs (filecoin-project#4726)
- Run kumquat upgrade on devnets (filecoin-project#4734)
- Make pond work again (filecoin-project#4775)
- lotus-stats: fix influx flags (filecoin-project#4810)
- 2k sync BootstrapPeerThreshold (filecoin-project#4797)
- test for FundManager panic to ensure it is fixed (filecoin-project#4825)
- Stop mining at the end of tests (filecoin-project#4826)
- Make some logs quieter (filecoin-project#4709)
- update filecoin-ffi in go mod (filecoin-project#4584)
- Update FFI (filecoin-project#4613)
- feat: integrate new optional blst backend and verification optimizations from proofs (filecoin-project#4630)
- Use https for blst submodule (filecoin-project#4710)
- Update go-bitfield (filecoin-project#4756)
- Update Yamux (filecoin-project#4758)
- Update to latest go-bitfield (filecoin-project#4793)
- Update to latest go-address (filecoin-project#4798)
- update libp2p for stream interface changes (filecoin-project#4814)
This is a patch release of Lotus that builds on the fixes involving worker keys that was introduced in v1.1.1. Miners and node operators should update to this release as soon as possible in order to ensure their blocks are propagated and validated.
- Handle worker key changes correctly in runtime (filecoin-project#4579)
This is a patch release of Lotus that addresses some issues caused by when miners change their worker keys. Miners and node operators should update to this release as soon as possible, especially any miner who has changed their worker key recently.
- Miner finder for interactive client deal CLI (filecoin-project#4504)
- Disable blockstore bloom filter (filecoin-project#4512)
- Add api for getting status given a code (filecoin-project#4210)
- add batch api for push messages (filecoin-project#4236)
- add measure datastore wrapper around bench chain datastore (filecoin-project#4302)
- Look at block base fee for PCR (filecoin-project#4313)
- Add a shed util to determine % of power that has won a block (filecoin-project#4318)
- Shed/borked cmd (filecoin-project#4339)
- optimize mining code (filecoin-project#4379)
- heaviestTipSet reurning nil is a ok (filecoin-project#4523)
- Remove most v0 actor imports (filecoin-project#4383)
- Small chain export optimization (filecoin-project#4536)
- Add block list to pcr (filecoin-project#4314)
- Fix circ supply default in conformance (filecoin-project#4449)
- miner: fix init --create-worker-key (filecoin-project#4475)
- make push and addLocal atomic (filecoin-project#4500)
- add some methods that oni needs (filecoin-project#4501)
- MinerGetBaseInfo: if miner is not found in lookback, check current (filecoin-project#4508)
- Delete wallet from local wallet cache (filecoin-project#4526)
- Fix lotus-shed ledger list (filecoin-project#4521)
- Manage sectors by size instead of proof type (filecoin-project#4511)
- Feat/api request metrics wrapper (filecoin-project#4516)
- Fix chain sync stopping to sync (filecoin-project#4541)
- Use the correct lookback for the worker key when creating blocks (filecoin-project#4539)
- Cleanup test initialization and always validate VRFs in tests (filecoin-project#4538)
- Add a market WithdrawBalance CLI (filecoin-project#4524)
- wallet list: Add market balance and ID address flags (filecoin-project#4555)
- tvx simulate command; tvx extract --ignore-sanity-checks (filecoin-project#4554)
- lotus-lite: CLI tests for
lotus client
commands (filecoin-project#4497) - lite-mode - market storage and retrieval clients (filecoin-project#4263)
- Chore: update drand to v1.2.0 (filecoin-project#4420)
- Fix random test failures (filecoin-project#4559)
- Fix flaky TestTimedBSSimple (filecoin-project#4561)
- Make wallet market withdraw usable with miner addresses (filecoin-project#4556)
- Fix flaky TestChainExportImportFull (filecoin-project#4564)
- Use older randomness for the PoSt commit on specs-actors version 2 (filecoin-project#4563)
- shed: Commad to decode messages (filecoin-project#4565)
- Fetch worker key from correct block on sync (filecoin-project#4573)
This is a mandatory release that introduces the first post-liftoff upgrade to the Filecoin network. The changes that break consensus are an upgrade to specs-actors v2.2.0 at epoch 170000.
- Introduce Network version 6 (filecoin-project#4506)
- Update markets v1.0.0 (filecoin-project#4505)
- Add some extra logging to try and debug sync issues (filecoin-project#4486)
- Circle: Run tests for some subsystems separately (filecoin-project#4496)
- Add a terminate sectors command to lotus-shed (filecoin-project#4507)
- Add a comment to BlockMessages to address #4446 (filecoin-project#4491)
It's 1.0.0! This is an optional release of Lotus that introduces some UX improvements to the 0.10 series.
This very small release is largely cosmetic, and intended to flag the code that the Filecoin mainnet was launched with.
StateMsgGasCost
has been removed. The equivalent information can be gained by callingStateReplay
.- A
GasCost
field has been added to theInvocResult
type, meaning detailed gas costs will be returned when callingStateReplay
,StateCompute
, andStateCall
. - The behaviour of
StateReplay
in response to an empty tipset key has been changed. Instead of simply using the heaviest tipset (which is almost guaranteed to be an unsuccessful replay), we search now search the chain for the tipset that included the message, and replay the message in that tipset (we fail if no such tipset is found).
- Increase code coverage! (filecoin-project#4410)
- Mpool: Don't block node startup loading messages (filecoin-project#4411)
- Improve the UX of multisig approves (filecoin-project#4398)
- Use build.BlockDelaySecs for deal start buffer (filecoin-project#4415)
- Conformance: support multiple protocol versions (filecoin-project#4393)
- Ensure msig inspect cli works with lotus-lite (filecoin-project#4421)
- Add command to (slowly) prune lotus chain datastore (filecoin-project#3876)
- Add WalletVerify to lotus-gateway (filecoin-project#4373)
- Improve StateMsg APIs (filecoin-project#4429)
- Add endpoints needed by spacegap (filecoin-project#4426)
- Make audit balances capable of printing robust addresses (filecoin-project#4423)
- Custom filters for retrieval deals (filecoin-project#4424)
- Fix message list api (filecoin-project#4422)
- Replace bootstrap peers (filecoin-project#4447)
- Don't overwrite previously-configured maxPieceSize for a persisted ask (filecoin-project#4480)
- State: optimize state snapshot address cache (filecoin-project#4481)
This is an optional release of Lotus that updates markets to 0.9.1, which fixes an issue affecting deals that were mid-transfer when the node was upgraded to 0.9.0. This release also includes some tweaks to default gas values and minor performance improvements.
- Use updated stored ask API (filecoin-project#4384)
- tvx: trace puts to blockstore for inclusion in CAR. (filecoin-project#4278)
- Add propose remove (filecoin-project#4311)
- Update to 0.9.1 bugfix release (filecoin-project#4402)
- Update drand endpoints (filecoin-project#4125)
- fix: return true when deadlines changed (filecoin-project#4403)
- sync wait --watch (filecoin-project#4396)
- reduce garbage in blockstore (filecoin-project#4406)
- give the TimeCacheBS tests a bit more time (filecoin-project#4407)
- Improve gas defaults (filecoin-project#4408)
- Change default gas premium to for 10 block inclusion (filecoin-project#4222)
This is an optional release of Lotus that updates markets to 0.9.0, which adds the ability to restart data transfers. This release also introduces Ledger support, and various UX improvements.
- Test the tape upgrade (filecoin-project#4328)
- Adding in Ledger support (filecoin-project#4290)
- Improve the UX for lotus-miner sealing workers (filecoin-project#4329)
- Add a CLI tool for miner's to repay debt (filecoin-project#4319)
- Rename params_testnet to params_mainnet (filecoin-project#4336)
- Use seal-duration in calculating the earliest StartEpoch (filecoin-project#4337)
- Reject deals that are > 7 days in the future in the BasicDealFilter (filecoin-project#4173)
- Add an API endpoint to calculate the exact circulating supply (filecoin-project#4148)
- lotus-pcr: ignore all other market messages (filecoin-project#4341)
- Add message CID to InvocResult (filecoin-project#4382)
- types: Add CID fields to messages in json marshalers (filecoin-project#4338)
- fix(sync state): set state height to actual tipset height (filecoin-project#4347)
- Fix off by one tipset in searchBackForMsg (filecoin-project#4367)
- fix a panic on startup when we fail to load the tipset (filecoin-project#4376)
- Avoid having the same message CID show up in execution traces (filecoin-project#4350)
- feat(markets): update markets 0.9.0 and add data transfer restart (filecoin-project#4363)
This is a consensus-breaking hotfix that addresses an issue in specs-actors v2.0.3 that made it impossible to pledge new 32GiB sectors. The change in Lotus is to update to actors v2.1.0, behind the new network version 5.
- make pledge test pass with the race detector (filecoin-project#4291)
- fix a race in tipset cache usage (filecoin-project#4282)
- add an api for removing multisig signers (filecoin-project#4274)
- cli: Don't output errors to stdout (filecoin-project#4298)
- Fix panic in wallet export when key is not found (filecoin-project#4299)
- Dump the block validation cache whenever we perform an import (filecoin-project#4287)
- Fix two races (filecoin-project#4301)
- sync unmark-bad --all (filecoin-project#4296)
- decode parameters for multisig transactions in inspect (filecoin-project#4312)
- Chain is love (filecoin-project#4321)
- lotus-stats: optmize getting miner power (filecoin-project#4315)
- implement tape upgrade (filecoin-project#4322)
This release fixes an issue which may cause the actors v2 migration to compute the state incorrectly when more than one migration is running in parallel.
- Make concurrent actor migrations safe (filecoin-project#4293)
- Remote wallet backends (filecoin-project#3583)
- Track funds in FundMgr correctly in case of AddFunds failing (filecoin-project#4273)
- Partial lite-node mode (filecoin-project#4095)
- Fix potential infinite loop in GetBestMiningCandidate (filecoin-project#3444)
- sync wait: Handle processed message offset (filecoin-project#4253)
- Add some new endpoints for querying Msig info (filecoin-project#4250)
- Update markets v0.7.1 (filecoin-project#4254)
- Optimize SearchForMessage and GetReceipt (filecoin-project#4246)
- Use FIL instead of attoFIL in CLI more consistently (filecoin-project#4249)
- fix: clash between daemon --api flag and cli tests (filecoin-project#4241)
- add more info to chain sync lookback failure (filecoin-project#4245)
- Add message counts to inspect chain output (filecoin-project#4230)
This consensus-breaking release of Lotus upgrades the actors version to v2.0.0. This requires migrating actor state from v0 to v2. The changes that break consensus are:
- Introducing v2 actors and its migration (filecoin-project#3936)
- Runtime's Receiver() should only return ID addresses (filecoin-project#3589)
- Update miner eligibility checks for v2 actors (filecoin-project#4188)
- Add funds that have left FilReserve to circ supply (filecoin-project#4160)
- Set WinningPoStSectorSetLookback to finality post-v2 actors (filecoin-project#4190)
- fix: error when actor panics directly (filecoin-project#3697)
- Update go-bitfield (filecoin-project#4171)
- update the AMT implementation (filecoin-project#4194)
- Update to actors v0.2.1 (filecoin-project#4199)
- Paych: fix voucher amount verification (filecoin-project#3821)
- Cap market provider messages (filecoin-project#4141)
- Run fork function after cron for null block safety (filecoin-project#4114)
- use bitswap sessions when fetching messages, and cancel them (filecoin-project#4142)
- relax pubsub IPColocationFactorThreshold to 5 (filecoin-project#4183)
- Support addresses with mainnet prefixes (filecoin-project#4186)
- fix: make message signer nonce generation transactional (filecoin-project#4165)
- build: Env var to keep test address output (filecoin-project#4213)
- make vm.EnableGasTracing public (filecoin-project#4214)
- introduce separate state-tree versions (filecoin-project#4197)
- reject explicit "calls" at the upgrade height (filecoin-project#4231)
- return an illegal actor error when we see an unsupported actor version (filecoin-project#4232)
- Set head should unmark blocks as valid (https://gist.github.com/travisperson/3c7cddd77a33979a519ccef4e6515f20)
- Increased ExpectedSealDuration and and WaitDealsDelay (filecoin-project#3743)
- Miner backup/restore commands (filecoin-project#4133)
- lotus-miner: add more help text to storage / attach (filecoin-project#3961)
- Reject deals that are > 7 days in the future in the BasicDealFilter (filecoin-project#4173)
- feat(miner): add miner deadline diffing logic (filecoin-project#4178)
- Improve the UX for replacing messages (filecoin-project#4134)
- Add verified flag to interactive deal creation (filecoin-project#4145)
- Add command to (slowly) prune lotus chain datastore (filecoin-project#3876)
- Some helpers for verifreg work (filecoin-project#4124)
- Always use default 720h for setask duration and hide the duration param option (filecoin-project#4077)
- Convert ID addresses to key addresses before checking wallet (filecoin-project#4122)
- add a command to view block space utilization (filecoin-project#4176)
- allow usage inspection on a chain segment (filecoin-project#4177)
- Add mpool stats for base fee (filecoin-project#4170)
- Add verified status to api.DealInfo (filecoin-project#4153)
- Add a CLI command to set a miner's owner address (filecoin-project#4189)
- Lotus-pcr: add recover-miners command (filecoin-project#3714)
- MpoolPushUntrusted API for gateway (filecoin-project#3915)
- Test lotus-miner info all (filecoin-project#4166)
- chain export: Error with unfinished exports (filecoin-project#4179)
- add printf in TestWindowPost (filecoin-project#4043)
- add trace wdpost (filecoin-project#4020)
- Fix noncefix (filecoin-project#4202)
- Lotus-pcr: Limit the fee cap of messages we will process, refund gas fees for windowed post and storage deals (filecoin-project#4198)
- Fix pond (filecoin-project#4203)
- allow manual setting of noncefix fee cap (filecoin-project#4205)
- implement command to get execution traces of any message (filecoin-project#4200)
- conformance: minor driver refactors (filecoin-project#4211)
- lotus-pcr: ignore all other messages (filecoin-project#4218)
- lotus-pcr: zero refund (filecoin-project#4229)
The following contributors had 5 or more commits go into this release. We are grateful for every contribution!
Contributor | Commits | Lines ± |
---|---|---|
Stebalien | 84 | +3425/-2287 |
magik6k | 41 | +2121/-506 |
arajasek | 39 | +2467/-424 |
Kubuxu | 25 | +2344/-775 |
raulk | 21 | +287/-196 |
whyrusleeping | 13 | +727/-71 |
hsanjuan | 13 | +5886/-7956 |
dirkmc | 11 | +2634/-576 |
travisperson | 8 | +923/-202 |
ribasushi | 6 | +188/-128 |
zgfzgf | 5 | +21/-17 |
This optional release of Lotus introduces a new version of markets which switches to CBOR-map encodings, and allows datastore migrations. The release also introduces several improvements to the mining process, a few performance optimizations, and a battery of UX additions and enhancements.
- Markets 0.7.0 with updated data stores (filecoin-project#4089)
- Update ffi to code with blst fixes (filecoin-project#3998)
- Fix GetPower with no miner address (filecoin-project#4049)
- Refactor: Move nonce generation out of mpool (filecoin-project#3970)
- Implement caching syscalls for import-bench (filecoin-project#3888)
- Fetch tipset blocks in parallel (filecoin-project#4074)
- Optimize Tipset equals() (filecoin-project#4056)
- Make state transition in validation async (filecoin-project#3868)
- Add trace window post (filecoin-project#4020)
- Use abstract types for Dont recompute post on revert (filecoin-project#4022)
- Fix injectNulls logic in test miner (filecoin-project#4058)
- Fix potential panic in FinalizeSector (filecoin-project#4092)
- Don't recompute post on revert (filecoin-project#3924)
- Fix some failed precommit handling (filecoin-project#3445)
- Add --no-swap flag for worker (filecoin-project#4107)
- Allow some single-thread tasks to run in parallel with PC2/C2 (filecoin-project#4116)
- Add an envvar to set address network version (filecoin-project#4028)
- Add logging to chain export (filecoin-project#4030)
- Add JSON output to state compute (filecoin-project#4038)
- Wallet list CLI: Print balances/nonces (filecoin-project#4088)
- Added an option to show or not show sector info for
lotus-miner info
(filecoin-project#4003) - Add a command to import an ipld object into the chainstore (filecoin-project#3434)
- Improve the lotus-shed dealtracker (filecoin-project#4051)
- Docs review and re-organization (filecoin-project#3431)
- Fix wallet list (filecoin-project#4104)
- Add an endpoint to validate whether a string is a well-formed address (filecoin-project#4106)
- Add an option to set config path (filecoin-project#4103)
- Add printf in TestWindowPost (filecoin-project#4043)
- Improve miner sectors list UX (filecoin-project#4108)
- Move policy change to seal bench (filecoin-project#4032)
- Add back network power to stats (filecoin-project#4050)
- Conformance: Record and feed circulating supply (filecoin-project#4078)
- Snapshot import progress bar, add HTTP support (filecoin-project#4070)
- Add lotus shed util to validate a tipset (filecoin-project#4065)
- tvx: a test vector extraction and execution tool (filecoin-project#4064)
- Add new bootstrappers (filecoin-project#4007)
- Add Glif node to bootstrap peers (filecoin-project#4004)
- Add one more node located in China (filecoin-project#4041)
- Add ipfsmain bootstrapper (filecoin-project#4067)
This consensus-breaking release of Lotus introduces an upgrade to the network. The changes that break consensus are:
- Upgrading to specs-actors v0.9.11, which reduces WindowPoSt faults per FIP 0002 to reduce cost for honest miners with occasional faults (see filecoin-project/specs-actors#1181)
- Revisions to some cryptoeconomics and network params
This release also updates go-fil-markets to fix an incompatibility issue between v0.7.2 and earlier versions.
- Update spec actors to 0.9.11 (filecoin-project#4039)
- Update markets to 0.6.3 (filecoin-project#4013)
- Network upgrade (filecoin-project#4039)
- Fix AddSupportedProofTypes (filecoin-project#4033)
- Return an error when we fail to find a sector when checking sector expiration (filecoin-project#4026)
- Batch blockstore copies after block validation (filecoin-project#3980)
- Remove a misleading miner actor abstraction (filecoin-project#3977)
- Fix out-of-bounds when loading all sector infos (filecoin-project#3976)
- Fix break condition in the miner (filecoin-project#3953)
- Correct helptext around miners setting ask (filecoin-project#4009)
- Make sync wait nicer (filecoin-project#3991)
- Small adjustments following network upgradability changes (filecoin-project#3996)
- Add some more big pictures stats to stateroot stat (filecoin-project#3995)
- Add some actors policy setters for testing (filecoin-project#3975)
The following contributors had 5 or more commits go into this release. We are grateful for every contribution!
Contributor | Commits | Lines ± |
---|---|---|
arajasek | 66 | +3140/-1261 |
Stebalien | 64 | +3797/-3434 |
magik6k | 48 | +1892/-976 |
raulk | 40 | +2412/-1549 |
vyzo | 22 | +287/-196 |
alanshaw | 15 | +761/-146 |
whyrusleeping | 15 | +736/-52 |
hannahhoward | 14 | +1237/-837 |
anton | 6 | +32/-8 |
travisperson | 5 | +502/-6 |
Frank | 5 | +78/-39 |
Jennifer | 5 | +148/-41 |
This optional release of Lotus introduces a major refactor around how a Lotus node interacts with code from the specs-actors repo. We now use interfaces to read the state of actors, which is required to be able to reason about different versions of actors code at the same time.
Additionally, this release introduces various improvements to the sync process, as well as changes to better the overall UX experience.
- Network upgrade support (filecoin-project#3781)
- Upgrade markets to
v0.6.2
(filecoin-project#3974) - Validate chain sync response indices when fetching messages (filecoin-project#3939)
- Add height diff to sync wait (filecoin-project#3926)
- Replace Requires with Wants (filecoin-project#3898)
- Update state diffing for market actor (filecoin-project#3889)
- Parallel fetch for sync (filecoin-project#3887)
- Fix SectorState (filecoin-project#3881)
- Add basic deal stats api server for spacerace slingshot (filecoin-project#3963)
- When doing
sectors update-state
, show a list of existing states if user inputs an invalid one (filecoin-project#3944) - Fix
lotus-miner storage find
error (filecoin-project#3927) - Log shutdown method for lotus daemon and miner (filecoin-project#3925)
- Update build and setup instruction link (filecoin-project#3919)
- Add an option to hide removed sectors from
sectors list
output (filecoin-project#3903)
- Add init.State#Remove() for testing (filecoin-project#3971)
- lotus-shed: add consensus check command (filecoin-project#3933)
- Add keyinfo verify and jwt token command to lotus-shed (filecoin-project#3914)
- Fix conformance gen (filecoin-project#3892)
This optional release of Lotus introduces some critical fixes to the window PoSt process. It also upgrades some core dependencies, and introduces many improvements to the mining process, deal-making cycle, and overall User Experience.
- Correctly construct params for
SubmitWindowedPoSt
messages (filecoin-project#3909) - Skip sectors correctly for Window PoSt (filecoin-project#3839)
- Split window PoST submission into multiple messages (filecoin-project#3689)
- Improve journal coverage (filecoin-project#2455)
- Allow retrievals while sealing (filecoin-project#3778)
- Don't prune locally published messages (filecoin-project#3772)
- Add get-ask, set-ask retrieval commands (filecoin-project#3886)
- Consistently name winning and window post in logs (filecoin-project#3873))
- Add auto flag to mpool replace (filecoin-project#3752))
- Upgrade markets to
v0.6.1
(filecoin-project#3906) - Upgrade specs-actors to
v0.9.10
(filecoin-project#3846) - Upgrade badger (filecoin-project#3739)
This consensus-breaking release of Lotus is designed to test a network upgrade on the space race testnet. The changes that break consensus are:
- Upgrading the Drand network used from the test Drand network to the League of Entropy main drand network. This is the same Drand network that will be used in the Filecoin mainnet.
- Upgrading to specs-actors v0.9.8, which adds a new method to the Multisig actor.
- Fix IsAncestorOf (filecoin-project#3717)
- Update to specs-actors v0.9.8 (filecoin-project#3725)
- Increase chain throughput by 20% (filecoin-project#3732)
- Updare to go-libp2p-pubsub
master
(filecoin-project#3735) - Drand upgrade (filecoin-project#3670)
- Multisig API additions (filecoin-project#3590)
- Increase the number of times precommit2 is attempted before moving back to precommit1 (filecoin-project#3720)
- Relax mpool add strictness checks for local pushes (filecoin-project#3724)
- Fix devnets (filecoin-project#3712)
- Fix(chainwatch): compare prev miner with cur miner (filecoin-project#3715)
- CI: fix statediff build; make optional (filecoin-project#3729)
- Feat: Chaos abort (filecoin-project#3733)
The following contributors had commits go into this release. We are grateful for every contribution!
Contributor | Commits | Lines ± |
---|---|---|
arajasek | 28 | +1144/-239 |
Kubuxu | 19 | +452/-261 |
whyrusleeping | 13 | +456/-87 |
vyzo | 11 | +318/-20 |
raulk | 10 | +1289/-350 |
magik6k | 6 | +188/-55 |
dirkmc | 3 | +31/-8 |
alanshaw | 3 | +176/-37 |
Stebalien | 2 | +9/-12 |
lanzafame | 1 | +1/-1 |
frrist | 1 | +1/-1 |
mishmosh | 1 | +1/-1 |
nonsense | 1 | +1/-0 |
This release introduces some critical fixes to message selection and gas estimation logic. It also adds the ability for nodes to mark a certain tipset as checkpointed, as well as various minor improvements and bugfixes.
- Warn when optimal selection fails to pack a block and we fall back to random selection (filecoin-project#3708)
- Add basic command for printing gas performance of messages in the mpool (filecoin-project#3701)
- Adjust optimal selection to always try to fill blocks (filecoin-project#3685)
- Fix very minor bug in repub baseFeeLowerBound (filecoin-project#3663)
- Add an auto flag to mpool replace (filecoin-project#3676)
- Fix mpool optimal selection packing failure (filecoin-project#3698)
- Don't use latency as initital estimate for blocksync (filecoin-project#3648)
- Add niceSleep 1 second when drand errors (filecoin-project#3664)
- Fix isChainNearSync check in block validator (filecoin-project#3650)
- Add peer to peer manager before fetching the tipset (filecoin-project#3667)
- Add StageFetchingMessages to sync status (filecoin-project#3668)
- Pass tipset through upgrade logic (filecoin-project#3673)
- Allow nodes to mark tipsets as checkpointed (filecoin-project#3680)
- Remove hard-coded late-fee in window PoSt (filecoin-project#3702)
- Gas: Fix median calc (filecoin-project#3686)
- Storage manager: bail out with an error if unsealed cid is undefined (filecoin-project#3655)
- Storage: return true from Sealer.ReadPiece() on success (filecoin-project#3657)
- Resolve lotus, test-vectors, statediff dependency cycle (filecoin-project#3688)
- Paych: add docs on how to use paych status (filecoin-project#3690)
- Initial CODEOWNERS (filecoin-project#3691)
This optional release introduces a minor improvement to the sync process, ensuring nodes don't fall behind and then resync.
- Update
test-vectors
(filecoin-project#3645) - Revert "only subscribe to pubsub topics once we are synced" (filecoin-project#3643)
This consensus-breaking release of Lotus is designed to test a network upgrade on the space race testnet. The changes that break consensus are:
- Tweaking of some cryptoecon parameters in specs-actors 0.9.7 (https://github.com/filecoin-project/specs-actors/releases/tag/v0.9.7)
- Rebalancing FIL distribution to make testnet FIL scarce, which prevents base fee spikes and sets better expectations for mainnet
This release also introduces many improvements to Lotus! Among them are a new version of go-fil-markets that supports non-blocking retrieval, various spam reduction measures in the messagepool and p2p logic, and UX improvements to payment channels, dealmaking, and state inspection.
- Implement faucet funds reallocation logic (filecoin-project#3632)
- Network upgrade: Upgrade to correct fork threshold (filecoin-project#3628)
- Update to specs 0.9.7 and markets 0.6.0 (filecoin-project#3627)
- Network upgrade: Perform base fee tamping (filecoin-project#3623)
- Chain events: if cache best() is nil, return chain head (filecoin-project#3611)
- Update to specs actors v0.9.6 (filecoin-project#3603)
- Temporarily allow negative chains (filecoin-project#3625)
- Improve publish/republish logic (filecoin-project#3592)
- Fix selection bug; priority messages were not included if other chains were negative (filecoin-project#3580)
- Add defensive check for minimum GasFeeCap for inclusion within the next 20 blocks (filecoin-project#3579)
- Add additional info about gas premium (filecoin-project#3578)
- Fix GasPremium capping logic (filecoin-project#3552)
- Get available funds by address or by from/to (filecoin-project#3547)
- Create
lotus paych status
command (filecoin-project#3523) - Rename CLI command from "paych get" to "paych add-funds" (filecoin-project#3520)
- Only subscribe to pubsub topics once we are synced (filecoin-project#3602)
- Reduce mpool add failure log spam (filecoin-project#3562)
- Republish messages even if the chains have negative performance(filecoin-project#3557)
- Adjust gossipsub gossip factor (filecoin-project#3556)
- Integrate pubsub Random Early Drop (filecoin-project#3518)
- Fix panic in OnDealExpiredSlashed (filecoin-project#3553)
- Robustify state manager against holes in actor method numbers (filecoin-project#3538)
- VM: Fix an error message (filecoin-project#3608)
- Documentation: Batch replacement,update lotus-storage-miner to lotus-miner (filecoin-project#3571)
- CLI: Robust actor lookup (filecoin-project#3535)
- Add agent flag to net peers (filecoin-project#3534)
- Add watch option to storage-deals list (filecoin-project#3527)
- Decommission chain-validation (filecoin-project#3606)
- Metrics: add expected height metric (filecoin-project#3586)
- PCR: Use current tipset during refund (filecoin-project#3570)
- Lotus-shed: Add math command (filecoin-project#3568)
- PCR: Add tipset aggergation (filecoin-project#3565 Fix broken paych tests (filecoin-project#3551)
- Make chain export ~1000x times faster (filecoin-project#3533)
- Chainwatch: Stop SyncIncomingBlocks from leaking into chainwatch processing; No panics during processing (filecoin-project#3526)
- Conformance: various changes (filecoin-project#3521)
This patch includes a crucial fix to the message pool selection logic, strongly disfavouring messages that might cause a miner penalty.
- Fix calculation of GasReward in messagepool (filecoin-project#3528)
This patch includes a hotfix to the GasEstimateFeeCap
method, capping the estimated fee to a reasonable level by default.
- Added target height to sync wait (filecoin-project#3502)
- Disable codecov annotations (filecoin-project#3514)
- Cap fees to reasonable level by default (filecoin-project#3516)
- Add APIs and command to inspect bandwidth usage (filecoin-project#3497)
- Track expected nonce in mpool, ignore messages with large nonce gaps (filecoin-project#3450)
This patch includes some bugfixes to the sector sealing process, and updates go-fil-markets. It also improves the performance of blocksync, adds a method to export chain state trees, and improves chainwatch.
- Upgrade markets to v0.5.9 (filecoin-project#3496)
- Improve blocksync to load fewer messages: (filecoin-project#3494)
- Fix a panic in the ffi-wrapper's
ReadPiece
(https://github.com/filecoin-project/lotus/pull/3492/files) - Fix a deadlock in the sealing scheduler (filecoin-project#3489)
- Add test vectors for tipset tests (https://github.com/filecoin-project/lotus/pull/3485/files)
- Improve the advance-block debug command (filecoin-project#3476)
- Add toggle for message processing to Lotus PCR (filecoin-project#3470)
- Allow exporting recent chain state trees (filecoin-project#3463)
- Remove height from chain rand (filecoin-project#3458)
- Disable GC on chain badger datastore (filecoin-project#3457)
- Account for
GasPremium
inGasEstimateFeeCap
(filecoin-project#3456) - Update go-libp2p-pubsub to
master
(filecoin-project#3455) - Chainwatch improvements (filecoin-project#3442)
This patch release includes some bugfixes and enhancements to the sector lifecycle and message pool logic.
- Rebuild unsealed infos on miner restart (filecoin-project#3401)
- CLI to attach storage paths to workers (filecoin-project#3405)
- Do not select negative performing message chains for inclusion (filecoin-project#3392)
- Remove a redundant error-check (filecoin-project#3421)
- Correctly move unsealed sectors in
FinalizeSectors
(filecoin-project#3424) - Improve worker selection logic (filecoin-project#3425)
- Don't use context to close bitswap (filecoin-project#3430)
- Correctly estimate gas premium when there is only one message on chain (filecoin-project#3428)
Hotfix release that fixes a panic in the sealing scheduler (filecoin-project#3389).
This patch release introduces a large number of improvements to the sealing process. It also updates go-fil-markets to version 0.5.8, and go-libp2p-pubsub to v0.3.5.
- Upgrades markets to v0.5.8 (filecoin-project#3384)
- Upgrades go-libp2p-pubsub to v0.3.5 (filecoin-project#3305)
-
The following improvements were introduced in filecoin-project#3350.
- Allow
lotus-miner sectors remove
to remove a sector in any state. - Create a separate state in the storage FSM dedicated to submitting the Commit message.
- Recovery for when the Deal IDs of deals in a sector get changed in a reorg.
- Auto-retry sending Precommit and Commit messages if they run out of gas
- Auto-retry sector remove tasks when they fail
- Compact worker windows, and allow their tasks to be executed in any order
- Allow
-
Don't simply skip PoSt for bad sectors (filecoin-project#3323)
- Spam Protection: Track required funds for pending messages (filecoin-project#3313)
- Add more power and reward metrics (filecoin-project#3367)
- Fix raciness in sector deal table (filecoin-project#3275)
- Parallelize miner processing (filecoin-project#3380)
- Accept Lotus API and token (filecoin-project#3337)
A patch release, containing a few nice bugfixes and improvements:
- Fix parsing of peer ID in
lotus-miner actor set-peer-id
(@whyrusleeping) - Update dependencies, fixing several bugs (@Stebalien)
- Fix remaining linter warnings (@Stebalien)
- Use safe string truncation (@Ingar)
- Allow tweaking of blocksync message window size (@whyrusleeping)
- Add some additional gas stats to metrics (@Kubuxu)
- Fix an edge case bug in message selection, add many tests (@vyzo)
Yet another hotfix release. A lesson for readers, having people who have been awake for 12+ hours review your hotfix PR is not a good idea. Find someone who has enough slept recently enough to give you good code review, otherwise you'll end up quickly bumping versions again.
- Fixed a bug in the mempool that was introduced in v0.5.2
This is a hotfix release.
- Fix message selection to not include messages that are invalid for block inclusion.
- Improve SelectMessage handling of the case where the message pools tipset differs from our mining base.
The Space Race release! This release contains the genesis car file and bootstrap peers for the space race network.
Additionally, we included two small fixes to genesis creation:
- Randomize ticket value in genesis generation
- Correctly set t099 (burnt funds actor) to have valid account actor state
This version of Lotus will be used for the incentivized testnet Space Race competition, and can be considered mainnet-ready code. It includes some protocol changes, upgrades of core dependencies, and various bugfixes and UX/performance improvements.
Among the highlights included in this release are:
- Gas changes: We implemented EIP-1559 and introduced real gas values.
- Deal-making: We now support "Committed Capacity" sectors, "fast-retrieval" deals, and the packing of multiple deals into a single sector.
- Renamed features: We renamed some of the binaries, environment variables, and default paths associated with a Lotus node.
We made some significant changes to the mechanics of gas in this release.
We implemented something similar to
Ethereum's EIP-1559.
The Message
structure had three changes:
- The
GasPrice
field has been removed - A new
GasFeeCap
field has been added, which controls the maximum cost the sender incurs for the message - A new
GasPremium
field has been added, which controls the reward a miner earns for including the message
A sender will never be charged more than GasFeeCap * GasLimit
.
A miner will typically earn GasPremium * GasLimit
as a reward.
The Blockheader
structure has one new field, called ParentBaseFee
.
Informally speaking,the ParentBaseFee
is increased when blocks are densely packed with messages, and decreased otherwise.
The ParentBaseFee
is used when calculating how much a sender burns when executing a message. Burning simply refers to sending attoFIL to a dedicated, unreachable account.
A message causes ParentBaseFee * GasUsed
attoFIL to be burnt.
This release also includes our first "real" gas costs for primitive operations. The costs were designed to account for both the time that message execution takes, as well as the space a message adds to the state tree.
There are three key changes to the deal-making process.
Miners can now pledge "Committed Capacity" (CC) sectors, which are explicitly stated as containing junk data, and must not include any deals. Miners can do this to increase their storage power, and win block rewards from this pledged storage.
They can mark these sectors as "upgradable" with lotus-miner sectors mark-for-upgrade
.
If the miner receives and accepts one or more storage deals, the sector that includes
those deals will replace the CC sector. This is intended to maximize the amount of useful
storage on the Filecoin network.
Clients can now include a fast-retrieval
flag when proposing deals with storage miners.
If set to true, the miner will include an extra copy of the deal data. This
data can be quickly served in a retrieval deal, since it will not need to be unsealed.
Miners can now pack multiple deals into a single sector, so long as all the deals fit into the sector capacity. This should increase the packing efficiency of miners.
To improve the user experience, we updated several names to mainatin standard prefixing, and to better reflect the meaning of the features being referenced.
In particular, the Lotus miner binary is now called lotus-miner
, the default
path for miner data is now ~/.lotusminer
, and the environment variable
that sets the path for miner data is now $LOTUS_MINER_PATH
. A full list of renamed
features can be found here.
- Upgrades markets to v0.5.6 (filecoin-project#3058)
- Upgrades specs-actors to v0.9.3 (filecoin-project#3151)
- Introduces gas values, replacing placeholders (filecoin-project#2343)
- Implements EIP-1559, introducing a network base fee, message gas fee cap, and message gas fee premium (filecoin-project#2874)
- Implements Poisson Sortition for elections (filecoin-project#2084)
- Introduces "Committed Capacity" sectors (filecoin-project#2220)
- Introduces "fast-retrieval" flag for deals (filecoin-project#2323
- Supports packing multiple deals into one sector (filecoin-project/storage-fsm#38)
- Optimized message pool selection logic (filecoin-project#2838)
- Window-based scheduling of sealing tasks (filecoin-project/sector-storage#67)
- Faster window PoSt (https://github.com/filecoin-project/lotus/pull/2209/files)
- Refactors the payment channel manager (filecoin-project#2640)
- Refactors blocksync (https://github.com/filecoin-project/lotus/pull/2715/files)
- Provide status updates for data-transfer (filecoin-project#3162, filecoin-project#3191)
- Miners can customise asks (filecoin-project#2046)
- Miners can toggle auto-acceptance of deals (filecoin-project#1994)
- Miners can maintain a blocklist of piece CIDs (filecoin-project#2069)
The following contributors had 10 or more commits go into this release. We are grateful for every contribution!
Contributor | Commits | Lines ± |
---|---|---|
magik6k | 361 | +13197/-6136 |
Kubuxu | 227 | +5670/-2587 |
arajasek | 120 | +2916/-1264 |
whyrusleeping | 112 | +3979/-1089 |
vyzo | 99 | +3343/-1305 |
dirkmc | 68 | +8732/-3621 |
laser | 45 | +1489/-501 |
hannahhoward | 43 | +2654/-990 |
frrist | 37 | +6630/-4338 |
schomatis | 28 | +3016/-1368 |
placer14 | 27 | +824/-350 |
raulk | 25 | +28718/-29849 |
mrsmkl | 22 | +560/-368 |
travisperson | 18 | +1354/-314 |
nonsense | 16 | +2956/-2842 |
ingar | 13 | +331/-123 |
daviddias | 11 | +311/-11 |
Stebalien | 11 | +1204/-980 |
RobQuistNL | 10 | +69/-74 |
We are very excited to release lotus 0.1.0. This is our testnet release. To install lotus and join the testnet, please visit lotu.sh. Please file bug reports as issues.
A huge thank you to all contributors for this testnet release!