Skip to content

Prepare Dash-related stuff before starting ThreadImport #2800

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

Merged
merged 2 commits into from
Mar 25, 2019

Conversation

UdjinM6
Copy link

@UdjinM6 UdjinM6 commented Mar 22, 2019

We need activeMasternodeManager to be non-nullptr in ThreadImport (which can happen atm if main thread is too slow) when running in masternode mode. Otherwise activeMasternodeManager->Init() in loadblk thread will not run which means we won't send mnauth to other nodes (because activeMasternodeInfo.proTxHash.IsNull() == true) i.e. they won't recognise us as a MN and won't send contributions etc. which in its turn causes tests to fail.

Other Dash-related stuff seems to be not affected by the order of these things but it's probably better to keep them all together.

@UdjinM6 UdjinM6 added this to the 14.0 milestone Mar 22, 2019
Copy link

@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

@UdjinM6 UdjinM6 merged commit 29a9e24 into dashpay:develop Mar 25, 2019
@UdjinM6 UdjinM6 deleted the preparedashstuffearlier branch November 26, 2020 13:28
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