-
Notifications
You must be signed in to change notification settings - Fork 787
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add the ascending bootstrap client #4158
Merged
clemahieu
merged 5 commits into
nanocurrency:develop
from
clemahieu:bootstrap_ascending_client
Mar 14, 2023
Merged
Add the ascending bootstrap client #4158
clemahieu
merged 5 commits into
nanocurrency:develop
from
clemahieu:bootstrap_ascending_client
Mar 14, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
clemahieu
force-pushed
the
bootstrap_ascending_client
branch
from
March 1, 2023 12:31
8901ab5
to
a29e4b2
Compare
clemahieu
force-pushed
the
bootstrap_ascending_client
branch
6 times, most recently
from
March 6, 2023 10:54
0ae674f
to
077538e
Compare
thsfs
added
the
major
This item indicates the need for or supplies a major or notable change
label
Mar 6, 2023
clemahieu
force-pushed
the
bootstrap_ascending_client
branch
from
March 8, 2023 02:13
077538e
to
822e90a
Compare
clemahieu
force-pushed
the
bootstrap_ascending_client
branch
5 times, most recently
from
March 14, 2023 22:04
7d55ced
to
095df2c
Compare
With the ascending bootstrap process the number of blocks needing to be tracked can be limited and remain in memory. The maximum number of blocks is set to 64k though typically far fewer are actually needed. Co-authored-by: Piotr Wójcik <3044353+pwojcikdev@users.noreply.github.com> Co-authored-by: gr0vity-dev <85646666+gr0vity-dev@users.noreply.github.com>
- Pulls blocks in an ascending order making use of network messages added in v24. - Since blocks need to be inserted in an ascending order, this greatly decreases the number of unchecked blocks needing to be tracked. - The client uses a priority-weighted tracing algorithm to pull successive iterations of blocks from peers. Co-authored-by: Piotr Wójcik <3044353+pwojcikdev@users.noreply.github.com> Co-authored-by: gr0vity-dev <85646666+gr0vity-dev@users.noreply.github.com>
Co-authored-by: Piotr Wójcik <3044353+pwojcikdev@users.noreply.github.com> Co-authored-by: gr0vity-dev <85646666+gr0vity-dev@users.noreply.github.com>
Co-authored-by: Piotr Wójcik <3044353+pwojcikdev@users.noreply.github.com> Co-authored-by: gr0vity-dev <85646666+gr0vity-dev@users.noreply.github.com>
Co-authored-by: Piotr Wójcik <3044353+pwojcikdev@users.noreply.github.com> Co-authored-by: gr0vity-dev <85646666+gr0vity-dev@users.noreply.github.com>
clemahieu
force-pushed
the
bootstrap_ascending_client
branch
from
March 14, 2023 22:28
095df2c
to
2807cee
Compare
thsfs
added
the
documentation
This item indicates the need for or supplies updated or expanded documentation
label
May 22, 2023
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
documentation
This item indicates the need for or supplies updated or expanded documentation
major
This item indicates the need for or supplies a major or notable change
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This branch adds the ascending bootstrap client to the nano node. The associated server components and network messages were added in V24.
The client is an improvement in several categories compared to the legacy version.
The client uses a priority-weighted tracing algorithm to pull successive iterations of blocks from peers.
The overall time from 0 blocks to a full block count has been significantly reduced.