Clarification - Peers & private net & network status

Hi all,

I am confused with a couple of concepts and I will try to explain my questions about them.

I have created a private net and when I start the "geth" , the following log is displayed:

I0929 22:48:19.549344 8097 backend.go:303] Successfully wrote genesis block. New genesis hash = 27114fc409e6d26000d85f4602349bb8ab27a11b5f0307638b5d8bae3a3e791a
I0929 22:48:19.549874 8097 backend.go:328] Blockchain DB Version: 3
I0929 22:48:19.550514 8097 chain_manager.go:237] Last block (#1484) 5d561b7d748b97c4fe32d15129ff4dac673dd6dab48776a8006762b2d01debd2 TD=284686477
I0929 22:48:19.568540 8097 cmd.go:125] Starting Geth/v1.1.3/linux/go1.5
I0929 22:48:19.568665 8097 server.go:311] Starting Server
I0929 22:48:21.784803 8097 nat.go:111] mapped network port udp:30303 -> 30303 (ethereum discovery) using UPNP IGDv1-IP1
I0929 22:48:21.858541 8097 udp.go:207] Listening, enode://fe3fd3bfd5595ea43605cdd896b6eed514322018b4c241ce4a206da8d23ec95e1[email protected]158.181.107.145:30303
I0929 22:48:21.858629 8097 backend.go:557] Server started
Unlocking account 0 | Attempt 1/3
I0929 22:48:21.858680 8097 backend.go:640] Automatic pregeneration of ethash DAG ON (ethash dir: /home/skydog/.ethash)
I0929 22:48:21.858716 8097 server.go:552] Listening on [::]:30303
Passphrase: I0929 22:48:21.858748 8097 backend.go:647] checking DAG (ethash dir: /home/skydog/.ethash)
I0929 22:48:21.925229 8097 nat.go:111] mapped network port tcp:30303 -> 30303 (ethereum p2p) using UPNP IGDv1-IP1


Question 1: What does the "enode" information mean? If I have a private net, the IP-address should be 127.0.0.1, right? But I see the IP 58.181.107.145 in the log "enode://fe...58.181.107.145:30303"

Am I wrong and I am not running a private net?

Question 2: If I am running geht, then I have my own peer, right? Where can I find my peer-ID and the public/private key of my peer?

Question 3: It is possible to install PM2 (https://github.com/ethereum/wiki/wiki/Network-Status), but which is the use of it? To install several peers in the private net?

Thanks in advance
SkyDog







Sign In or Register to comment.