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

Improve dao node domain #6418

Merged
merged 5 commits into from
Nov 26, 2022

Conversation

HenrikJannsen
Copy link
Collaborator

No description provided.

Rename to expectedInitialDataResponses as we compare with numInitialDataResponses.
Add comment to make it more clear how its used.
Let the LiteNode increment only if getBlocks get called (e.g. blocks are missing).

Signed-off-by: HenrikJannsen <[email protected]>
Improve toString methods
Rename var for more clear meaning

Signed-off-by: HenrikJannsen <[email protected]>
It had no consequences as it was only used for info logging

Signed-off-by: HenrikJannsen <[email protected]>
We repeat with a quadratically increasing delay 5 times, then we give up.
In the previous code we repeated forever which could be risky in case that
code branch is called unexpectedly.

Signed-off-by: HenrikJannsen <[email protected]>
Improve toString methods

Signed-off-by: HenrikJannsen <[email protected]>
@HenrikJannsen HenrikJannsen marked this pull request as ready for review November 18, 2022 02:44
Copy link
Member

@sqrrm sqrrm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK

@sqrrm sqrrm merged commit b10881f into bisq-network:master Nov 26, 2022
@HenrikJannsen HenrikJannsen deleted the improve-dao-node-domain branch November 27, 2022 22:24
@ripcurlx ripcurlx added this to the v1.9.7 milestone Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants