log eth
linlin@linlin-i5:/workspace/blockchain$ geth init --datadir "peer1" genesis.json
INFO [07-26|15:11:20.463] Maximum peer count ETH=50 LES=0 total=50
INFO [07-26|15:11:20.464] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [07-26|15:11:20.466] Set global gas cap cap=50,000,000
INFO [07-26|15:11:20.467] Allocated cache and file handles database=/workspace/blockchain/peer1/geth/chaindata cache=16.00MiB handles=16
INFO [07-26|15:11:20.483] Opened ancient database database=/workspace/blockchain/peer1/geth/chaindata/ancient readonly=false
INFO [07-26|15:11:20.483] Writing custom genesis block
INFO [07-26|15:11:20.483] Persisted trie from memory database nodes=3 size=397.00B time="27.649µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [07-26|15:11:20.483] Successfully wrote genesis state database=chaindata hash=e3ea4f..18ce30
INFO [07-26|15:11:20.483] Allocated cache and file handles database=/workspace/blockchain/peer1/geth/lightchaindata cache=16.00MiB handles=16
INFO [07-26|15:11:20.492] Opened ancient database database=/workspace/blockchain/peer1/geth/lightchaindata/ancient readonly=false
INFO [07-26|15:11:20.492] Writing custom genesis block
INFO [07-26|15:11:20.492] Persisted trie from memory database nodes=3 size=397.00B time="19.795µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [07-26|15:11:20.492] Successfully wrote genesis state database=lightchaindata hash=e3ea4f..18ce30
linlin@linlin-i5:/workspace/blockchain$ geth init --datadir "peer2" genesis.json
INFO [07-26|15:11:33.057] Maximum peer count ETH=50 LES=0 total=50
INFO [07-26|15:11:33.058] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
INFO [07-26|15:11:33.060] Set global gas cap cap=50,000,000
INFO [07-26|15:11:33.061] Allocated cache and file handles database=/workspace/blockchain/peer2/geth/chaindata cache=16.00MiB handles=16
INFO [07-26|15:11:33.071] Opened ancient database database=/workspace/blockchain/peer2/geth/chaindata/ancient readonly=false
INFO [07-26|15:11:33.071] Writing custom genesis block
INFO [07-26|15:11:33.071] Persisted trie from memory database nodes=3 size=397.00B time="27.328µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [07-26|15:11:33.071] Successfully wrote genesis state database=chaindata hash=e3ea4f..18ce30
INFO [07-26|15:11:33.071] Allocated cache and file handles database=/workspace/blockchain/peer2/geth/lightchaindata cache=16.00MiB handles=16
INFO [07-26|15:11:33.081] Opened ancient database database=/workspace/blockchain/peer2/geth/lightchaindata/ancient readonly=false
INFO [07-26|15:11:33.081] Writing custom genesis block
INFO [07-26|15:11:33.082] Persisted trie from memory database nodes=3 size=397.00B time="159.431µs" gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [07-26|15:11:33.082] Successfully wrote genesis state database=lightchaindata hash=e3ea4f..18ce30
linlin@linlin-i5:/workspace/blockchain$ geth --datadir "peer1" --networkid 1111 --port 30401 console 2>peer1.log
Welcome to the Geth JavaScript console!
instance: Geth/v1.10.20-stable-8f2416a8/linux-amd64/go1.18.1
at block: 0 (Thu Jan 01 1970 08:00:00 GMT+0800 (CST))
datadir: /workspace/blockchain/peer1
modules: admin:1.0 debug:1.0 eth:1.0 ethash:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0
To exit, press ctrl-d or type exit
>
linlin@linlin-i5:/workspace/blockchain$ geth --datadir "peer2" --networkid 1111 --port 30402 console 2>peer2.log
Welcome to the Geth JavaScript console!
instance: Geth/v1.10.20-stable-8f2416a8/linux-amd64/go1.18.1
at block: 0 (Thu Jan 01 1970 08:00:00 GMT+0800 (CST))
datadir: /workspace/blockchain/peer2
modules: admin:1.0 debug:1.0 eth:1.0 ethash:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0
To exit, press ctrl-d or type exit
>
linlin@linlin-i5:/workspace/blockchain$ tail -f peer1.log
INFO [07-26|15:11:42.029] Starting peer-to-peer node instance=Geth/v1.10.20-stable-8f2416a8/linux-amd64/go1.18.1
INFO [07-26|15:11:42.034] New local node record seq=1,658,819,502,033 id=44a999c7d335dfc9 ip=127.0.0.1 udp=30401 tcp=30401
INFO [07-26|15:11:42.034] Started P2P networking self=enode://da93d1667b0da36dc20fd2f3d95ca6c0eab9e92d9626d310029558abdfb1b02b422f9d45182206cf420deacb13dd047fcf8ea2cfc6f30a0fb1eff71d2953eba9@127.0.0.1:30401
INFO [07-26|15:11:42.035] IPC endpoint opened url=/workspace/blockchain/peer1/geth.ipc
WARN [07-26|15:11:42.062] Served eth_coinbase reqid=3 duration="13.521µs" err="etherbase must be explicitly specified"
INFO [07-26|15:11:44.440] New local node record seq=1,658,819,502,034 id=44a999c7d335dfc9 ip=192.168.1.3 udp=30401 tcp=30401
INFO [07-26|15:11:44.781] Mapped network port proto=tcp extport=30401 intport=30401 interface="UPNP IGDv1-IP1"
WARN [07-26|15:11:48.540] Snapshot extension registration failed peer=63cbe74f err="peer connected on snap without compatible eth support"
INFO [07-26|15:11:52.235] Looking for peers peercount=0 tried=90 static=0
WARN [07-26|15:11:57.740] Snapshot extension registration failed peer=a4da81c9 err="peer connected on snap without compatible eth support"
WARN [07-26|15:12:11.075] Snapshot extension registration failed peer=150ea310 err="peer connected on snap without compatible eth support"
INFO [07-26|15:12:12.290] Looking for peers peercount=2 tried=82 static=0
WARN [07-26|15:12:22.261] Snapshot extension registration failed peer=bc8af532 err="peer connected on snap without compatible eth support"
INFO [07-26|15:12:32.350] Looking for peers peercount=1 tried=80 static=0
INFO [07-26|15:12:42.393] Looking for peers peercount=1 tried=88 static=0
INFO [07-26|15:13:12.683] Looking for peers peercount=1 tried=105 static=0
INFO [07-26|15:13:22.797] Looking for peers peercount=1 tried=77 static=0