cubedro / eth-net-intelligence-api

Ethereum Network Intelligence API
http://tinyurl.com/ofndjbo
GNU General Public License v3.0
324 stars 345 forks source link

Only request mining info when node is mining #264

Closed lucassaldanha closed 3 years ago

lucassaldanha commented 5 years ago

Our new client Pantheon only exposes the mining API when the node is mining. It would be interesting to only request mining information to nodes that are actively mining. In the current implementation, when the service request the coinbase and the request fails ('cause the node is not mining therefore doesn't need a coinbase), the node is marked as inactive.