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

feat: wip randomx miner #6508

Closed
wants to merge 32 commits into from

Conversation

brianp
Copy link
Contributor

@brianp brianp commented Aug 29, 2024

Description

Provide a randomx miner.

Motivation and Context

Don't have it flagged as malware when shipping.

How Has This Been Tested?

NA

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

Breaking Changes

  • None
  • Requires data directory on base node to be deleted
  • Requires hard fork
  • Other - Please specify

Copy link

github-actions bot commented Aug 29, 2024

Test Results (CI)

    3 files    129 suites   37m 41s ⏱️
1 308 tests 1 308 ✅ 0 💤 0 ❌
3 922 runs  3 922 ✅ 0 💤 0 ❌

Results for commit 4cb9058.

♻️ This comment has been updated with latest results.

@ghpbot-tari-project ghpbot-tari-project added P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged labels Aug 29, 2024
Copy link

github-actions bot commented Aug 29, 2024

Test Results (Integration tests)

 2 files  11 suites   24m 9s ⏱️
36 tests 35 ✅ 0 💤 1 ❌
37 runs  36 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit f045a14.

♻️ This comment has been updated with latest results.

@brianp brianp force-pushed the bp-feat-randomx-miner branch from 063de3b to 289ad9a Compare September 4, 2024 12:44
But use shared keys for caches and datasets. We use the key for local
caching of the vms but this key is also passed to the cache naming. We
need our cache to be unique but caches to be the shared.
@brianp brianp force-pushed the bp-feat-randomx-miner branch from 1f83cd8 to 7b10c3c Compare September 6, 2024 07:28
Make sure the seed hash is checked and updated when needed. Ensure the
block template is updated when needed.
- Moves the stats incrementer to cache a number of counts and write
  later instead of on each cycle
- Starts a thread to watch the block template and notify the thread when
  it changes
@brianp
Copy link
Contributor Author

brianp commented Sep 6, 2024

Closing this PR in favour of: https://github.com/tari-project/tari/pull/6537/files

and a new repo: https://github.com/tari-project/clythor

@brianp brianp closed this Sep 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P-acks_required Process - Requires more ACKs or utACKs P-reviews_required Process - Requires a review from a lead maintainer to be merged
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants