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

Load AddressManager asynchronously #1526

Merged
merged 1 commit into from Jun 1, 2019

Conversation

Projects
None yet
2 participants
@nopara73
Copy link
Collaborator

commented Jun 1, 2019

This gains 500ms in startup time, since the address manager loading happens now in parallel with other tasks.

The main takeaway here is that I copied Nicolas's NBitcoin code and changed 2 stream read operation from Read to ReadAsync.

@nopara73 nopara73 requested a review from lontivero Jun 1, 2019

@nopara73 nopara73 merged commit 7297fac into zkSNACKs:master Jun 1, 2019

4 checks passed

CodeFactor No issues found.
Details
Wasabi.Linux #20190601.11 succeeded
Details
Wasabi.Osx #20190601.12 succeeded
Details
Wasabi.Windows #20190601.11 succeeded
Details

@nopara73 nopara73 deleted the nopara73:addrmanasync branch Jun 1, 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.