Commit Graph

240 Commits

Author SHA1 Message Date
Łukasz Magiera
041d70a7ff Updates for refactored miner actor 2020-07-15 16:51:02 +02:00
Łukasz Magiera
1794862d73
Merge pull request #44 from filecoin-project/asr/mutex
Packing deals improvements
2020-07-13 12:58:10 +02:00
Łukasz Magiera
fcb6255161
Merge pull request #45 from filecoin-project/asr/temp
Increase gas limit
2020-07-13 12:15:20 +02:00
Aayush Rajasekaran
6e92d6a6f0 Increase gas limit 2020-07-12 00:50:02 -04:00
Aayush Rajasekaran
a92d59317c Acquire lock before allocating pieces to sectors 2020-07-11 22:33:04 -04:00
Łukasz Magiera
bc5e298e2b
Merge pull request #43 from filecoin-project/asr/timer
Add a timer to auto-start sector sealing
2020-07-07 21:42:29 +02:00
Aayush Rajasekaran
b838ed4e85 Add a timer to auto-start sector sealing 2020-07-07 15:19:27 -04:00
Łukasz Magiera
ce2a500a06
Merge pull request #42 from filecoin-project/feat/fast-ret
Fast-retrieval copy plumbing
2020-07-07 02:15:01 +02:00
Łukasz Magiera
ec9db30863 Add docstring to Sectorinfo.unsealedRanges 2020-07-07 02:14:25 +02:00
Łukasz Magiera
0503592af7 Fast-retrieval copy plumbing 2020-07-02 22:09:59 +02:00
Łukasz Magiera
171e0d0e4b
Merge pull request #32 from filecoin-project/feat/cc-upgrade
CC upgrade
2020-07-02 00:12:41 +02:00
Łukasz Magiera
59ec727191 gofmt 2020-07-01 16:34:05 +02:00
Łukasz Magiera
495b4ba841 Fix precommit deposit math 2020-07-01 16:33:59 +02:00
Łukasz Magiera
3030e3a74f mod tidy, gofmt 2020-07-01 15:32:24 +02:00
Łukasz Magiera
e2691f3b3d Basic CC Upgrade logic 2020-07-01 15:30:25 +02:00
Łukasz Magiera
dd6398dbcb
Merge pull request #40 from filecoin-project/feat/specs-actors-v0.7.0
Specs actors v0.7.0
2020-07-01 15:11:52 +02:00
Łukasz Magiera
afab9395b9 gofmt 2020-06-26 18:01:50 +02:00
Łukasz Magiera
408c9a7b33 Set precommit deposit correctly 2020-06-26 17:58:29 +02:00
Łukasz Magiera
9aec1e9484 Update specs-actors to v0.7.0 2020-06-26 17:29:08 +02:00
Łukasz Magiera
c059934fe8
Merge pull request #38 from filecoin-project/asr/multiple-deals
Pack multiple deals into a sector
2020-06-26 13:02:27 +02:00
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