ethereum / ethereum-org

[ARCHIVED] ethereum.org website from 2016-2019. See https://github.com/ethereum/ethereum-org-website for current version.
GNU Lesser General Public License v3.0
410 stars 1.39k forks source link

[admin.nodeInfo.nodeURL] >> [admin.nodeInfo.enode] #783

Closed rafialhamd closed 6 years ago

rafialhamd commented 6 years ago

The command 'admin.nodeInfo.nodeURL', results in 'undefined', in the recent version of Geth. Here is the actual output, based on the recent version of Geth:

myMac:console2 admin$ geth attach ipc:../node2/geth.ipc Welcome to the Geth JavaScript console!

instance: Geth/v1.7.3-stable/darwin-amd64/go1.9.2 coinbase: 0x3fd97155061e47960b59b563a178fa248493017c at block: 2 (Thu, 11 Jan 2018 20:25:58 +04) datadir: /Users/admin/MyXyz/testnet/node2 modules: admin:1.0 clique:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0

> web3.eth.accounts ["0x3fd97155061e47960b59b563a178fa248493017c"] > admin.nodeInfo.nodeURL undefined > admin.nodeInfo.enode "enode://f48fcf69ba27442ff3813912ec12ea1ad249f14739dabfcadb3985c3654540e047700030adba5800bf33d0adbdd9ca5f1c47aae2498a0d9dafb8c2fd730969b4@[::]:3002?discport=0" >