Skip to content

Conversation

@sipa
Copy link
Member

@sipa sipa commented Mar 9, 2016

This complements #7507, allowing external scripts to take over the function of the internal setgenerate miner.

@sipa sipa mentioned this pull request Mar 9, 2016
@jonasschnelli
Copy link
Contributor

utACK.
nit: should we not exclude mainnet from generate?

@sipa
Copy link
Member Author

sipa commented Mar 10, 2016 via email

@jonasschnelli
Copy link
Contributor

400, which on any CPU thread would take over a day.

This would require adjustment over time (moore's law),.. but fine for me, it's anyways a nitpick.

@sipa
Copy link
Member Author

sipa commented Mar 10, 2016 via email

@jonasschnelli
Copy link
Contributor

+1 for the warning. I guess there will be some bitcoin-novice users that type in generate 1 into the GUI console window and wait until "they have mined a couple of bitcoin" and I don't want Issues like "generate 1 takes ages to generate bitcoins". :-)

@sipa
Copy link
Member Author

sipa commented Mar 10, 2016 via email

@laanwj
Copy link
Member

laanwj commented Mar 11, 2016

Concept ACK

with however many blocks were found in that time.

But never more than the number of blocks given as first argument, I hope?

@sipa
Copy link
Member Author

sipa commented Mar 11, 2016 via email

@laanwj laanwj merged commit 8a253b3 into bitcoin:master Mar 14, 2016
laanwj added a commit that referenced this pull request Mar 14, 2016
8a253b3 Make the generate RPC call function for non-regtest (Pieter Wuille)
@laanwj
Copy link
Member

laanwj commented Mar 14, 2016

We should probably mention this in the 0.13 release notes

@laanwj laanwj mentioned this pull request Mar 14, 2016
16 tasks
codablock pushed a commit to codablock/dash that referenced this pull request Dec 19, 2017
8a253b3 Make the generate RPC call function for non-regtest (Pieter Wuille)
thephez added a commit to thephez/dash-docs that referenced this pull request Feb 22, 2018
thephez added a commit to dash-docs/dash-docs that referenced this pull request Feb 27, 2018
* content - Mempool related RPC updates
 - Add getmempoolancestors, getmempooldescendants, and getmempoolentry
RPCs
 - Update Ref and Table

* content - Generate RPCs updated
 - Mark get/setgenerate as removed
 - Add generatetoaddress details
 - Update Ref and Table

* content - Debug RPC updated
 - Change delimiter to + instead of comma
 - Update Ref and Table

* content - GetInfo RPCs updated
 - getaddednodeinfo, getmemoryinfo, getnetworkinfo
 - Update Ref and Table

* content - Added PreciousBlock RPC
 - Update Ref and Table

* content - Added and update RPCs
 - Debug, estimatepriority, estimatesmartpriority, listunspent,
signmessagewithprivkey, validateaddress
 - Update Ref and Table

* Update GObject Getcurrentvotes with shortened outpoint output
 - Update example and Vote Info field
 - Ref #24

* content - Update generate RPC
 - Add iterations parameter
 - Ref dashpay/dash#1790 (and bitcoin/bitcoin#7663)

* content - Update rawtransaction and generate RPCs
 - CreateRawTransaction, GetRawTransaction, and FundRawTransaction minor
updates
 - Some minor generate RPC updates for removed commands

* content - Update RPCs
 - Update GetBlockChainInfo and GetBlockTemplate
 - Add ImportMulti
 - Some minor generate RPC updates for removed commands

* content - Update Dash RPCs
 - Update GetGovernanceInfo and MasternodeList

* content - Update Pruning related RPCs
 - Update PruneBlockchain, ImportPrunedFunds, and RemovePrunedFunds

* content - RPC table
 - Minor updates

* content - Add SetBIP69Enabled RPC

* build - Update Makefile check to allow numbers in summary name

* content - Add example of RPC with named parameter
thephez added a commit to thephez/dash-docs that referenced this pull request Jun 11, 2018
* content - Mempool related RPC updates
 - Add getmempoolancestors, getmempooldescendants, and getmempoolentry
RPCs
 - Update Ref and Table

* content - Generate RPCs updated
 - Mark get/setgenerate as removed
 - Add generatetoaddress details
 - Update Ref and Table

* content - Debug RPC updated
 - Change delimiter to + instead of comma
 - Update Ref and Table

* content - GetInfo RPCs updated
 - getaddednodeinfo, getmemoryinfo, getnetworkinfo
 - Update Ref and Table

* content - Added PreciousBlock RPC
 - Update Ref and Table

* content - Added and update RPCs
 - Debug, estimatepriority, estimatesmartpriority, listunspent,
signmessagewithprivkey, validateaddress
 - Update Ref and Table

* Update GObject Getcurrentvotes with shortened outpoint output
 - Update example and Vote Info field
 - Ref dash-docs#24

* content - Update generate RPC
 - Add iterations parameter
 - Ref dashpay/dash#1790 (and bitcoin/bitcoin#7663)

* content - Update rawtransaction and generate RPCs
 - CreateRawTransaction, GetRawTransaction, and FundRawTransaction minor
updates
 - Some minor generate RPC updates for removed commands

* content - Update RPCs
 - Update GetBlockChainInfo and GetBlockTemplate
 - Add ImportMulti
 - Some minor generate RPC updates for removed commands

* content - Update Dash RPCs
 - Update GetGovernanceInfo and MasternodeList

* content - Update Pruning related RPCs
 - Update PruneBlockchain, ImportPrunedFunds, and RemovePrunedFunds

* content - RPC table
 - Minor updates

* content - Add SetBIP69Enabled RPC

* build - Update Makefile check to allow numbers in summary name

* content - Add example of RPC with named parameter
thephez added a commit to thephez/dash-docs that referenced this pull request Jun 11, 2018
* content - Mempool related RPC updates
 - Add getmempoolancestors, getmempooldescendants, and getmempoolentry
RPCs
 - Update Ref and Table

* content - Generate RPCs updated
 - Mark get/setgenerate as removed
 - Add generatetoaddress details
 - Update Ref and Table

* content - Debug RPC updated
 - Change delimiter to + instead of comma
 - Update Ref and Table

* content - GetInfo RPCs updated
 - getaddednodeinfo, getmemoryinfo, getnetworkinfo
 - Update Ref and Table

* content - Added PreciousBlock RPC
 - Update Ref and Table

* content - Added and update RPCs
 - Debug, estimatepriority, estimatesmartpriority, listunspent,
signmessagewithprivkey, validateaddress
 - Update Ref and Table

* Update GObject Getcurrentvotes with shortened outpoint output
 - Update example and Vote Info field
 - Ref dash-docs#24

* content - Update generate RPC
 - Add iterations parameter
 - Ref dashpay/dash#1790 (and bitcoin/bitcoin#7663)

* content - Update rawtransaction and generate RPCs
 - CreateRawTransaction, GetRawTransaction, and FundRawTransaction minor
updates
 - Some minor generate RPC updates for removed commands

* content - Update RPCs
 - Update GetBlockChainInfo and GetBlockTemplate
 - Add ImportMulti
 - Some minor generate RPC updates for removed commands

* content - Update Dash RPCs
 - Update GetGovernanceInfo and MasternodeList

* content - Update Pruning related RPCs
 - Update PruneBlockchain, ImportPrunedFunds, and RemovePrunedFunds

* content - RPC table
 - Minor updates

* content - Add SetBIP69Enabled RPC

* build - Update Makefile check to allow numbers in summary name

* content - Add example of RPC with named parameter
@bitcoin bitcoin locked as resolved and limited conversation to collaborators Sep 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants