Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

Prevent all threads from using the same POW nonce. #37

Merged
merged 1 commit into from
Oct 20, 2016

Conversation

penguins-cymbals
Copy link

The nonce should be different for each thread, otherwise all threads are performing the exact same hash, which means effectively on a machine with N cores you were only actually performing 1 core's worth of work.
This should hopefully bring back some fairness in mining.

Since I'm giving up my unfair advantage, I hope this comes with a bug bounty from steemit and/or golos. Please PM 'penguin' in golos or steemit chat if so, so I can say where to issue it. :)

The nonce should be different for each thread, otherwise all threads are performing the exact same hash, which means effectively on a machine with N cores you were only actually performing 1 core's worth of work.
@mastercyb mastercyb added the now label Oct 20, 2016
@cyborgshead cyborgshead added bug important WIP work in progress (4 wip bot) labels Oct 20, 2016
@cyborgshead cyborgshead added this to the Next release milestone Oct 20, 2016
@cyborgshead cyborgshead self-assigned this Oct 20, 2016
@cyborgshead cyborgshead changed the base branch from master to develop October 20, 2016 21:05
@cyborgshead cyborgshead merged commit eb4babc into GolosChain:develop Oct 20, 2016
@cyborgshead cyborgshead removed the now label Oct 20, 2016
@cyborgshead
Copy link

  1. Merged to develop branch
  2. Need to analyze and test -> pay bounty to @penguins-cymbals

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug WIP work in progress (4 wip bot)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants