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

Add explicit IBD method to Swarm #204

Closed
longfin opened this issue Apr 16, 2019 · 0 comments

Comments

Projects
None yet
1 participant
@longfin
Copy link
Member

commented Apr 16, 2019

A simple initial block download(IBD) code was added through #187 and #190. however, this alone makes it difficult to know when the calling code(game) will download the block.

So I suggest to add an initialization method that assumes that it will be called before StartAsync(), and we'll do peer-dialing and block downloads here. we also need to tell the calling code how many blocks you have received and how many blocks you have received.

@longfin longfin added the suggestion label Apr 16, 2019

@longfin longfin self-assigned this Apr 16, 2019

longfin added a commit to longfin/libplanet.net that referenced this issue Apr 17, 2019

@longfin longfin closed this in 7924fe8 Apr 18, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.