Łukasz Magiera
|
4ee2fc4d9f
|
chain: call unsub in Incoming* methods
|
2019-11-20 17:47:44 +01:00 |
|
Łukasz Magiera
|
d3b980ef58
|
api.SyncIncomingBlocks
|
2019-11-20 17:47:44 +01:00 |
|
Łukasz Magiera
|
f40a1afac8
|
chainwatch: store mpool message additions
|
2019-11-20 17:45:02 +01:00 |
|
Łukasz Magiera
|
1f913b8df2
|
api.MpoolSub
|
2019-11-20 17:45:02 +01:00 |
|
Łukasz Magiera
|
8ac65cde80
|
api.StateLookupID
|
2019-11-20 17:45:02 +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 |
|
Ł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
|
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 |
|
Ł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 |
|
郭光华
|
af09638ac6
|
Delete redundant import
|
2019-11-19 11:24:48 +08:00 |
|
whyrusleeping
|
ccfa03138d
|
fix ordering of block applies in reorg ops
|
2019-11-18 12:18:59 -06:00 |
|
whyrusleeping
|
cac44367aa
|
add batching to vm Copy call
|
2019-11-17 11:50:04 -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
|
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 |
|
whyrusleeping
|
89fd13de9d
|
clean up chain sync a little
|
2019-11-15 22:48:42 -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 |
|
whyrusleeping
|
1d81c53f8f
|
getting closer, squashme
|
2019-11-14 22:15:31 -08:00 |
|
whyrusleeping
|
4bc523e6b4
|
more wip, squashme
|
2019-11-14 22:15:31 -08:00 |
|
whyrusleeping
|
9e4b3ae88a
|
WIP: implement chain sync manager and concurrent sync
|
2019-11-14 22:15:30 -08:00 |
|
Whyrusleeping
|
52a05c3d0e
|
Merge pull request #615 from filecoin-project/misc/clean-error
Don't use pkg/errors
|
2019-11-14 21:07:58 -08:00 |
|
whyrusleeping
|
c9a5d974c1
|
drop message nonce message down to a warning
|
2019-11-14 19:26:13 -08:00 |
|
whyrusleeping
|
797d92b463
|
persist blocks as they come in
|
2019-11-14 19:19:16 -08:00 |
|
Jakub Sztandera
|
432706bd09
|
Don't use pkg/errors
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2019-11-15 02:40:16 +01:00 |
|
Łukasz Magiera
|
5381d10fe3
|
StateAPI: account for slashing in StateMinerPower
|
2019-11-15 02:01:53 +01:00 |
|
Łukasz Magiera
|
004f647504
|
Merge pull request #597 from filecoin-project/feat/simple-power-slash
Simple power slashing
|
2019-11-15 01:14:20 +01:00 |
|
Łukasz Magiera
|
f8e3c1774f
|
Merge pull request #611 from filecoin-project/fix/dup-tipset
Check if miner is included twice in tipset
|
2019-11-15 01:07:13 +01:00 |
|
Jakub Sztandera
|
c54b28a419
|
Check if miner is included twice in tipset
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2019-11-15 01:01:00 +01:00 |
|
Łukasz Magiera
|
d40f5a36da
|
Catch up on null blocks in CheckProofSubmissions call
|
2019-11-15 00:55:05 +01:00 |
|
Łukasz Magiera
|
e0089218a1
|
Review fixes
|
2019-11-15 00:23:07 +01:00 |
|
Jakub Sztandera
|
9f3b5bfb6e
|
Fix Marshaling of TipSetKey
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2019-11-14 21:33:56 +01:00 |
|
Łukasz Magiera
|
b9bd3e2030
|
Unhack TestStorageMarketCreateAndSlashMiner
|
2019-11-14 21:26:30 +01:00 |
|
Jakub Sztandera
|
63edea510e
|
Fix ValidateBlock ignoring errors
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2019-11-14 19:41:40 +01:00 |
|
Łukasz Magiera
|
dbdf120746
|
townhall: Send nonces
|
2019-11-14 17:37:22 +01:00 |
|
Łukasz Magiera
|
e9631601e3
|
Fix the rest of power slashing issues
|
2019-11-14 17:23:22 +01:00 |
|
Łukasz Magiera
|
f4fc3bcc29
|
Fix most power slashing issues
|
2019-11-14 12:56:17 +01:00 |
|
郭光华
|
dd439e0af8
|
Keep the context consistent
|
2019-11-14 14:34:54 +08:00 |
|
Jakub Sztandera
|
fa023f68e3
|
Flexible repub timer
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2019-11-14 01:36:12 +01:00 |
|
Łukasz Magiera
|
2dd155e9e9
|
Make basic slashing work
|
2019-11-14 01:02:24 +01:00 |
|
Łukasz Magiera
|
7363ec714a
|
chain: make tests pass after slashing changes
|
2019-11-14 00:35:58 +01:00 |
|
Łukasz Magiera
|
0241e31129
|
chain: wire CheckProofSubmissions to computeTipSetState
|
2019-11-14 00:14:11 +01:00 |
|
Łukasz Magiera
|
e48949b41f
|
chain: cbor-gen
|
2019-11-14 00:04:13 +01:00 |
|
Łukasz Magiera
|
05f157554f
|
actors: IsMiner -> IsValidMiner
|
2019-11-14 00:00:11 +01:00 |
|
Jakub Sztandera
|
c1ebb72824
|
Return all messages
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2019-11-13 23:43:44 +01:00 |
|
Jakub Sztandera
|
2bc5ccab04
|
Add repub for local messages
License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
|
2019-11-13 23:43:16 +01:00 |
|
Łukasz Magiera
|
e094ace303
|
actors: CheckMiner methods on Miner/Power actors
|
2019-11-13 23:40:51 +01:00 |
|
Łukasz Magiera
|
6b398cba74
|
actors: UpdateStorage now manages proving buckets
|
2019-11-13 22:16:17 +01:00 |
|
Łukasz Magiera
|
4f9947a27b
|
Merge pull request #567 from filecoin-project/anorth/tskey
Add TipSetKey as a concatenation of block CIDs, and use if for ChainGetTipSet, ChainGetRandomness.
|
2019-11-13 22:07:24 +01:00 |
|
Łukasz Magiera
|
37c0967fa8
|
Merge pull request #595 from filecoin-project/feat/small-fixes
Bunch of small fixes / improvements, gofmt
|
2019-11-13 19:15:50 +01:00 |
|
Łukasz Magiera
|
8f0e3ede24
|
Bunch of small fixes / improvements, gofmt
|
2019-11-13 15:48:57 +01:00 |
|
Łukasz Magiera
|
77667d78ff
|
Merge pull request #586 from filecoin-project/feat/more-tracing-again
more tracing spans
|
2019-11-13 11:42:36 +01:00 |
|
whyrusleeping
|
86624c8ed4
|
fix tests and add some more trace attributes
|
2019-11-12 22:44:29 -08:00 |
|
anorth
|
14c2ee56f6
|
Add JSON marshalling and optimize decoding pre-allocation to use expected (rather than min) CID length
|
2019-11-13 15:26:51 +11:00 |
|
anorth
|
36d57385ab
|
Upgrade go-cid and drop superfluous envelope bytes in TipSetKey
|
2019-11-13 15:26:51 +11: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
|
b14426f7d3
|
track number of tickets
|
2019-11-12 12:52:40 -08:00 |
|
Whyrusleeping
|
8ecc087ffb
|
Merge pull request #539 from filecoin-project/frrist/chainval-transfer-value
first pass at integrating chain-validation
|
2019-11-13 05:51:02 +09:00 |
|
whyrusleeping
|
9e464a4b90
|
more tracing spans
|
2019-11-12 12:42:22 -08: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 |
|
frrist
|
6545c20666
|
fixup! first pass at integrating chain-validation
|
2019-11-12 11:23:59 -08:00 |
|
anorth
|
60a19a1155
|
first pass at integrating chain-validation
|
2019-11-12 11:06:16 -08:00 |
|
Łukasz Magiera
|
73ab6c0c66
|
WorkerCount on storageminer config
|
2019-11-12 18:59:38 +01:00 |
|
Łukasz Magiera
|
a9861e116b
|
bolcksync: set message in 203 response
|
2019-11-12 12:45:25 +01:00 |
|
Łukasz Magiera
|
3a1c73a2b1
|
mpool: Fix RecoverSig type cast
|
2019-11-12 12:42:19 +01:00 |
|
Łukasz Magiera
|
2d8ad4a1de
|
sync: batching PersistHeaders
|
2019-11-12 11:18:46 +01:00 |
|
Łukasz Magiera
|
a6135b62ce
|
sync: Mark chains with bad blocks as bad too
|
2019-11-12 11:04:17 +01:00 |
|
Łukasz Magiera
|
f6d5d3fe5f
|
mpool: Remove todo
|
2019-11-12 11:00:58 +01:00 |
|
whyrusleeping
|
a702a5678c
|
cache bls signatures for later recovery during forks
|
2019-11-11 23:16:42 -08:00 |
|
Łukasz Magiera
|
aafccaf021
|
Merge pull request #488 from filecoin-project/feat/dt-skeleton
Data Transfer Integration For Storage Deals (w/ Skeleton Module)
|
2019-11-11 22:52:23 +01:00 |
|
hannahhoward
|
311556346e
|
refactor(datatransfer): implement style fixes
implement style fixes suggested by Magic6k
|
2019-11-11 13:02:49 -08:00 |
|
hannahhoward
|
4b3bab371b
|
refactor(deals): move type instantiation to modules
Move all type instantiation to dtypes & modules for any type unique to provider/client
|
2019-11-11 12:51:28 -08:00 |
|
Łukasz Magiera
|
30888e754b
|
Merge pull request #466 from filecoin-project/feat/async-validateblk
sync: Do some things in parallel in ValidateBlock
|
2019-11-11 21:41:44 +01:00 |
|
hannahhoward
|
ccfc3c5b19
|
refactor(datatransfer): move registrations to builder
move registration function for validators to builder code
|
2019-11-11 12:25:19 -08:00 |
|
Łukasz Magiera
|
3c2cbb04c9
|
townhall: Display more timing info
|
2019-11-11 21:13:14 +01:00 |
|
whyrusleeping
|
4b134f0d21
|
add time of block acceptance to townhall
|
2019-11-11 21:12:26 +01:00 |
|
Łukasz Magiera
|
b72463e6fc
|
mod tidy
|
2019-11-11 21:12:06 +01:00 |
|
Hannah Howard
|
b9ea6354fa
|
Update chain/deals/types.go
Co-Authored-By: Łukasz Magiera <magik6k@users.noreply.github.com>
|
2019-11-11 12:08:15 -08:00 |
|
hannahhoward
|
1532533712
|
style(formatting): run go fmt
|
2019-11-11 11:55:25 -08:00 |
|
Łukasz Magiera
|
eaddb8abe8
|
sync: use muliterror in ValidateBlock
|
2019-11-11 20:30:49 +01:00 |
|
Łukasz Magiera
|
d9fe9a6ea4
|
sync: Post merge fixes
|
2019-11-11 20:26:14 +01:00 |
|
hannahhoward
|
dcb35d90df
|
fix(datatransfer): rebase fixes
Fixes after rebase on interactive porep
|
2019-11-11 11:07:15 -08:00 |
|
hannahhoward
|
ca5032937c
|
refactor(datatransfer): xerrors, cbor-gen, tweaks
Various refactors per PR comments: use xerrors, add context to dt calls, use cbor-gen, move files
into seperate modules, etc
|
2019-11-11 11:07:15 -08:00 |
|
hannahhoward
|
d0b705705f
|
refactor(datatransfer): add comments, renames
minor name changes and additional comments to clarify how data transfer works
|
2019-11-11 11:07:15 -08:00 |
|
hannahhoward
|
905259e192
|
feat(datatransfer): integration w/ simple merkledag
Integrates the data transfer module with a mock version of the module that just calls the dag
service
|
2019-11-11 11:07:15 -08:00 |
|
hannahhoward
|
98cf0769ff
|
feat(datatransfer): request valdiators for storage
Add request validators that will work by default for storage deals
|
2019-11-11 11:07:15 -08:00 |
|
Łukasz Magiera
|
6fe5921bb6
|
Merge remote-tracking branch 'origin/master' into feat/async-validateblk
|
2019-11-11 18:44:45 +01:00 |
|
whyrusleeping
|
dbc706b846
|
handle marking blocks as bad better
|
2019-11-10 15:06:06 -08:00 |
|
whyrusleeping
|
c74f87fd51
|
split files, implement peer tracker
|
2019-11-10 11:33:08 -08:00 |
|
whyrusleeping
|
904fdad4c6
|
extract blocksync into its own package
|
2019-11-09 15:00:22 -08:00 |
|
whyrusleeping
|
bda6d7e119
|
Don't try syncing to a chain if its not clearly heavier
|
2019-11-09 12:14:40 -08:00 |
|
Łukasz Magiera
|
814e01cc05
|
gofmt
|
2019-11-09 01:18:32 +01:00 |
|
Łukasz Magiera
|
28367c5ba1
|
Merge pull request #515 from steven004/weight
minor weight function change
|
2019-11-09 01:04:50 +01:00 |
|
Łukasz Magiera
|
ee2cf48566
|
Merge pull request #513 from steven004/Refactor-PowerCmp
Refactor the PowerCmp function
|
2019-11-09 00:59:10 +01:00 |
|