Commit Graph

1786 Commits

Author SHA1 Message Date
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
whyrusleeping
cac44367aa add batching to vm Copy call 2019-11-17 11:50:04 -06:00
whyrusleeping
9269c04b21 go mod tidy 2019-11-17 11:04:30 -06:00
whyrusleeping
98c888a630 address feedback 2019-11-17 11:00:45 -06:00
whyrusleeping
b77bb9e4aa Audit pass for blatantly wrong panics 2019-11-16 17:41:14 -06:00
whyrusleeping
86221f3569 sync wait waits until head is recent enough 2019-11-16 14:34:05 -08:00
whyrusleeping
43447ca1bf cleanup and add some tests 2019-11-16 13:36:21 -08:00
whyrusleeping
ab2e722811 use fast cbor-gen method for extracting links from objects 2019-11-16 11:24:11 -08:00
wanghui
78349a1e6e continue download param file 2019-11-16 19:52:50 +08:00
whyrusleeping
89fd13de9d clean up chain sync a little 2019-11-15 22:48:42 -08:00
wanghui
ba889391b5 update imports and path 2019-11-16 14:47:04 +08:00
Frank
c9714b1708
Update cmd/lotus-storage-miner/init.go
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
2019-11-16 14:16:18 +08:00
wanghui
0af9692072 use ctx.Done() to exit 2019-11-16 14:11:00 +08:00
whyrusleeping
251ff41134 plumb through new sync status logic 2019-11-15 17:05:16 -08:00
whyrusleeping
7aa76d21d1 It works! 2019-11-15 13:35:29 -08:00
Łukasz Magiera
eeec3c1783
Merge pull request #619 from gguoss/patch-2
Duplicate comment
2019-11-15 14:43:03 +01:00
Łukasz Magiera
4f60a075a1
Merge pull request #621 from filcloud/typo-fix
fix typo
2019-11-15 14:42:45 +01:00
Łukasz Magiera
01f6492f98
Merge pull request #622 from filcloud/fix-types-typo
fix types typo
2019-11-15 14:42:16 +01:00
wanghui
b28ce76e8a clean up repo if miner init fail and use log 2019-11-15 19:54:12 +08:00
wanghui
4f977d21ef add sync wait cmd ctrl+c exit 2019-11-15 16:54:32 +08:00
wanghui
a1e5d8f094 fix types typo 2019-11-15 16:19:06 +08:00