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
chunqizhi
49281ef599
Merge pull request #4 from filecoin-project/master
...
merge
2020-06-24 13:55:29 +08: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
Yusef Napora
628872d0e4
forgot my go fmt hook
2020-06-23 15:10:27 -04:00
Yusef Napora
960523f45f
fix drand test
2020-06-23 15:09:28 -04:00
Łukasz Magiera
fb04b17fad
state: Get correct locked table in StateMarketParticipants
2020-06-23 20:55:59 +02:00
Jakub Sztandera
19ed695811
Fix TestInteropBH
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 20:37:35 +02:00
Jakub Sztandera
1f967c6f63
Fix debug_advance
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 20:37:35 +02:00
Jakub Sztandera
2165728088
Fix TestDealMining
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 20:09:58 +02:00
laser
8adc831a31
return error if retrieval deal rejected
2020-06-23 11:08:04 -07:00
Yusef Napora
566a99240d
allow overriding drand config
2020-06-23 13:33:18 -04:00
Łukasz Magiera
7b2241f051
Merge pull request #2102 from filecoin-project/feat/parallel-block-val
...
run block validation for tipsets in parallel
2020-06-23 17:59:14 +02:00
Jakub Sztandera
156a14eeeb
Integrate Poisson Sortition into chain sync
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:59:44 +02:00
Jakub Sztandera
97088e3109
Add golden test for exp function
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:33:10 +02:00
Jakub Sztandera
2b597fb780
Add tests for lambda
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:24:02 +02:00
Jakub Sztandera
efeaa9b6ad
Fix lint warnings
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:24:02 +02:00
Jakub Sztandera
d7f710806b
Implement golden tests for Poisson distribution
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:24:02 +02:00
Jakub Sztandera
d92362f96e
Add comments about algorithm
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:24:02 +02:00
Jakub Sztandera
8fea872345
Refactor poisson to struct for easier testing
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:24:02 +02:00
Jakub Sztandera
84c0b50aa1
Rename fxToD
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:24:01 +02:00
Jakub Sztandera
f523b17a35
Improve performance of ComputeWinCount
...
As it turns out `big.Int#Mul` doesn't like it when you reuse input as
output.
```
name old time/op new time/op delta
WinCounts-8 4.56µs ± 1% 3.90µs ± 2% -14.44% (p=0.000 n=9+10)
name old alloc/op new alloc/op delta
WinCounts-8 3.50kB ± 0% 1.15kB ± 0% -67.23% (p=0.000 n=10+10)
name old allocs/op new allocs/op delta
WinCounts-8 45.0 ± 0% 24.0 ± 0% -46.67% (p=0.000 n=10+10)
```
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:24:01 +02:00
Jakub Sztandera
ee5639aad9
Initial implementation of Poisson Sortition
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-06-23 16:24:01 +02:00
奇
55ed45f108
Get the good sectors to run windowPost
2020-06-23 20:46:41 +08:00
Łukasz Magiera
f8e7901b89
Address review
2020-06-23 14:44:34 +02:00
Łukasz Magiera
9e70e95242
sync: Correctly pass blocks to ValidateBlock
2020-06-23 14:10:47 +02:00