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

Connect to most recently updated address in ThreadOpenMasternodeConnections #2848

Merged
merged 5 commits into from
Apr 9, 2019

Conversation

codablock
Copy link

This fixes an issue where intra quorum connections from older LLMQs are tried on stale addresses. When a MNO issues update_service and changes the IP:port, we should connect to the updated IP:port even if the LLMQ internally uses older versions of the DMN object/state.

This also avoids connecting to masternodes which are not in the valid set anymore (banned or spent collateral).

…ctions

It's not a good idea to try to connect to an old address of a masternode.
This will also skip connection attempts when the masternode is not in the
valid set anymore (banned or collateral spent).
Not needed anymore as we retrieve the service/address of a masternode
on-the-fly in ThreadOpenMasternodeConnections.
Copy link

@UdjinM6 UdjinM6 left a comment

Choose a reason for hiding this comment

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

👍
utACK

@codablock codablock merged commit 2f84406 into dashpay:develop Apr 9, 2019
@codablock codablock deleted the pr_llmq_betterintraquorum branch April 9, 2019 11:55
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.

2 participants