Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

port boost retrieve to main branch #1163

Merged
merged 2 commits into from
Feb 8, 2023
Merged

port boost retrieve to main branch #1163

merged 2 commits into from
Feb 8, 2023

Conversation

dirkmc
Copy link
Contributor

@dirkmc dirkmc commented Feb 7, 2023

TODO:

  • Test on devnet
$ ./boost retrieve --provider=t01000 bafk2bzacedsnewk7clxwab2wgwyoi7u5tzdhldx7fkxpqdq7unrxz2zoy4d2g
RETRIEVAL STATS (FIL)                                                                                                                           
-----
Size:          1000 (1000 B)
Duration:      1.010809035s
Average Speed: 989 (989 B/s)
Ask Price:     0 (0 FIL)
Total Payment: 0 (0 FIL)
Num Payments:  0
Peer:          12D3KooWA5qtXzRh7gY4xeJchHgKqUNpZpe6CzyGK4c7V8M3Xiub
Saved output to bafk2bzacedsnewk7clxwab2wgwyoi7u5tzdhldx7fkxpqdq7unrxz2zoy4d2g

nonsense and others added 2 commits February 7, 2023 16:59
* boost retrieve cmd -- heavily based on filclient

* go mod tidy

* setup config dir to .boost-client

* check that miners exists

* simplify

* simplify again

* remove redundant keystore

* refactor parse

* refactor

* remove ipfs network code

* remove more

* remove get ask

* remove unused methods

* remove more redundant code

* refactor

* remove more storage market references

* try to remove paych and msgpusher

* lint

* remove bitswap and dht

* remove libp2p transfer manager

* remove parsing of multiple miners

* initial removal of attempt/candidate/etc.

* add progress bar

* fixup

* Update cli/node/node.go

Co-authored-by: dirkmc <dirkmdev@gmail.com>

* remove unused method

* Update cmd/boost/retrieve_cmd.go

Co-authored-by: dirkmc <dirkmdev@gmail.com>

* remove lp2pdtconfig

* remove TransferStatus ; remove ChannelState

* remove Balance and CheckChainDeal

* remove unused methods

* move package to retrievalmarket/client

* remove more unused code

* remove rep

* remove more unused code

* remove more unused code

* remove more unused code

* remove Balance struct

* remove errors

* move ctx

---------

Co-authored-by: dirkmc <dirkmdev@gmail.com>
@dirkmc dirkmc force-pushed the feat/boost-retrieve branch from 6152e8c to e602e89 Compare February 7, 2023 16:01
@dirkmc dirkmc marked this pull request as ready for review February 8, 2023 11:15
@dirkmc dirkmc merged commit ba5f5e2 into main Feb 8, 2023
@dirkmc dirkmc deleted the feat/boost-retrieve branch February 8, 2023 13:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants