{"action":"created","issue":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6481","repository_url":"https://api.github.com/repos/bitcoin/bitcoin","labels_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6481/labels{/name}","comments_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6481/comments","events_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6481/events","html_url":"https://github.com/bitcoin/bitcoin/pull/6481","id":97510071,"number":6481,"title":"[mining] allow other signal listeners to provide scripts for mining","user":{"login":"jonasschnelli","id":178464,"avatar_url":"https://avatars.githubusercontent.com/u/178464?v=3","gravatar_id":"","url":"https://api.github.com/users/jonasschnelli","html_url":"https://github.com/jonasschnelli","followers_url":"https://api.github.com/users/jonasschnelli/followers","following_url":"https://api.github.com/users/jonasschnelli/following{/other_user}","gists_url":"https://api.github.com/users/jonasschnelli/gists{/gist_id}","starred_url":"https://api.github.com/users/jonasschnelli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonasschnelli/subscriptions","organizations_url":"https://api.github.com/users/jonasschnelli/orgs","repos_url":"https://api.github.com/users/jonasschnelli/repos","events_url":"https://api.github.com/users/jonasschnelli/events{/privacy}","received_events_url":"https://api.github.com/users/jonasschnelli/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bitcoin/bitcoin/labels/Refactoring","name":"Refactoring","color":"E6F6D6"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-27T17:07:42Z","updated_at":"2016-04-28T14:33:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/bitcoin/bitcoin/pulls/6481","html_url":"https://github.com/bitcoin/bitcoin/pull/6481","diff_url":"https://github.com/bitcoin/bitcoin/pull/6481.diff","patch_url":"https://github.com/bitcoin/bitcoin/pull/6481.patch"},"body":"This simple change would allow other wallets/signal listeners to providing a scripts for the coinbase output. Currently the main wallet will always overwrite a possible available script.\r\n\r\nWithout this PR, RPC test for the new wallet would require to send in funds mined of ther current wallet."},"comment":{"url":"https://api.github.com/repos/bitcoin/bitcoin/issues/comments/215445711","html_url":"https://github.com/bitcoin/bitcoin/pull/6481#issuecomment-215445711","issue_url":"https://api.github.com/repos/bitcoin/bitcoin/issues/6481","id":215445711,"user":{"login":"laanwj","id":126646,"avatar_url":"https://avatars.githubusercontent.com/u/126646?v=3","gravatar_id":"","url":"https://api.github.com/users/laanwj","html_url":"https://github.com/laanwj","followers_url":"https://api.github.com/users/laanwj/followers","following_url":"https://api.github.com/users/laanwj/following{/other_user}","gists_url":"https://api.github.com/users/laanwj/gists{/gist_id}","starred_url":"https://api.github.com/users/laanwj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laanwj/subscriptions","organizations_url":"https://api.github.com/users/laanwj/orgs","repos_url":"https://api.github.com/users/laanwj/repos","events_url":"https://api.github.com/users/laanwj/events{/privacy}","received_events_url":"https://api.github.com/users/laanwj/received_events","type":"User","site_admin":false},"created_at":"2016-04-28T14:33:43Z","updated_at":"2016-04-28T14:33:43Z","body":"My proposal would be to move `generate` to the wallet (as it needs a wallet, implicitly, anyway), and keep `generatetoaddress` in the core. See #7956.\r\n"}}