Łukasz Magiera
1392dcc273
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-08 13:53:01 +01:00
Łukasz Magiera
86a22a3896
Merge pull request #1029 from filecoin-project/feat/mpoolpush-cid
...
mpool: Return CID in MpoolPush
2020-01-08 13:43:03 +01:00
whyrusleeping
897cf72933
Add command to mark given blocks as bad
2020-01-07 21:42:15 -08:00
Łukasz Magiera
a11e8093e5
mpool: Return CID in MpoolPush
2020-01-07 21:10:30 -08:00
Jakub Sztandera
f572cdea47
Fix logic, improve tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:58 +01:00
Jakub Sztandera
5e775929be
Cleanup handing and add tests
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:58 +01:00
Jakub Sztandera
65724133ea
Add tests
...
,
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:58 +01:00
Jakub Sztandera
a63c34a902
Handle faults in ss and pss correctly
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 23:03:18 +01:00
Jakub Sztandera
dbc729d049
Validate length of RLE
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-07 22:54:43 +01:00
Łukasz Magiera
7b134b8317
Merge pull request #1031 from filecoin-project/feat/block-message-limit
...
introduce a limit on the number of messages a block can have
2020-01-07 21:48:57 +01:00
Łukasz Magiera
22e9815928
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-07 21:45:30 +01:00
whyrusleeping
a109ae1490
introduce a limit on the number of messages a block can have
2020-01-07 12:41:26 -08:00
laser
841f9c3627
reorganize imports to pass linter
2020-01-07 08:23:12 -08:00
laser
20321bb476
handle rebase
2020-01-07 08:18:35 -08:00
acruikshank
7873213b11
switch sectorbuilder from lib to external module
...
point to correct version of sectorbuilder + ensure go-datastore stays at 0.1.1
replace local address type with go-address
consume paramfetch.GetParams instead of local paramfetch.go
remove constants now defined in sectorbuilder
2020-01-07 07:48:43 -08:00
Łukasz Magiera
97ae184d0a
Merge remote-tracking branch 'origin/master' into feat/testnet2
2020-01-07 15:06:35 +01:00
Łukasz Magiera
1e7f10e387
gofmt
2020-01-07 15:00:10 +01:00
hannahhoward
718acb0a86
refactor(cborutil): extract cborutil library
...
Use extracted cborutil library
2020-01-07 14:59:35 +01:00
hannahhoward
14ecd1929b
refactor(crypto): use extracted crypto library
2020-01-07 14:53:30 +01:00
hannahhoward
8418464d91
refactor(address): use extracted address library
...
Switch to using extracted address library
2020-01-07 14:53:27 +01:00
Łukasz Magiera
2635028933
Merge pull request #1024 from filecoin-project/fix/sizestr-overflow
...
Fix SizeStr index out of band
2020-01-07 14:30:15 +01:00
Łukasz Magiera
605562467d
Flatten fork code for testnet2
2020-01-06 19:39:57 +01:00
Jakub Sztandera
2d22f9c3d3
Fix SizeStr index out of band
...
add test for it
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-06 15:27:19 +01:00
whyrusleeping
dafad17a9b
also test fault values out of range
2019-12-20 20:04:38 -08:00
whyrusleeping
8098d23768
test to ensure that submitting bad faults doesnt cause an error
2019-12-20 20:02:18 -08:00
whyrusleeping
5d9d51ba2d
don't fail execution if the fault set contains an invalid sector ID
2019-12-20 19:33:11 -08:00
Łukasz Magiera
e3a22d2027
Fix withUpdates
2019-12-20 09:31:59 +01:00
Łukasz Magiera
ed3a2b0025
Set correct head in forkNoPowerEPS
2019-12-20 08:30:12 +01:00
Whyrusleeping
41aef3d2eb
Merge pull request #984 from filecoin-project/feat/tag-good-peers
...
Tag peers who send us good blocks over pubsub
2019-12-19 17:58:29 -08:00
Łukasz Magiera
ef3795ae3d
Merge pull request #988 from filecoin-project/fork/fix-no-power-eps
...
FORK: No power EPS Fix
2019-12-19 22:53:35 +01:00
Łukasz Magiera
f7604b84f7
Merge pull request #965 from filecoin-project/feat/no-fatal-serialization
...
make serialization error non-fatal
2019-12-19 22:04:27 +01:00
whyrusleeping
e5899f614a
Tag peers who send us good blocks over pubsub
2019-12-19 12:47:55 -08:00
Łukasz Magiera
6ce4cf12f7
Care about nullblocks in handleStateForks
2019-12-19 21:01:05 +01:00
Łukasz Magiera
d21e24c270
don't modify existing actor code
2019-12-19 20:38:50 +01:00
Łukasz Magiera
3f54cbabe0
FORK: No power EPS Fix
2019-12-19 19:47:25 +01:00
Łukasz Magiera
81233b894d
Implement 'chain get' for easier ipld digging
2019-12-19 17:58:02 +01:00
Łukasz Magiera
7fd31192d2
Merge pull request #964 from filecoin-project/feat/sb-faults
...
Wire up faults in fPoSt
2019-12-18 17:37:27 +01:00
whyrusleeping
897d4c7d24
make serialization error non-fatal
2019-12-17 19:41:58 -08:00
whyrusleeping
fda3811dcf
Update cbor-gen to latest master
2019-12-17 19:06:06 -08:00
Łukasz Magiera
2e95a53679
Wire up faults in fPoSt
2019-12-17 23:33:08 +01:00
whyrusleeping
3cb4a60db4
some log cleanup and an extra trace value
2019-12-17 14:15:51 -08:00
Whyrusleeping
31327a383f
Merge pull request #948 from filecoin-project/feat/sybill-fun
...
Basic sybill resistance mechanisms
2019-12-17 20:45:45 +01:00
whyrusleeping
6cb6167393
bump up filecoin related weights
2019-12-17 10:16:10 -08:00
Łukasz Magiera
4ea6305771
sync: Check bls aggregate early
2019-12-17 12:20:09 +01:00
whyrusleeping
7dcc528cd1
tag peers who propagate good blocks to us
2019-12-16 23:06:48 -08:00
whyrusleeping
022581d50b
add routine to tag miners peer IDs as high value in connection manager
2019-12-16 22:51:41 -08:00
whyrusleeping
28b470cb0d
blocksync tagging
2019-12-16 22:15:06 -08:00
whyrusleeping
4e4d6fb8de
parallelize bls message hashing for validation
2019-12-16 19:36:32 -08:00
Łukasz Magiera
3fda442bb3
Merge pull request #934 from filecoin-project/feat/sb-diskmgr
...
sectorbuilder: Check free space before creating sectors
2019-12-16 21:37:18 +01:00
Łukasz Magiera
3892e94bfe
Merge pull request #938 from filecoin-project/feat/load-tipset-cache
...
cache load tipset
2019-12-16 21:13:03 +01:00