whyrusleeping
96f17d4408
remove dead code
2019-12-02 15:24:46 -08:00
Łukasz Magiera
ab36a5aa04
wip fixing IsTicketWinner
2019-12-02 23:46:49 +01:00
Łukasz Magiera
1cdf6a6f8d
use challangeCount as sampleRate in IsTicketWinner
2019-12-02 15:24:27 +01:00
Łukasz Magiera
d5b94884c8
Buch of lint fixes
2019-12-02 13:51:16 +01:00
whyrusleeping
422e25c8e6
self review: some cleanup
2019-11-30 22:02:52 -06:00
whyrusleeping
59d9c681ad
Rework miner test setups to fix tests
2019-11-30 17:21:11 -06:00
whyrusleeping
3b533ed76c
Genesis miner config actually sets the created miner address now
2019-11-29 22:31:26 -06:00
Łukasz Magiera
adf71f502c
don't print scary errors when miner has no sectors
2019-11-29 20:14:10 +01:00
whyrusleeping
57f6d9e624
correctly predict miner addresses for test
2019-11-28 20:45:30 -08:00
whyrusleeping
3dddcb85e7
tests properly create miners, they just can't mine yet
2019-11-28 20:41:37 -08:00
whyrusleeping
637c28ba55
generator sets up appropriate number of miners
2019-11-28 22:04:46 -06:00
whyrusleeping
ce89ddbd6a
fixing some tests
2019-11-28 21:38:18 -06:00
Łukasz Magiera
cb7d15e67e
genesis setup improvements
2019-11-28 23:50:58 +01:00
Łukasz Magiera
aefd432422
actors: Fallback post progress
2019-11-28 13:46:56 +01:00
laser
3623925f66
replace go-bls-sigs and go-sectorbuilder with filecoin-ffi
...
- remove old submodules and add new submodule
- update build tooling to consume new unified static library
- update consumers of old libs to use new package
2019-11-26 18:16:37 -08:00
whyrusleeping
a98295a747
use the correct sector sizes in places
2019-11-25 20:43:43 -06:00
whyrusleeping
a0588d513d
Add lotus-gen, rewire genesis mining
2019-11-24 22:45:13 -06:00
whyrusleeping
f03198c8a0
sync tests passing, still no vm integration
2019-11-22 10:41:09 -06:00
whyrusleeping
96482f456a
WIP: election post restructuring
2019-11-21 16:21:45 -06:00
whyrusleeping
f8eabd3db4
Refactor mining logic to match specs ticket chain
2019-11-20 10:52:36 -06:00
anorth
84a4766d8f
Add TipSetKey as a concatenation of block CIDs, and use if for ChainGetTipSet, ChainGetRandomness.
2019-11-13 15:23:37 +11:00
Whyrusleeping
aa26935533
Merge pull request #573 from filecoin-project/feat/mark-bad-chains
...
sync: Mark chains with bad blocks as bad too
2019-11-13 05:12:06 +09:00
Łukasz Magiera
73ab6c0c66
WorkerCount on storageminer config
2019-11-12 18:59:38 +01:00
Łukasz Magiera
2d8ad4a1de
sync: batching PersistHeaders
2019-11-12 11:18:46 +01:00
whyrusleeping
4321256992
fix retrieval protocol error by wrapping stream in peeker
2019-11-05 08:38:54 -08:00
Jakub Sztandera
3ea0997c93
Add support for different configs
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-30 17:38:39 +01:00
Łukasz Magiera
6d766ab241
Set e=3
2019-10-28 19:22:40 +01:00
Łukasz Magiera
237f8e8018
Set proving params matching the spec more closely
2019-10-28 17:51:45 +01:00
whyrusleeping
4890f577f5
give miners the ability to select different sector sizes
2019-10-25 17:26:15 +02:00
Łukasz Magiera
fabd074165
on chain deals: Deals make it to the chain
2019-10-23 19:39:14 +02:00
Jakub Sztandera
1bf713cb0a
Cleanup imports after rename
...
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-10-18 13:47:41 +09:00
Łukasz Magiera
2ce338e162
wip weight function
2019-10-15 14:31:34 +02:00
Łukasz Magiera
16a9ab875c
Prep for e=5
2019-10-15 14:31:34 +02:00
whyrusleeping
097e569792
remove not found log, its okay
2019-10-13 22:16:01 +09:00
whyrusleeping
85684ba7e2
don't add bad blocks to tipsetcache
2019-10-10 12:04:10 +09:00
Łukasz Magiera
b3a88a21ce
Merge pull request #299 from filecoin-project/feat/remove-vdfs
...
remove VDFs from tickets
2019-10-09 10:02:51 +02:00
whyrusleeping
19b16077fe
remove VDFs from tickets
2019-10-09 13:38:59 +09:00
whyrusleeping
68c1170250
compute signatures over msg cids instead of raw bytes
2019-10-09 10:32:08 +09:00
whyrusleeping
684e8e27fc
use proper const
2019-10-08 09:28:13 +09:00
whyrusleeping
0182b804a2
give syncer ability to deal with forked chains
2019-10-05 23:14:50 -06:00
whyrusleeping
5cb819b322
lots of cleanup, and finally a chain fork test case repro!
2019-10-05 21:32:56 -06:00
whyrusleeping
76ceb1f25a
a bit more hacking to make the test framework bend to my will
2019-10-05 17:18:39 -06:00
whyrusleeping
fca5a4765d
begin allowing test framework to generate forks
2019-10-05 10:04:58 -06:00
whyrusleeping
f15557649f
leave better rationale for the special case in TipSetState
2019-10-02 14:27:41 -06:00
whyrusleeping
c0e6e611be
clean up usage of stmgr.TipSetState
2019-10-02 14:03:27 -06:00
whyrusleeping
1419031f1e
switch to parent state roots
2019-10-01 15:21:01 -06:00
whyrusleeping
0a0a4d30aa
fix account balances to cover costs and collateral
2019-09-26 12:23:03 -07:00
Łukasz Magiera
9989454968
fix tests
2019-09-26 02:37:48 +02:00
Łukasz Magiera
4202da62cd
Merge pull request #216 from filecoin-project/feat/consensus-slashing
...
Feat/consensus slashing
2019-09-20 16:58:03 +02:00
Łukasz Magiera
9d36a499b6
post merge fixes
2019-09-20 14:22:46 +02:00