Skip to content

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

Open
mempko wants to merge 1 commit into
masterfrom
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 into
masterfrom
feature/mine-to-address

Conversation

@mempko

@mempko mempko commented May 12, 2018

Copy link
Copy Markdown
Member

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

Comment thread src/miner.cpp
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
Copy Markdown

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