Commit Graph

262 Commits

Author SHA1 Message Date
Łukasz Magiera
967d887503
Merge pull request #63 from filecoin-project/fix/bugfixes
Fix a bunch sealing issues
2020-08-06 01:19:25 +02:00
Łukasz Magiera
9d9ea4e633 Fix a bunch sealing issues 2020-08-05 03:30:58 +02:00
Łukasz Magiera
b8526edd5e
Merge pull request #46 from chunqizhi/wenchu
Add case: Removed in fsm.go to avoid "unexpected sector update state: Removed"
2020-08-05 00:16:12 +02:00
Łukasz Magiera
12e79a1661
Merge pull request #61 from filecoin-project/fix/addpiece-math
Fixes to math in AddPiece
2020-07-30 14:39:17 +02:00
Łukasz Magiera
d423ae90d8 Fixes to math in AddPiece 2020-07-30 14:22:05 +02:00
Łukasz Magiera
d57f0e6460
Merge pull request #56 from yaohcn/sealing-ctx
add sealing context
2020-07-30 14:18:47 +02:00
Aayush Rajasekaran
32ef4ecbea
Merge pull request #59 from filecoin-project/feat/separate-pc-deposit-func
Separate precommit deposit estimation func
2020-07-28 15:05:13 -04:00
Łukasz Magiera
33f96f051f Separate precommit deposit estimation func 2020-07-28 20:50:42 +02:00
yaohcn
977fefeb1b add sealing context 2020-07-23 19:55:06 +08:00
Łukasz Magiera
2cfe2fe3c3
Merge pull request #52 from filecoin-project/fix/update-gas
Use estimated gas for commit
2020-07-20 21:00:00 +02:00
Jakub Sztandera
5fd49d4d6a
Use estimated gas for commit
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-20 20:34:59 +02:00
Łukasz Magiera
f83d828b24 Merge remote-tracking branch 'origin/master' into next 2020-07-20 19:52:07 +02:00
Łukasz Magiera
5cc2358376
Merge pull request #51 from filecoin-project/asr/maxdeals
Enforce max deals per sector
2020-07-20 19:35:38 +02:00
Łukasz Magiera
a06ded53e9
Merge pull request #47 from TroyWind/fix-precommit-failed-state
fix precommit1 failed state
2020-07-20 19:24:58 +02:00
Aayush Rajasekaran
2d46edace9 enforce max deals per sector 2020-07-20 12:43:19 -04:00
Łukasz Magiera
d575c3a5f7
Merge pull request #48 from filecoin-project/feat/actors-miner-refactor
Updates for refactored miner actor
2020-07-17 14:55:41 +02:00
Łukasz Magiera
3932b81401 Use specs-actors master 2020-07-17 14:36:38 +02:00
Łukasz Magiera
b79b3d0c00
Merge pull request #50 from filecoin-project/fix/update-gas
Allow lotus to decide gas limit and gas price
2020-07-15 21:47:33 +02:00
Jakub Sztandera
7e92e888bf
Update gas limits, allows lotus to determine limit and price
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-07-15 21:12:02 +02:00
Łukasz Magiera
328439a8bf gofmt 2020-07-15 16:53:17 +02:00
Łukasz Magiera
041d70a7ff Updates for refactored miner actor 2020-07-15 16:51:02 +02:00
刘林欣
d4c8be92b0 fix precommit1 failed state 2020-07-15 09:41:35 +08:00
chunqizhi
3e226b5aaa Add case: Removed in fsm.go 2020-07-14 16:41:19 +08: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