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
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
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
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
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
Łukasz Magiera
0b1fa54a4d
wdpost: Remove commented code
2020-06-24 12:38:46 +02:00
奇
24c7f47566
Modify print faulty sectors in provingFaultsCmd
2020-06-24 10:14:20 +08:00
Łukasz Magiera
4037d707c9
Merge pull request #2120 from filecoin-project/feat/change-addrs-cmd
...
add command to change registered multiaddrs for miner
2020-06-24 01:02:35 +02:00
Łukasz Magiera
001d4ab002
Appease the linter
2020-06-24 01:00:32 +02:00
Łukasz Magiera
f115603093
Merge pull request #2121 from filecoin-project/fix/1917
...
Update sector-storage to fix #2080 and #1917
2020-06-24 00:56:59 +02:00
Łukasz Magiera
d7bb284e57
miner: Move set-addrs command to a new 'actor' namespace
2020-06-24 00:54:28 +02:00
Łukasz Magiera
11c53c26ff
Update sector-storage to fix #2080 and #1917
2020-06-24 00:47:47 +02:00
Łukasz Magiera
d28bbf4674
Merge pull request #2095 from filecoin-project/feat/sector-remove
...
Update specs-storage; Support for removing sectors
2020-06-24 00:32:33 +02:00
Łukasz Magiera
a7d662a7d8
Update to actually working sector-storage
2020-06-24 00:23:39 +02:00
Łukasz Magiera
6f8c464393
Merge remote-tracking branch 'origin/master' into feat/sector-remove
2020-06-23 23:54:27 +02:00
Raúl Kripalani
c8104a03e6
some initial godocs. ( #2118 )
2020-06-23 18:51:25 -03:00
Łukasz Magiera
69559bcf4f
Use fsm, sector-storage master
2020-06-23 23:32:12 +02:00
whyrusleeping
d524821c86
add command to change registered multiaddrs for miner
2020-06-23 14:25:45 -07:00
Jakub Sztandera
e864244226
Merge pull request #2117 from filecoin-project/fix/drand-config-di
...
improve DrandConfig dependency injection
2020-06-23 23:14:58 +02:00
Yusef Napora
5074cf8beb
import DrandConfig from dtypes
2020-06-23 16:23:06 -04:00
Yusef Napora
b448de422e
improve DrandConfig dependency injection
2020-06-23 16:01:10 -04:00
Łukasz Magiera
99d3571772
Merge pull request #2115 from filecoin-project/feat/drand-config-override
...
allow overriding drand config
2020-06-23 21:59:05 +02:00
Łukasz Magiera
0354275b39
Merge pull request #2112 from laser/bugs/2111-hanging-client-retrieve
...
return error if retrieval deal rejected
2020-06-23 21:56:02 +02:00
laser
309fbc15b2
import aliasing, for legibility
2020-06-23 12:22:33 -07:00
Łukasz Magiera
28e3c863bf
Merge pull request #2114 from filecoin-project/fix/state-mkt-participants
...
state: Get correct locked table in StateMarketParticipants
2020-06-23 21:21:43 +02:00
laser
06162290af
explicitly handle each deal status, as per PR feedback
2020-06-23 12:14:41 -07:00