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
Łukasz Magiera
68d38eff33
Merge pull request #2103 from filecoin-project/deps/libp2p-0.10.0
...
update to latest libp2p release
2020-06-23 12:44:42 +02:00
Łukasz Magiera
abd400801c
mod tidy
2020-06-23 11:46:20 +02:00
Howard Yeh
be4112ee68
add RPC timeout to maybeSchedRequest
2020-06-23 17:42:47 +08:00
Łukasz Magiera
d24a750ba4
Merge pull request #2106 from filecoin-project/feat/streaming-bench-results
...
stream bench import results to disk
2020-06-23 11:42:18 +02:00
whyrusleeping
9903eba7fb
stream bench import results to disk
2020-06-22 20:08:19 -07:00
whyrusleeping
3752311f44
update to latest libp2p release
2020-06-22 16:25:41 -07:00
whyrusleeping
b71f771acb
run block validation for tipsets in parallel
2020-06-22 16:09:05 -07:00
Łukasz Magiera
9f3145aec0
Merge pull request #2093 from filecoin-project/asr/clarify
...
Clarify expected block win when below minimum power threshold
2020-06-22 22:32:08 +02:00
Łukasz Magiera
8638076ecb
Merge pull request #1894 from filecoin-project/feat/chainwatch-usage
...
Add chainwatch systemd svc config
2020-06-22 22:25:48 +02:00
Mike Greenberg
8649baccf7
Remove dev values from chainwatch.service
2020-06-22 16:17:07 -04:00
Aayush Rajasekaran
c33d9e9668
Merge pull request #2094 from filecoin-project/schomatis/doc/security-policy
...
doc: report a vulnerability
2020-06-22 15:39:52 -04:00
Łukasz Magiera
03d70e1513
Merge pull request #2097 from filecoin-project/feat/disable-builtin-assets
...
provide an option to disable loading of built-in assets.
2020-06-22 21:35:58 +02:00
Raúl Kripalani
d20255b1b4
provide an option to disable loading of built-in assets.
2020-06-22 19:42:04 +01:00
Łukasz Magiera
cd91e42a56
ci: lint-changes based on master
2020-06-22 19:39:08 +02:00
Łukasz Magiera
e2435be0b9
build: Bump API version
2020-06-22 19:36:26 +02:00
Łukasz Magiera
5adc188466
miner: Command to remove sectors
2020-06-22 19:35:14 +02:00
Łukasz Magiera
101ba0b796
Update deps to support removing sectors
2020-06-22 19:03:35 +02:00
Łukasz Magiera
628c590c00
Drop unused faulty state logic
2020-06-22 18:55:53 +02:00
Łukasz Magiera
24fd125223
Implement a way to remove sectors
2020-06-22 18:55:53 +02:00
Łukasz Magiera
d8c81e712e
Upgrade sector-storage
2020-06-22 18:55:53 +02:00
Łukasz Magiera
cc8670b956
Merge pull request #33 from filecoin-project/fix/missing-pc1
...
Handle missing on-chain precommit in WaitSeed
2020-06-22 18:51:31 +02:00
Lucas Molas
8cd2012d27
doc: report a vulnerability
2020-06-22 12:45:24 -03:00
Aayush Rajasekaran
4959596527
Clarify expected block win when below minimum power threshold
2020-06-22 11:42:26 -04:00
Łukasz Magiera
07cf84cbc7
Update specs-storage, sector removing support
2020-06-22 17:06:09 +02:00
Łukasz Magiera
ffbfa84591
Merge pull request #52 from yaohcn/finalize-not-sched-unseal
...
finalize not sched on unsealed worker
2020-06-22 13:36:32 +02:00
Łukasz Magiera
b6e250303e
Handle missing on-chain precommit in WaitSeed
2020-06-22 13:09:31 +02:00
奇
956c397c3c
Add provingFaultsCmd for getting sectors information for the currently known faults
2020-06-22 16:00:29 +08:00
chunqizhi
1249ede2b7
Merge pull request #3 from filecoin-project/master
...
merge
2020-06-22 15:47:43 +08:00
Łukasz Magiera
596ed330dd
Merge pull request #2069 from laser/feat/1920-blocklist-cids
...
allow storage miners to manage a blocklist of piece CIDs
2020-06-19 21:19:15 +02:00
Łukasz Magiera
b4c1594d99
Merge pull request #2073 from mitchwagner/patch-1
...
Remove redundant glossary item
2020-06-19 21:05:29 +02:00
Łukasz Magiera
98cb08d853
Merge pull request #2077 from laser/bugs/1993-problems-with-sizestr
...
bump from 3 to 4 digits in format-string used by types.SizeStr
2020-06-19 21:04:30 +02:00
Nathaniel Jensen
6b86dcde4a
doc: Fix architecture broken link
2020-06-19 13:33:19 -03:00
laser
fbeaab466a
obey the linter
2020-06-19 09:20:20 -07:00
laser
5e77b5da9f
bump from 3 to 4 digits in format-string
...
Fixes #1993
2020-06-19 08:51:06 -07:00
yaohcn
92a6ba8a57
finalize not sched on unsealed worker
2020-06-19 09:43:19 +08:00
Mitch Wagner
7c4225d01c
Remove redundant glossary item
...
The excised entry previously rendered twice in the glossary under two different keys. This commit removes one of those KV pairs to avoid that.
2020-06-18 21:31:26 -04:00
Łukasz Magiera
ffa7be86fe
Merge pull request #2070 from filecoin-project/feat/reset-genesis
...
New Genesis
2020-06-19 01:29:01 +02:00