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

Stop tracking interested/participating nodes and send/announce to MNAUTH peers #2798

Merged
merged 5 commits into from
Mar 22, 2019

Conversation

codablock
Copy link

With the introduction of MNAUTH we also introduced an optimization to not connect to quorum members when there is already an incoming connection from the same member. This however results in DKGs messages and sig shares not being sent to these nodes. This is also the reason for recent test failures.

This PR makes the DKG and sig shares manager take all MNAUTHed connections into account. This also included incoming connections from other members. At the same time, this removes the need for the tracking of participating/interested nodes, which this PR now also removes.

…roRegTxHash

This makes IsMasternodeQuorumNode return true on incoming peer connections
as well.
This makes it return NodeIds for incoming peer connections as well.
This was needed in the past when we were unable to identify incoming
connections from other quorum members. Now that we have MNAUTH, we can
easily identify all connected members.
Same as with the previous commit, we're now able to easily identify which
nodes to announce sig shares to.
@UdjinM6 UdjinM6 added this to the 14.0 milestone Mar 22, 2019
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

@UdjinM6 UdjinM6 merged commit 15c720d into dashpay:develop Mar 22, 2019
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.

None yet

2 participants