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

feat: Ipnisync #1731

Merged
merged 8 commits into from
Oct 3, 2023
Merged

feat: Ipnisync #1731

merged 8 commits into from
Oct 3, 2023

Conversation

LexLuthr
Copy link
Collaborator

@LexLuthr LexLuthr commented Oct 3, 2023

This PR merges the original PR #1638 with few config changes to the main

  • Remove the UI for graphsync retrievals in indexer page
Screenshot 2023-10-03 at 3 20 55 PM
  • Add last sync err and time to UI (Was already present)
Screenshot 2023-10-03 at 3 27 46 PM
  • Add lag to UI
Screenshot 2023-10-03 at 3 20 43 PM

gammazero and others added 3 commits September 26, 2023 12:31
* Use ipnisync with libp2phttp

* Add config to fall back to legacy data-transfer sync

* Update config doc

* Need to sync entries chain

* Fix expected error text in test case

* Fix lint warning

* Update comment

* Fork mplex since libp2p no longer supports it

* gostream relocated, deps updated

* update circle CI config to use latest version of go

* update libp2p

* Do not import car/v2 from boxo

* Update index-provider config

* Update to latest index-provider

* Update lotus, filecoin-ffi submodule, and lotus API parameter

* doc gen

* Update circle-ci image versions

* Fix itest

* cbor-gen

* Update circieci lid-docker-compose image

* Fix circieci image

* update circleci docker version

* update devnet golang docker image

* Upgrade devnet docker to ubuntu 22.04

* Update go-car

* Use lotus version [email protected]

- Update ipni dependencies

* rebase and mod tidy
@LexLuthr LexLuthr requested a review from dirkmc October 3, 2023 07:46
node/config/types.go Outdated Show resolved Hide resolved
@@ -0,0 +1,48 @@
package mplex
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we need to import all this code from the mplex library?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gammazero can answer that as he is the original author

gql/resolver_ipni.go Outdated Show resolved Hide resolved
react/src/Ipni.js Outdated Show resolved Hide resolved
@gammazero
Copy link
Collaborator

gammazero commented Oct 3, 2023

I imported that code because boost needs it, and it no longer exists in the version of libp2p that is needed in this PR (it is a deprecated package). So, instead of modifying boost not to use it, which I have no idea if it is still needed, I forked it from the latest libp2p version that still had it and put the code into boost.

@LexLuthr LexLuthr merged commit 7bfd724 into main Oct 3, 2023
21 checks passed
@LexLuthr LexLuthr deleted the ipnisync branch October 3, 2023 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants