Skip to content

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

Open
mempko wants to merge 1 commit intomasterfrom
feature/mine-to-address
Open

Adding new options so that the miner can mine to a specific address.#352
mempko wants to merge 1 commit intomasterfrom
feature/mine-to-address

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.

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