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

miner: allow the miner to run only when transactions are pending #1920

Closed
tgerring opened this issue Oct 21, 2015 · 1 comment
Closed

miner: allow the miner to run only when transactions are pending #1920

tgerring opened this issue Oct 21, 2015 · 1 comment

Comments

@tgerring
Copy link
Contributor

Currently, the miner is with on all the time or off all the time. It would be useful in several scenarios, especially development on a private chain, to have the miner run only when transactions are pending. When the transaction pool is empty, the miner should automatically turn off and wait for more transactions.

Suggest to enable this functionality by default for --devmode flag in addition to exposing it as a discrete CLI flag.

@stale
Copy link

stale bot commented Mar 5, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status:inactive label Mar 5, 2018
@stale stale bot closed this as completed Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant