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

DHT Reproviding #2

Closed
Wondertan opened this issue Jun 4, 2021 · 3 comments
Closed

DHT Reproviding #2

Wondertan opened this issue Jun 4, 2021 · 3 comments

Comments

@Wondertan
Copy link
Member

celestiaorg/celestia-core#375 disables providing in Bitswap here. Unfortunately, this options also disables reproviding.

Reproviding is basically re-execution of providing. Another important conceptual part of DHT is that its entries are not persistent and cleaned up through time, thus there should be some logic that automatically renews entries on DHT.

As celestiaorg/celestia-core#375 disables it automatically we need to enable it manually. Luckily though, we can implement our own strategy for reproviding which only reprovides roots and not all the cids in blockstore, as IPFS excessively do.

Importantly, this is required for the network to work properly, otherwise recently proposed blocks won't be available after ~12 hours. Thus, this needs to be part of celestiaorg/celestia-core#381

@liamsi liamsi assigned Wondertan and unassigned Wondertan Jun 9, 2021
@liamsi
Copy link
Member

liamsi commented Jun 25, 2021

This is related to celestiaorg/celestia-core#394 (and also somewhat to celestiaorg/celestia-core#428) and the story around providing on received data and regular re-providing should be considered together.

@liamsi
Copy link
Member

liamsi commented Aug 16, 2021

Moving this issue over to the celestia-node as it might still be interesting to have it there for context.

@liamsi liamsi transferred this issue from celestiaorg/celestia-core Aug 16, 2021
@Wondertan
Copy link
Member Author

DHT Reproviding here is in the context of content or chain blocks. We all agree that DHT and its requirement for reproviding sharded data are not feasible at scale for our use case. Therefore, we can close this.

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

No branches or pull requests

2 participants