Commit Graph

220 Commits

Author SHA1 Message Date
Aayush Rajasekaran
a3c686d317 Try to pack deals into existing unsealed sectors before creating new ones 2020-06-25 13:47:14 -04:00
Aayush Rajasekaran
81a2792e37 Move sector number calculation into newSector 2020-06-25 13:36:04 -04:00
Aayush Rajasekaran
ff8894f2ec Maintain a map of UnsealedSectorInfos 2020-06-25 13:36:04 -04:00
Aayush Rajasekaran
020f3a173a Squash Sealing's AllocatePiece and SealPiece into one method 2020-06-25 13:36:04 -04:00
Aayush Rajasekaran
73f5c68674 Non-CC sectors start with no pieces, can be added using addPiece() 2020-06-25 13:33:23 -04:00
Aayush Rajasekaran
7f75cd71da Resolve proof type when creating new sector 2020-06-25 13:33:23 -04:00
Aayush Rajasekaran
eb17b2f371 Add a state for waiting on deals, and events for new deals and start packing 2020-06-25 13:33:23 -04:00
Aayush Rajasekaran
db863a4de7 Add new event for start of CC sectors 2020-06-25 13:33:23 -04:00
Aayush Rajasekaran
5ad33896cc Do not allocate pieces that are bigger than a sector 2020-06-25 13:33:23 -04:00
Łukasz Magiera
379a4655b0
Merge pull request #36 from filecoin-project/feat/deal-sechd-prio
Give sector with deals priority in sealing
2020-06-25 18:08:32 +02:00
Łukasz Magiera
b1b7c4257b Use sector-storage master 2020-06-25 17:46:35 +02:00
Łukasz Magiera
a381a4174e Give sector with deals priority in sealing 2020-06-24 23:55:51 +02:00
Łukasz Magiera
fe71d5b42d
Merge pull request #34 from filecoin-project/feat/cc-upgrade-1
Update storage interfaces, support removing sectors
2020-06-23 23:30:10 +02:00
Łukasz Magiera
8a3b7c575f Use sector-storage master 2020-06-23 23:15:29 +02:00
Łukasz Magiera
628c590c00 Drop unused faulty state logic 2020-06-22 18:55:53 +02:00
Łukasz Magiera
24fd125223 Implement a way to remove sectors 2020-06-22 18:55:53 +02:00
Łukasz Magiera
d8c81e712e Upgrade sector-storage 2020-06-22 18:55:53 +02:00
Łukasz Magiera
cc8670b956
Merge pull request #33 from filecoin-project/fix/missing-pc1
Handle missing on-chain precommit in WaitSeed
2020-06-22 18:51:31 +02:00
Łukasz Magiera
b6e250303e Handle missing on-chain precommit in WaitSeed 2020-06-22 13:09:31 +02:00
Łukasz Magiera
4380106d3e
Merge pull request #31 from filecoin-project/fix/handle-missng-pc-msg
checkCommit: handle missing precommit in handlePreCommitWait
2020-06-17 20:37:54 +02:00
Łukasz Magiera
ce0b99ee9d checkCommit: handle missing precommit in handlePreCommitWait 2020-06-17 20:35:47 +02:00
Łukasz Magiera
77fc23c4d1
Merge pull request #30 from filecoin-project/fix/no-precommit-recover
checkCommit: handle missing precommits
2020-06-17 20:02:48 +02:00
Łukasz Magiera
b2d14380b4 checkCommit: handle missing precommits 2020-06-17 17:19:36 +02:00
Łukasz Magiera
494c3bc487
Merge pull request #27 from filecoin-project/deps/specs-actors-v0.6
specs-actors v0.6
2020-06-15 18:27:49 +02:00
Łukasz Magiera
bd2ff4e909 specs-actors v0.6 2020-06-15 18:26:01 +02:00
Łukasz Magiera
b6ef7d5910
Merge pull request #26 from storswift/master
Fix a mistake in checkPrecommit
2020-06-15 15:08:35 +02:00
marco-storswift
0092bff922
fixed #25
ticketEpoch := epoch - SealRandomnessLookback in the func (m *Sealing) getTicket(ctx statemachine.Context, sector SectorInfo) (abi.SealRandomness, abi.ChainEpoch, error) {
2020-06-12 14:48:33 +08:00
Łukasz Magiera
aa405b2176
Merge pull request #24 from filecoin-project/feat/improvements
A bunch of improvements for more reliable sealing
2020-06-05 10:23:04 +02:00
Łukasz Magiera
8ad1af106d Retry precommit2 once before redoing precommit1 2020-06-04 17:30:36 +02:00
Łukasz Magiera
1f5aa7fb7d Auto-retry failed finalize 2020-06-03 23:42:17 +02:00
Łukasz Magiera
7fc7221348 Use correct SealRandomnessLookbackLimit 2020-06-03 22:57:44 +02:00
Łukasz Magiera
1467fe4226 Fix tests 2020-06-03 12:50:56 +02:00
Łukasz Magiera
222f3d876c Fix handling of re-precommit 2020-06-02 23:45:28 +02:00
Łukasz Magiera
9b92e145e7 Try to re-precommit on consecutive failed commit proof compute 2020-06-02 22:30:40 +02:00
Whyrusleeping
cdada6e889
Merge pull request #23 from filecoin-project/feat/batch-verify-porep-handling
handle poreps being batch verified
2020-05-27 22:06:23 -07:00
Jeromy
4d4f8c1f9c handle poreps being batch verified 2020-05-27 17:10:50 -07:00
Whyrusleeping
f49b328e17
Merge pull request #20 from filecoin-project/feat/pre-commit-wait-state
add a new state for precommit wait
2020-05-27 11:35:32 -07:00
Whyrusleeping
83fd743db8
Merge pull request #21 from filecoin-project/deps/update-ffi
update to latest filecoin-ffi
2020-05-21 18:05:18 -07:00
Jeromy
fad9412c04 update to latest filecoin-ffi 2020-05-21 18:03:34 -07:00
Jeromy
06bcde9c2d add a new state for precommit wait 2020-05-18 15:49:21 -07:00
Ignacio Corderi
744fc321e9
Merge pull request #19 from filecoin-project/icorderi/18
feat: Remove unused deal state from api.StateMarketStorageDeal signature

This is a breaking change on the SealingAPI
The StateMarketStorageDeal method now returns a tuple instead of a triple.

Fixes #18
2020-05-15 15:10:31 -03:00
Ignacio Corderi
e2150fd66e feat: remove unused return argument from storage deal
This is a breaking change on the `SealingAPI`
- The `StateMarketStorageDeal` method now returns a tuple instead of a triple.
2020-05-15 13:31:32 -03:00
Łukasz Magiera
4980cb4c92
Merge pull request #16 from filecoin-project/feat/v26-parameters
use v26 parameters + update sector-storage to drop lotus transitive dep
2020-05-08 23:23:39 +02:00
laser
b565215d58 update sector-storage + go mod tidy 2020-05-08 14:14:41 -07:00
laser
32d092b293 v26 groth parameters 2020-05-08 14:13:37 -07:00
Łukasz Magiera
01487d5ad3
Merge pull request #14 from filecoin-project/anorth/specs-actors
Upgrade to specs-actors v0.2.0
2020-04-27 20:20:14 +02:00
anorth
368d07ad9c Upgrade to specs-actors v0.2.0 2020-04-25 12:32:51 +10:00
Whyrusleeping
ec2b62c042
Merge pull request #12 from filecoin-project/feat/commit-collateral
Set pledge collateral in commit message
2020-04-23 09:17:48 -07:00
Łukasz Magiera
f3bea4aa8b Set pledge collateral in commit message 2020-04-23 13:42:51 +02:00
Łukasz Magiera
1283a89a95
Merge pull request #11 from filecoin-project/anorth/tickets
Compute seal ticket internally, remove node ticket fn
2020-04-23 13:18:48 +02:00