-
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
Rep crawler overhaul #4449
Merged
dsiganos
merged 28 commits into
nanocurrency:develop
from
pwojcikdev:repcrawler-overhaul-2
Mar 8, 2024
Merged
Rep crawler overhaul #4449
dsiganos
merged 28 commits into
nanocurrency:develop
from
pwojcikdev:repcrawler-overhaul-2
Mar 8, 2024
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
pwojcikdev
force-pushed
the
repcrawler-overhaul-2
branch
from
February 28, 2024 12:42
9c10108
to
5cc8256
Compare
pwojcikdev
force-pushed
the
repcrawler-overhaul-2
branch
from
February 28, 2024 22:04
b2db447
to
5cc8256
Compare
dsiganos
reviewed
Mar 5, 2024
dsiganos
reviewed
Mar 6, 2024
I am trying to understand how multiple reps inside one node would be dealt.
|
@dsiganos Good catch, feel free to commit this testcase. I'll look into solving it. |
dsiganos
reviewed
Mar 7, 2024
Do not delete the query when a confirm_ack is received with the right vote. We might get more replies and we have no way of knowing how many will come. Just let the query timeout.
# Conflicts: # nano/lib/stats_enums.hpp # nano/lib/thread_roles.cpp # nano/lib/thread_roles.hpp
dsiganos
approved these changes
Mar 8, 2024
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
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.
Initial motivation for this PR was providing better control over rep crawler component lifetime and running its internal logic on a separate dedicated thread. In the process of working on it I made many smaller improvements that should make the logic clearer and less error prone.
Testing results provided by @gr0vity-dev show that performance is on par with current develop.