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

[Feature] persist DHT of bootnode #767

Closed
LeoHChen opened this issue Apr 24, 2019 · 3 comments
Closed

[Feature] persist DHT of bootnode #767

LeoHChen opened this issue Apr 24, 2019 · 3 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@LeoHChen
Copy link
Contributor

LeoHChen commented Apr 24, 2019

Checkout details about our Technical bounty program here:
https://github.com/harmony-one/harmony-open

Problem/limitation At Hand

The current bootnode doesn't persist DHT. So, if we restart the bootnode, the DHT will be lost. Since we are using DHT of libp2p, we need to find a way to save the DHT to disk.

Proposed Solution

Bootnode should save DHT automatically, and reload it the DHT if it exists. If you are familiar with libp2p, this may be an easy task. Some investigation is needed if not familiar with libp2p.

Alternatives Considered

A clear and concise description of any alternative solutions or features you've considered.

Additional Context

Add any other context or screenshots about the feature request here.

@LeoHChen LeoHChen added enhancement New feature or request good first issue help wanted Extra attention is needed labels Apr 24, 2019
@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 15000.0 HARBTY attached to it.

@touhonoob
Copy link
Contributor

depends on libp2p/go-libp2p-kad-dht#315

@gitcoinbot
Copy link

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Workers have applied to start work.

These users each claimed they can complete the work by 2 years, 3 months ago.
Please review their action plans below:

1) fillmore47 has applied to start work (Funders only: approve worker | reject worker).

I can test the app to make sure it makes sense for a user

Learn more on the Gitcoin Issue Details page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants