metaspartan / explorer

Ethereum Block Explorer (ETHExplorer V2) - Realtime Price Ticker, Shapeshift.io Integration, etc. (Project is currently not under active development, if you have a bug fix, please open a PR) My current project can be found at https://github.com/metaspartan/denarius (D a better cryptocurrency than ETH)
Other
486 stars 330 forks source link

Under "Blockchain Info," my private geth is indicating "Connected To ETH Network: true" #29

Open coreyog opened 6 years ago

coreyog commented 6 years ago

I'm running a private blockchain on localhost and have verified that admin.peers is an empty array. This entry implies I'm connected to and syncing with mainnet. I'm not sure how the value is derived but it appears to be incorrect. Either that or I'm misinterpreting it as a flag for "is connected to mainnet."

eknoes commented 6 years ago

This value is derived by executing web3.isConnected()