-
Notifications
You must be signed in to change notification settings - Fork 20.5k
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
eth_getWork starts mining #916
Comments
Miner threads are now settable through the admin interface (closes ethereum#897) and specify 0 CPU worker threads when eth_getWork is called (closes ethereum#916)
Miner threads are now settable through the admin interface (closes ethereum#897) and specify 0 CPU worker threads when eth_getWork is called (closes ethereum#916)
Miner threads are now settable through the admin interface (closes ethereum#897) and specify 0 CPU worker threads when eth_getWork is called (closes ethereum#916)
Miner threads are now settable through the admin interface (closes ethereum#897) and specify 0 CPU worker threads when eth_getWork is called (closes ethereum#916)
Miner threads are now settable through the admin interface (closes ethereum#897) and specify 0 CPU worker threads when eth_getWork is called (closes ethereum#916)
So it still starts mining, but now auto setting the threads to 0? |
Additionally does the first call to > web3.eth.getWork()
["", "", ""]
> web3.eth.getWork()
["0x083461b6e139df6b1ac2aefd6d0ae9ed8f806fbdae2cb4da6074e6cc0fa78b01", "0x9b2baad7528ecec612c5751a6bd525905892d7892e155c3b05e61363154a940b", "0x00000010f90e0722483014401065c08da3de6a14fc51677179c69d7e8fd4b09a"] This is not ideal, as you will always have to call it twice, to be sure you get the data. |
A hack? No. Dig in the logic of the miner if you're curious but please don't cast opinions where you can't have one (yet). |
when calling the
eth_getWork
RPC method, the node starts mining.This is unexpected behaviour and can be be used as an attack vektor.
The text was updated successfully, but these errors were encountered: