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

fix: fine tune RandomX algo minimum difficulty #46

Merged

Conversation

ksrichard
Copy link
Collaborator

Description

Fine tuned RandomX calculated difficulty to let anybody with a normal desktop could submit shares.

Motivation and Context

On a normal desktop it was not really possible to get a share using RandomX algorithm because of the difficulty we used (minimum difficulty is used from constants for all network if the calculated one is too low).

How Has This Been Tested?

Running this version of p2pool with Tari Universe.

Test device: Macbook Pro, M1 Pro CPU
Results:

  • using ECO mode (around 820 Hashes/sec) I was able to submit around 1 block/3 minutes
  • using Ludicrous mode (around 2000 hashes/sec) produces around 1 block/1 minute (sometimes 2 blocks/1 minute)

What process can a PR reviewer use to test or verify this change?

See test.

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify - P2pool needs to be updated on all universe instances

@ksrichard ksrichard enabled auto-merge September 17, 2024 12:49
@stringhandler stringhandler merged commit a2ab7c0 into tari-project:development Sep 18, 2024
10 of 11 checks passed
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