Commit Graph

76 Commits

Author SHA1 Message Date
Aayush Rajasekaran
2d46edace9 enforce max deals per sector 2020-07-20 12:43:19 -04: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
Aayush Rajasekaran
a92d59317c Acquire lock before allocating pieces to sectors 2020-07-11 22:33:04 -04:00
Aayush Rajasekaran
b838ed4e85 Add a timer to auto-start sector sealing 2020-07-07 15:19:27 -04:00
Łukasz Magiera
495b4ba841 Fix precommit deposit math 2020-07-01 16:33:59 +02:00
Łukasz Magiera
e2691f3b3d Basic CC Upgrade logic 2020-07-01 15:30:25 +02:00
Łukasz Magiera
408c9a7b33 Set precommit deposit correctly 2020-06-26 17:58:29 +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
a381a4174e Give sector with deals priority in sealing 2020-06-24 23:55:51 +02:00
Łukasz Magiera
24fd125223 Implement a way to remove sectors 2020-06-22 18:55:53 +02:00
Łukasz Magiera
bd2ff4e909 specs-actors v0.6 2020-06-15 18:26:01 +02:00
Jeromy
4d4f8c1f9c handle poreps being batch verified 2020-05-27 17:10:50 -07: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
f3bea4aa8b Set pledge collateral in commit message 2020-04-23 13:42:51 +02:00
anorth
29460c440d Compute seal ticket internally, remove node ticket fn 2020-04-23 10:13:02 +10:00
Łukasz Magiera
c19538f834 Update specs-actors 2020-04-15 20:00:29 +02:00
Łukasz Magiera
4c010a03af Update Deps 2020-04-10 23:16:48 +02:00
laser
5f3a3c76dd we should always load worker address from the chain 2020-04-09 10:34:07 -07:00
laser
1dfca2ff76 drop unused method brought in via rebase 2020-04-08 07:52:47 -07:00
laser
0cd4e0413f renaming PieceWithOptionalDealInfo -> Piece, drop PieceWithDealInfo 2020-04-08 07:52:20 -07:00
laser
1f1e291cd1 use pre-commit policy to set pre-commit sector expiry epoch 2020-04-08 07:39:47 -07:00
laser
de07fe8aaf persist deal schedule to piece data for pre-commit sector expiry 2020-04-08 07:39:47 -07:00
laser
7c7b9b6a63 remove now-unused ChainReadObj 2020-04-07 13:20:52 -07:00
laser
b7be24d775 revert name change 2020-04-06 14:05:26 -07:00
laser
70615df273 miscellaneous fixes post-rebase 2020-04-06 13:23:37 -07:00
laser
9b29210dce remove all lotus types from sealing package in preparation for extraction
events adapter

implement StateWaitMsg and StateComputeDataCommitment

implement StateGetSectorPreCommitOnChainInfo

implement ChainHead and SendMsg

implement remaining methods
2020-04-06 12:57:55 -07:00
Łukasz Magiera
c29cb87d2f fsm: Get correct interactive randomness if it lands on a nullblock 2020-04-04 04:57:05 +02:00
Łukasz Magiera
c8928ff5d9 Extract sector-storage 2020-03-28 01:32:39 +01:00
Łukasz Magiera
089c769373 sectorstorage: Untangle from lotus deps 2020-03-27 22:35:33 +01:00
Łukasz Magiera
a975f018c5 Merge remote-tracking branch 'origin/testnet/3' into feat/new-workers 2020-03-25 01:02:23 +01:00
Aayush Rajasekaran
01828ef885 Re: #1412: Add a non-blocking version of StateWaitMsg
- This commit adds a new method called StateSearchMsg
- We can probably overhaul StateWaitMsg onto this new method at a later point in time
2020-03-24 06:43:15 -04:00
Łukasz Magiera
a9443774a9 Rename agvmgr+sealmgr to sectorstorage 2020-03-23 12:47:10 +01:00
Łukasz Magiera
2fc1114ad2 sealing: Improve sector log 2020-03-22 21:44:27 +01:00
Łukasz Magiera
0a3d61435e Fix tests after specs-storage changes 2020-03-18 02:08:11 +01:00
Łukasz Magiera
6ce8cda0a3 Use new specs-storage interface 2020-03-17 21:19:52 +01:00
whyrusleeping
d255b7d6e9 Merge branch 'master' into testnet/3 2020-03-07 16:46:12 -08:00
Aayush Rajasekaran
2fec889a11 Unify MethodCall and ReplayResults into SimulationResult
- Call and Replay now return the same type, which includes both Message and MessageReceipt
2020-03-06 11:10:40 -08:00
Łukasz Magiera
dbca774e17 libs: Use go-statemachine 2020-03-06 20:01:03 +01:00
Łukasz Magiera
732ea1b882 sectorbuilder type updates 2020-03-06 06:38:59 +01:00
Łukasz Magiera
b31c8a56f7 Storage Manager refactor 2020-03-03 23:19:22 +01:00
whyrusleeping
94073cfb5a progress is made incrementally 2020-02-28 14:00:34 -08:00