Skip to content

DRAFT (Not tested) Dynamic added miners - #38

Open
CryptoPascal31 wants to merge 3 commits into
masterfrom
dynamic_added_miners
Open

DRAFT (Not tested) Dynamic added miners#38
CryptoPascal31 wants to merge 3 commits into
masterfrom
dynamic_added_miners

Conversation

@CryptoPascal31

Copy link
Copy Markdown
Member

Based on Amir's work and proposal.

Currently, allowed miners are defined statically within the config file (Mining coordination).

This is good for solo miners, but not ideal when you want to make a shared mining pool ...

The idea of this PR is to allow miners to be added dynamically when they request work.

But there are resources concerns: a register miner takes some resources (block building for every block + 2 threads).

To mitigate that:

  • The feature is not enabled by default
  • Miners are automatically removed from the list after 5 minutes
  • The number of dynamic miners is limited by config file.

Anyway, it's fine if we don't merge this immediately, it can live on its own branch for now.

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