Commit Graph

2864 Commits

Author SHA1 Message Date
hannahhoward
65ecb33630 feat(storagemarket): extract storage market
remove all shared components, point at go-fil-components repo
2020-01-10 09:49:07 -08:00
hannahhoward
0a4eeb7cb1 refactor(retrievalmarket): switch to go-fil-markets repo
Switch go-fil-components to go-fil-markets
2020-01-10 09:13:12 -08:00
Łukasz Magiera
469136ee86
Merge pull request #1040 from filecoin-project/feat/fork-signaling
Add fork signaling to blockheader
2020-01-10 13:33:29 +01:00
hannahhoward
ccf359d057 feat(retrieval): extract retrievalmarket
Extract retrieval market and modify shared types
2020-01-09 19:46:07 -08:00
Łukasz Magiera
d6b0648610
Merge pull request #951 from filecoin-project/feat/storage-market-skeleton
Storage Market: Draw clean interfaces and node boundaries around storage market
2020-01-10 03:58:39 +01:00
hannahhoward
da4528932a feat(storagemarket): initial extraction
Types for storage market

Modify deals.Provider to implement storagemarket.StorageProvider

Inject storagemarket.StorageProvider

Storage Provider interfaces

Storage Client interfaces

Add ValidatePublishedDeal to ClientNodeAdapter

Remove FundManager from client

Remove Wallet from client

Remove StateManager, Events, Wallet from client

Rebasing

- Copy types.BigInt, use TokenAmount/BigInt for token amounts
- Remove auto-imported log package
- Move `checkAskSignature` to a client file.
- Plumb contexts through

fix(storagemarket): use publish cids

Switch back to publish message cids to reduce the dependency surface area
2020-01-10 03:29:46 +01:00
Łukasz Magiera
5f460b380d
Merge pull request #1045 from filecoin-project/feat/mock-sectorbuilder
WIP: implement mock sectorbuilder for easier storage miner testing
2020-01-10 01:33:43 +01:00
Łukasz Magiera
55f76f19d3
Merge pull request #1051 from filecoin-project/feat/self-deal-no-sig
don't require signatures for self deals
2020-01-10 01:25:06 +01:00
Łukasz Magiera
0bafc00b52
Merge pull request #1052 from filecoin-project/feat/coverage-integration
Renable codecov, improve CI
2020-01-10 01:21:53 +01:00
Jakub Sztandera
d309b56ad6
Codecov ignore cbor gen
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-09 23:52:44 +01:00
whyrusleeping
6c9289df0a don't require signatures for self deals 2020-01-09 14:18:06 -08:00
Jakub Sztandera
a82a0769fa
Disable buildall on macos (it takes forever)
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-09 23:13:07 +01:00
Jakub Sztandera
61849ef7ea
Enable codecov
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-09 23:12:33 +01:00
Jakub Sztandera
960b6012c2
Count coverage of integration tests
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-09 22:53:41 +01:00
Łukasz Magiera
da2a11ed76 Event-based state machine 2020-01-09 22:23:31 +01:00
Łukasz Magiera
f0f8d83980
Merge pull request #826 from filecoin-project/feat/retrieval-market-skeleton
Retrieval Market Cleanup W/ Node Interfaces
2020-01-09 22:06:46 +01:00
whyrusleeping
45e576addf mod tidy 2020-01-09 12:59:37 -08:00
whyrusleeping
7534ac1e1a add ability to control seal operations completion time 2020-01-09 12:50:45 -08:00
whyrusleeping
bda85e4097 more features, better locking 2020-01-09 11:23:42 -08:00
whyrusleeping
5e16aab51b fix tests, expand interfaces a little 2020-01-09 10:28:14 -08:00
Jakub Sztandera
f572d9735d
Merge pull request #1049 from filecoin-project/fix/sb-ds-prefix
Pass correct datastore into sectorbuilder
2020-01-09 15:33:15 +01:00
Łukasz Magiera
fac47bfc54 Pass correct datastore into sectorbuilder 2020-01-09 14:23:44 +01:00
whyrusleeping
cc56389dbb attempt to fix the DI loading, still not working 2020-01-08 20:51:18 -08:00
whyrusleeping
60969c69a7 implement a mocked out sectorbuilder, probably not useful yet 2020-01-08 20:27:14 -08:00
hannahhoward
99309ec0dc fix(retrievalmarket): add mutex for subscribers
Add a mutex to protect access to the subscriber list for retrieval market
2020-01-08 19:46:11 -08:00
whyrusleeping
d08898ef37 make storage miner acccept an interface to the sectorbuilder 2020-01-08 17:10:17 -08:00
Łukasz Magiera
b7e35ae3ed
Merge pull request #1042 from filecoin-project/feat/limit-seal-proof-lookback
Set hard limit on maximum randomness lookback for seal proof submissions
2020-01-09 01:14:46 +01:00
whyrusleeping
7ba34535b7 Set hard limit on maximum randomness lookback for seal proof submissions 2020-01-08 14:43:03 -08:00
Łukasz Magiera
8cbcbbd7a4 Merge branch 'feat/testnet2' of github.com:filecoin-project/go-lotus into feat/testnet2 2020-01-08 22:44:54 +01:00
Łukasz Magiera
36a5c7d8f5 Merge branch 'master' into feat/testnet2 2020-01-08 22:38:45 +01:00
hannahhoward
5b74a71dd3 feat(retrievalmarket): extract skeleton interfaces
Define all types to spec, modify interfaces, wrap old code

fix(builder): use client blockstore for retrieval

feat(retrieval): add node implementations

add node adapters for client & provider so that retrieval can be extracted
2020-01-08 12:45:43 -08:00
Łukasz Magiera
716b2a4bcb
Merge pull request #1041 from filecoin-project/fix/paramsjson-embed
paramfetch: bring parameters.json back to this repo
2020-01-08 21:41:32 +01:00
Łukasz Magiera
13c8fe3fb3 mod tidy 2020-01-08 21:31:44 +01:00
Łukasz Magiera
da38822dfd paramfetch: bring parameters.json back to this repo 2020-01-08 21:31:35 +01:00
Łukasz Magiera
f36d81070b mod tidy 2020-01-08 21:15:55 +01:00
Jakub Sztandera
959b725ab6
Merge pull request #1038 from filecoin-project/feat/new-golog
Update go-log to v2
2020-01-08 20:41:55 +01:00
Łukasz Magiera
3891f015d7
Merge pull request #1039 from filecoin-project/feat/secpk-default
switch default key type to secp256k1
2020-01-08 20:40:08 +01:00
Jakub Sztandera
8cfb4aafcd
Add fork signaling to blockheader
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:31:08 +01:00
whyrusleeping
6ce9a7f225 switch default key type to secp256k1 2020-01-08 11:24:18 -08:00
Jakub Sztandera
1ed62628a7
Update go-log to v2
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:22:31 +01:00
Jakub Sztandera
b5328d01cf
Update to go-log v1.0.1
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 20:20:56 +01:00
Jakub Sztandera
72a62d49b3
Merge pull request #1037 from filecoin-project/feat/badger2
Update to badger v2
2020-01-08 20:20:11 +01:00
Jakub Sztandera
886898b137
Update to badger v2
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 19:56:45 +01:00
Łukasz Magiera
a9ca6d4065 Merge branch 'master' into feat/chainwatch-pg 2020-01-08 18:50:58 +01:00
Jakub Sztandera
00683549ae
Merge pull request #1036 from filecoin-project/feat/v0.1.6
v0.1.6
2020-01-08 18:44:49 +01:00
Łukasz Magiera
f32bacb32d v0.1.6 2020-01-08 18:42:19 +01:00
Łukasz Magiera
5a12d60c6f
Merge pull request #1035 from filecoin-project/fix/rle-count
Verify RLE+ counts
2020-01-08 18:41:06 +01:00
Jakub Sztandera
f627ff2383
Verify RLE+ counts
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2020-01-08 18:30:13 +01:00
Łukasz Magiera
79028397ad chainwatch: sync in batches 2020-01-08 17:29:46 +01:00
Łukasz Magiera
1b5e1c4753 gofmt 2020-01-08 15:18:30 +01:00