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

Adding new options so that the miner can mine to a specific address. #352

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

mempko
Copy link
Member

@mempko mempko commented May 12, 2018

Allows you to specify an address to mine too instead of one in your wallet.

@@ -1191,7 +1218,18 @@ void GenerateMerit(bool mine, int pow_threads, int bucket_size, int bucket_threa
}

std::shared_ptr<CReserveScript> coinbase_script;
GetMainSignals().ScriptForMining(coinbase_script);
// if no destination is specified then we default to the wallet's address
if(!IsValidDestination(dest)) {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • space /pedantic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants