Commit Graph

1806 Commits

Author SHA1 Message Date
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
249bd8389f Copy over last sector ID key when migrating sectorbuilder 2019-11-26 19:39:07 -06:00
Łukasz Magiera
407f6fa6f8 sync: correct vrfBase for ticket check 2019-11-26 23:54:11 +01:00
Łukasz Magiera
d5a632f644 sectorbuilder: Drop stateful sectorbuilder refs 2019-11-26 23:13:01 +01:00
Łukasz Magiera
8297feb1d3 Pass correct randomness to EPoSt Verification 2019-11-26 18:29:18 +01:00
Łukasz Magiera
fc72da1d0c chain: Pass correct prover to VerifyPost 2019-11-26 18:06:05 +01:00
Łukasz Magiera
23900964a1 Fix mixed up CommD/R in genesis creation 2019-11-26 17:35:37 +01:00
Łukasz Magiera
871c30d2a0 WIP trying to get election post to compute 2019-11-26 16:15:41 +01:00
Łukasz Magiera
72c7ec748f seed: Get params 2019-11-26 14:52:59 +01:00
Łukasz Magiera
86cd28fa7e sectorbuilder: Measure thigs in TestSealAndVerify 2019-11-26 13:29:42 +01:00
whyrusleeping
a98295a747 use the correct sector sizes in places 2019-11-25 20:43:43 -06:00
Łukasz Magiera
7a3ffbf9fe WIP getting post in sectorbuilder_test to work 2019-11-26 00:32:02 +01:00
Łukasz Magiera
2421f5d589 make: lotus-seed target 2019-11-25 23:25:33 +01:00
Łukasz Magiera
265b90e95b update parameters.json 2019-11-25 23:17:39 +01:00
Łukasz Magiera
df0be815ae More correct challangeCount calc 2019-11-25 17:18:11 +01: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
d57f048c2c reject blocks with nil signatures 2019-11-20 11:14:08 -06:00
whyrusleeping
c4564c0597 use proper round number, allow block signature to be nil 2019-11-20 10:54:10 -06:00
whyrusleeping
f8eabd3db4 Refactor mining logic to match specs ticket chain 2019-11-20 10:52:36 -06:00
Łukasz Magiera
d680dab52e
Merge pull request #647 from filcloud/fix/646-slice-empty
add empty slice check
2019-11-20 09:07:19 -06:00
wanghui
1c7b332bf0 add empty slice check 2019-11-20 16:47:24 +08:00
Łukasz Magiera
a5f79da05e
Merge pull request #637 from filecoin-project/feat/multiple-miners
Support multiple miners
2019-11-20 01:19:09 +01:00
Łukasz Magiera
ab8407fb43
Merge pull request #636 from filecoin-project/fix/reorg-ops-order
fix ordering of block applies in reorg ops
2019-11-20 01:09:53 +01:00
Jakub Sztandera
fe8a700a4f
Fix race in miner
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-19 17:21:54 -06:00
Łukasz Magiera
582f8f9a14 events: Fix Called handler 2019-11-19 23:07:58 +01:00
whyrusleeping
ba5effe1f6 don't swap order in tests anymore 2019-11-19 15:54:39 -06:00
Łukasz Magiera
35659af84d
Merge pull request #626 from filecoin-project/feat/chain-sync-manager
Implement chain sync manager
2019-11-19 22:35:19 +01:00
Jakub Sztandera
6dafca7aac
Use local type as ctx key
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-19 14:38:05 -06:00
Jakub Sztandera
eb9429a2e2
Merge pull request #639 from gguoss/patch-3
Delete redundant import
2019-11-19 14:25:02 -06:00
Łukasz Magiera
fccff23784
Merge pull request #641 from filecoin-project/feat/event-msg-matchers
Event msg matchers
2019-11-19 20:43:22 +01:00
Jakub Sztandera
463cdbb499
Make extra extra sure that we won't get slashed
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-19 13:36:03 -06:00
Łukasz Magiera
32aa574b8f Fix build 2019-11-19 17:17:26 +01:00
Łukasz Magiera
f52d9de4dd events: MatchFuncs for Called 2019-11-19 16:51:12 +01:00
Whyrusleeping
1cd584d81b
Update cli/sync.go 2019-11-19 09:24:17 -06:00
Łukasz Magiera
32b80f79e7
Merge pull request #630 from filcloud/fix/583-redownload-param-file
continue download param file
2019-11-19 14:30:03 +01:00
Łukasz Magiera
b6a8feb347
Merge pull request #624 from filcloud/fix/146-cleanup-miner-repo
clean up repo if miner init fail and use log
2019-11-19 14:26:49 +01:00
Łukasz Magiera
293961c919
Merge pull request #635 from filecoin-project/fix/authnew
Fix off-by-one bug in auth new
2019-11-19 13:58:45 +01:00
Łukasz Magiera
e34e7d386d Fix off-by-one bug in auth new 2019-11-19 13:58:07 +01:00
Łukasz Magiera
a3685a7c35
Merge pull request #623 from filcloud/sync-wait-exit
add sync wait cmd ctrl+c exit
2019-11-19 13:39:33 +01:00
Łukasz Magiera
448a0a63d8
Merge pull request #631 from filecoin-project/feat/fast-vm-sync
use fast cbor-gen method for extracting links from objects
2019-11-19 13:38:37 +01:00
Łukasz Magiera
7da78134c5
Merge pull request #633 from filecoin-project/audit/panics
Audit pass for blatantly wrong panics
2019-11-19 13:30:04 +01:00
郭光华
af09638ac6
Delete redundant import 2019-11-19 11:24:48 +08:00
Jakub Sztandera
6e1bee3f8a
fix typo
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-18 19:05:51 -06:00
Jakub Sztandera
bf556e2c99
Support multiple miners
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2019-11-18 15:59:31 -06:00
whyrusleeping
ccfa03138d fix ordering of block applies in reorg ops 2019-11-18 12:18:59 -06:00
wanghui
4c0a30784f fix typo 2019-11-18 11:00:31 +08:00
wanghui
6133ad886b add checkfile after dofetch and remove failed download file 2019-11-18 10:58:21 +08:00
whyrusleeping
0ccaa71545 fix stats tool 2019-11-17 15:29:56 -06:00