Rob Quist
3d3e384d5c
Merge pull request #2 from RobQuistNL/patch-2
...
Update makefile
2020-06-26 02:10:53 +02:00
Rob Quist
38533631bf
Bump to Go v. 1.14 as requirement
2020-06-26 02:09:39 +02:00
frrist
6fe39ef065
fixup! feat: define miner sector schema
2020-06-25 17:03:28 -07:00
frrist
47c3e14d4b
fixup! feat: define miner sector schema
2020-06-25 17:00:22 -07:00
frrist
d8b647cc3a
fixup! feat: define miner sector schema
2020-06-25 16:07:43 -07:00
Dirk McCormick
abad4a3941
refactor: modify predicates API
2020-06-25 17:43:37 -04:00
frrist
2c0a4914cf
feat: define miner sector schema
...
- define a miner sector schema to store miner sector details at each tipset the miner experiences a
state change. This solution stores redundant data since a miner state change (head cid changes)
does not necessarily indicate its sectors changes.
- makes progress towards sentinel/issues/10
2020-06-25 13:16:50 -07:00
Łukasz Magiera
a8997dc35c
ffiwrapper: Insert alignment between pieces
2020-06-25 21:57:26 +02:00
Aayush Rajasekaran
e54b49b442
Bump API version
2020-06-25 13:49:15 -04:00
Aayush Rajasekaran
50aa1e6baa
Update bitfield
2020-06-25 13:49:15 -04:00
Aayush Rajasekaran
e3c897fb68
Change StateReadState to take an address, not an actor
2020-06-25 13:49:15 -04: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
Dirk McCormick
728afc0587
refactor: remove state API example
2020-06-25 12:46:43 -04:00
Dirk McCormick
95a9dc9db0
refactor: use struct instead of array for state change
2020-06-25 12:43:06 -04:00
Dirk McCormick
b62fef7541
feat: include previous TS in StateChangedHandler
2020-06-25 12:43:06 -04:00
Dirk McCormick
dd490220d7
refactor: Extract message-specific code from calledEvents
...
This allows us to create a general purpose head change events manager that can be used for call events and also for state change events.
2020-06-25 12:43:06 -04:00
hannahhoward
7f932b96ae
WIP
2020-06-25 12:41:50 -04:00
Łukasz Magiera
4af9a20903
Merge pull request #2132 from filecoin-project/feat/deal-sechd-prio
...
sealing: Give priority to sectors with deals
2020-06-25 18:27:35 +02:00
Łukasz Magiera
f9cb549fbe
Merge pull request #2137 from filecoin-project/feat/compact-trace
...
Make gas traces smaller, strip callers in import-bench
2020-06-25 18:25:38 +02:00
Łukasz Magiera
7e342e60d1
sealing: Give priority to sectors with deals
2020-06-25 18:13:45 +02: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
98ef8e4ef2
Merge pull request #58 from filecoin-project/feat/sched-prio
...
sched: Support external priority
2020-06-25 17:43:33 +02:00
Jakub Sztandera
f98063d604
In this case I want it to be not really safe
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-25 16:58:55 +02:00
Jakub Sztandera
10c4fae8c0
Make gas traces smaller, strip callers in import-bench
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-25 16:46:50 +02:00
Łukasz Magiera
ddd1f21e5d
sched: Support external priority
2020-06-25 16:45:25 +02:00
Łukasz Magiera
a381a4174e
Give sector with deals priority in sealing
2020-06-24 23:55:51 +02:00
Łukasz Magiera
cae24a226b
Merge pull request #2119 from laser/feat/1920-toggle-retrieval
...
allow retrieval miner to enable/disable consideration of retrieval deal proposals
2020-06-24 21:19:19 +02:00
Łukasz Magiera
0162322833
Merge pull request #2126 from filecoin-project/fix/events-race
...
Fix two races in events
2020-06-24 21:09:14 +02:00
Łukasz Magiera
06dfe3c5ae
Merge pull request #2131 from filecoin-project/fix/chainwatch-tipset-api-access
...
fix: use tipset corresponding to stateroot
2020-06-24 20:04:18 +02:00
frrist
a98c4038f4
fix: use tipset corresponding to stateroot
...
- Use te tipsetkey corresponding to the stateroot when fetching actor
data from the lotus api.
2020-06-24 11:01:25 -07:00
Jakub Sztandera
4895c895aa
Change WinCount to int64, wire it to BlockMessage
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-24 19:51:22 +02:00
Jakub Sztandera
88352c74fc
Address @Magik6k CR
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-24 17:11:26 +02:00
laser
4c760ec1b1
lint: update comments to match type declarations
2020-06-24 08:08:10 -07:00
laser
176d0bb7c0
add "lotus-storage-miner retrieval-deals" subcommands
...
- enable retrieval
- disable retrieval
2020-06-24 08:08:10 -07:00
laser
bc90b857c9
change "lotus-storage-miner deals" to "lotus-storage-miner storage-deals"
2020-06-24 08:08:10 -07:00
laser
ef0abf2b98
disable/enable retrieval deal consideration via config
2020-06-24 08:07:12 -07:00
Jakub Sztandera
008a2969b2
Fix two races in events
...
Also race fix: depends on https://github.com/ipfs/go-blockservice/pull/65
Resolves #2092 , #2099 , #2108 , #1930 , #2110
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-24 17:05:24 +02:00
Jakub Sztandera
36d5880a30
Remove TestElectionExp
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-24 15:25:23 +02:00
Łukasz Magiera
7d9f9ba756
Merge pull request #2125 from filecoin-project/fix/cw-state-heights-index
...
chainwatch: state_heights_uindex is not unique
2020-06-24 14:55:42 +02:00
Łukasz Magiera
358b36bc66
chainwatch: state_heights_uindex is not unique
2020-06-24 14:34:53 +02:00
Łukasz Magiera
f1e686f706
Merge pull request #2107 from chunqizhi/zc
...
An incorrect sector was detected, but also run windowPoSt
2020-06-24 12:40:16 +02:00