Skip to content

Conversation

@denravonska
Copy link
Member

Remove the CPID thread and extend the cs_main lock in the miner.

This is only done on initialization and is a quick operation.
By removing the thread the rest of the implementation gets
simplified.
It was possible for the used data structures to be modified by the
block acceptor thread while used by the stake thread. This could
result in a crash, see gridcoin-community#865.
@tomasbrod
Copy link
Member

Running this PR and it passed right thru the 120 block. No crash when syncing, nor running. It may just been luck. -> #868

@denravonska denravonska merged commit 9a8ba9e into gridcoin-community:hotfix Jan 24, 2018
denravonska added a commit that referenced this pull request Jan 24, 2018
Fixed:
 - Fix crash when switching to new tally on block 1144120, #868 (@denravonska).
 - Fix crash when staking while tallying, #866 (@denravonska).
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