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

WIP: Implement RandomX algorithm #81

Open
wants to merge 2 commits into
base: feature/8.22.0
Choose a base branch
from

Conversation

barrystyle
Copy link

PR implements the RandomX hashing algorithm, which is internally setup to suit any Monero style RandomX miner (such as xmrig).

@SmartArray
Copy link

I love what I see here. Thanks Barrystyle. People appreciate your hard work

@JohnnyLawDGB
Copy link

Nicely done Barry!

@barrystyle barrystyle changed the title [WIP] Implement RandomX algorithm WIP: Implement RandomX algorithm Jan 23, 2022
@oliverw
Copy link

oliverw commented Apr 16, 2022

@barrystyle Any hints on how a Mining Pool would handle this? Does a getblocktemplate RPC return a Monero/Cryptonote Style response containing blocktemplate_blob, prev_hash, seed_hash?

@barrystyle
Copy link
Author

@barrystyle Any hints on how a Mining Pool would handle this? Does a getblocktemplate RPC return a Monero/Cryptonote Style response containing blocktemplate_blob, prev_hash, seed_hash?

Effectively, getblocktemplate still works as standard on the digibyte end, the hard work is done by the pool (stratum reference: https://github.com/digibyte-project/yiimp). The pool presents an xmrig-compatible stratum interface that can be used directly with xmrig.

@oliverw
Copy link

oliverw commented Apr 16, 2022

@barrystyle Any hints on how a Mining Pool would handle this? Does a getblocktemplate RPC return a Monero/Cryptonote Style response containing blocktemplate_blob, prev_hash, seed_hash?

Effectively, getblocktemplate still works as standard on the digibyte end, the hard work is done by the pool (stratum reference: https://github.com/digibyte-project/yiimp). The pool presents an xmrig-compatible stratum interface that can be used directly with xmrig.

Interesting. Thank you.

@barrystyle
Copy link
Author

@barrystyle Any hints on how a Mining Pool would handle this? Does a getblocktemplate RPC return a Monero/Cryptonote Style response containing blocktemplate_blob, prev_hash, seed_hash?

Effectively, getblocktemplate still works as standard on the digibyte end, the hard work is done by the pool (stratum reference: https://github.com/digibyte-project/yiimp). The pool presents an xmrig-compatible stratum interface that can be used directly with xmrig.

Interesting. Thank you.

From memory the current algorithm implementation in the coin differs now from the one in the stratum, but they are very close. I will get the two synchronized in the near future.

@ycagel
Copy link
Member

ycagel commented Mar 21, 2024

@barrystyle Do you want to pick this back up once we finish 8.22 development?

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.

5 participants