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
Ł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
Ł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
Ł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
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
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
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
Łukasz Magiera
c41c210ced
New Genesis
2020-06-19 01:24:04 +02:00
laser
de7d6c255c
blacklist -> blocklist
2020-06-18 15:51:01 -07:00
laser
99060fbb64
eliminate errant debug line
2020-06-18 14:05:59 -07:00
laser
0c8d648998
specify which CID is being blacklisted (it's the piece)
2020-06-18 14:02:22 -07:00
laser
aa18d1985e
reject storage deal proposals containing blacklisted piece CIDs
2020-06-18 13:32:20 -07:00
laser
b0edf924b4
add commands for manipulating storage deal CID blacklist
2020-06-18 13:15:18 -07:00
laser
997a46a90f
wombat
2020-06-18 10:32:32 -07:00
Łukasz Magiera
b99b8f55f6
Merge pull request #2065 from filecoin-project/docs/docgen-fixes
...
docgen improvements
2020-06-18 16:20:19 +02:00
Łukasz Magiera
c0a50a2143
api: Add a bunch of donstrings
2020-06-18 15:44:47 +02:00
Łukasz Magiera
382734b057
docgen: Generate simple index
2020-06-18 14:56:00 +02:00
Łukasz Magiera
90fbbea372
docgen: Make larger inputs/outputs more readable
2020-06-18 14:37:41 +02:00
Łukasz Magiera
55d9ad0b55
Fix docgen
2020-06-18 14:30:00 +02:00
Łukasz Magiera
e5e5d0d9e4
Merge pull request #2064 from filecoin-project/deps/sectorstorage-d9de9b7cb4
...
Update sector-storage with 32G checkFiles fix
2020-06-18 12:44:29 +02:00
Łukasz Magiera
324b659d33
Update sector-storage with 32G checkFiles fix
2020-06-18 09:34:28 +02:00
Aayush Rajasekaran
edcf899be1
Merge pull request #2060 from filecoin-project/jimpick/fix-lotus-bench-link
...
Fix bad link in hardware mining docs
2020-06-17 21:19:58 -04:00
Jim Pick
2bf781d591
Fix bad link in hardware mining docs
...
This fixes a bad link.
There's also a link to the Github issue thread for results that still works, but
is a bit stale (for proofs before v20). I didn't attempt to fix that as there
doesn't appear to be a thread for v27 proofs.
2020-06-17 18:04:46 -07:00
Łukasz Magiera
cc179c5270
Merge pull request #2047 from filecoin-project/feat/parallel-sealing-bench
...
allow sealing bench to run parallel seals
2020-06-18 01:28:56 +02:00
Łukasz Magiera
b417725e3e
Merge pull request #2059 from filecoin-project/feat/testnet-peers
...
Bootstrap peers
2020-06-18 01:15:49 +02:00
Travis Person
c02d8225a8
Bootstrap peers
2020-06-17 23:01:26 +00:00
Łukasz Magiera
659f570cfc
Merge pull request #2058 from filecoin-project/jimpick/spelling
...
Spelling: s/winnnig/winning/
2020-06-17 22:09:17 +02:00
Jim Pick
c7e470bd5e
Spelling: s/winnnig/winning/
...
It was bugging me. :-)
2020-06-17 12:49:23 -07:00