Skip to content

Fix mnodeman.cs vs cs_vPendingMasternodes vs cs_main deadlock#2200

Merged
UdjinM6 merged 1 commit into
dashpay:developfrom
UdjinM6:fixdeadlock2
Oct 11, 2018
Merged

Fix mnodeman.cs vs cs_vPendingMasternodes vs cs_main deadlock#2200
UdjinM6 merged 1 commit into
dashpay:developfrom
UdjinM6:fixdeadlock2

Conversation

@UdjinM6
Copy link
Copy Markdown

@UdjinM6 UdjinM6 commented Jul 31, 2018

That's a circular one. Decouple cs_vPendingMasternodes from mnodeman.cs to fix the issue. Also drop deprecated/unused stuff in mnv preparation while at it.

Decouple cs_vPendingMasternodes from mnodeman.cs to fix the issue. Also drop deprecated/unused stuff in mnv preparation while at it.
@UdjinM6 UdjinM6 added the bug label Jul 31, 2018
@UdjinM6 UdjinM6 added this to the 12.4 milestone Jul 31, 2018
Copy link
Copy Markdown

@gladcow gladcow left a comment

Choose a reason for hiding this comment

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

utACK

Comment thread src/masternodeman.cpp
std::vector<CAddress> vAddr;

int nCount = 0;
{
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This brace does not appear to get closed... What am I missing?

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Yep, I tried to keep changes minimal here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I would think we should indent properly then. Personal preference I guess

Copy link
Copy Markdown

@codablock codablock left a comment

Choose a reason for hiding this comment

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

utACK

Copy link
Copy Markdown

@nmarley nmarley 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 b3fc236 into dashpay:develop Oct 11, 2018
CryptoCentric pushed a commit to absolute-community/absolute that referenced this pull request May 21, 2019
…y#2200)

Decouple cs_vPendingMasternodes from mnodeman.cs to fix the issue. Also drop deprecated/unused stuff in mnv preparation while at it.
@UdjinM6 UdjinM6 deleted the fixdeadlock2 branch November 26, 2020 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants