답변 감사합니다.
1.
CN = 30100 //kcnd_conf, static-nodes.json파일과 포트 일치
PN1 = 30200 //. pn1/conf/kpnd_conf, static-nodes.json파일과 포트 일치
PN2 = 30300 // pn2/conf/kpnd_conf, static-nodes.json파일과 포트 일치
EN = 30400 // ken_conf 파일과 포트 일치
-
pn1 : /home/song/workspace/klaytnrun/pn1/kpnd_home/data/static-nodes.json
pn2 : /home/song/workspace/klaytnrun/pn2/kpnd_home/data/static-nodes.json
en : /home/song/workspace/klaytnrun/ken-linux-amd64/kend_home/data/static-nodes.json
각각 conf파일에서 datadir 설정은 올바르게 했습니다.
3.
//pn1,pn2
[
“kni://af234957e2a1f2789691f53f456ed85742a56a10a313c4464381319643d6d2d24cb6a1ac4a75a36f499705cf8f17173865a5bec8c36d293b19e5e8af4e94f243@192.168.0.16:30100?discport=0\u0026ntype=cn”,
“kni://1f5848af5e341c971f762ba2489a29101fe758e1a2da271cf5e767e7c325af881ff2bd7cbd51eb9a645445c377aa0489c90ff8bc0411118f3220f080b2c988e5@192.168.0.16:30200?discport=0\u0026ntype=pn”,
“kni://cd3da11d4cab59dc1c9ac6f33660ee0423fdf64183b53e6c372f9c7f4bced33ede7bd9ff6feb309d12f63f0cab22538908b019daf3dbb51f372fddcc759350cd@192.168.0.16:30300?discport=0\u0026ntype=pn”
]
//en
[
“kni://1f5848af5e341c971f762ba2489a29101fe758e1a2da271cf5e767e7c325af881ff2bd7cbd51eb9a645445c377aa0489c90ff8bc0411118f3220f080b2c988e5@192.168.0.16:30200?discport=0\u0026ntype=pn”,
“kni://cd3da11d4cab59dc1c9ac6f33660ee0423fdf64183b53e6c372f9c7f4bced33ede7bd9ff6feb309d12f63f0cab22538908b019daf3dbb51f372fddcc759350cd@192.168.0.16:30300?discport=0\u0026ntype=pn”
]
-
//pn1 log
INFO[07/01,15:03:22 +09] [40] Starting P2P networking
INFO[07/01,15:03:24 +09] [34] UDP listener up self=“kni://af234957e2a1f2789691f53f456ed85742a56a10a313c4464381319643d6d2d24cb6a1ac4a75a36f499705cf8f17173865a5bec8c36d293b19e5e8af4e94f243@[::]:30200?ntype=pn”
INFO[07/01,15:03:24 +09] [40] Started P2P server id=af234957e2a1f278 multichannel=true
INFO[07/01,15:03:24 +09] [40] RLPx listener up self=“kni://af234957e2a1f2789691f53f456ed85742a56a10a313c4464381319643d6d2d24cb6a1ac4a75a36f499705cf8f17173865a5bec8c36d293b19e5e8af4e94f243@[::]:30200?ntype=pn”
INFO[07/01,15:03:24 +09] [33] [Dial] Add dial candidate from static nodes id=1f5848af5e341c97 NodeType=2 ip=192.168.0.16 mainPort=30200 port=[30200]
INFO[07/01,15:03:24 +09] [33] [Dial] Add dial candidate from static nodes id=cd3da11d4cab59dc NodeType=2 ip=192.168.0.16 mainPort=30300 port=[30300]
INFO[07/01,15:03:24 +09] [40] RLPx listener up self=“kni://af234957e2a1f2789691f53f456ed85742a56a10a313c4464381319643d6d2d24cb6a1ac4a75a36f499705cf8f17173865a5bec8c36d293b19e5e8af4e94f243@[::]:30200?ntype=pn”
WARN[07/01,15:03:24 +09] [44] unable to subscribe; this can slow down node err=“staking manager is not set”
INFO[07/01,15:03:24 +09] [40] IPC endpoint opened url=/home/song/workspace/klaytnrun/pn1/kpnd_home/data/klay.ipc
INFO[07/01,15:03:24 +09] [40] FastHTTP endpoint opened url=http://0.0.0.0:40200 cors=* vhosts=*
INFO[07/01,15:03:56 +09] [33] [Dial] Add dial candidate from static nodes id=1f5848af5e341c97 NodeType=2 ip=192.168.0.16 mainPort=30200 port=[30200]
INFO[07/01,15:03:56 +09] [33] [Dial] Add dial candidate from static nodes id=cd3da11d4cab59dc NodeType=2 ip=192.168.0.16 mainPort=30300 port=[30300]
//pn2 log
INFO[07/01,15:03:27 +09] [34] UDP listener up self=“kni://af234957e2a1f2789691f53f456ed85742a56a10a313c4464381319643d6d2d24cb6a1ac4a75a36f499705cf8f17173865a5bec8c36d293b19e5e8af4e94f243@[::]:30300?ntype=pn”
INFO[07/01,15:03:27 +09] [40] RLPx listener up self=“kni://af234957e2a1f2789691f53f456ed85742a56a10a313c4464381319643d6d2d24cb6a1ac4a75a36f499705cf8f17173865a5bec8c36d293b19e5e8af4e94f243@[::]:30300?ntype=pn”
INFO[07/01,15:03:27 +09] [33] [Dial] Add dial candidate from static nodes id=1f5848af5e341c97 NodeType=2 ip=192.168.0.16 mainPort=30200 port=[30200]
INFO[07/01,15:03:27 +09] [33] [Dial] Add dial candidate from static nodes id=cd3da11d4cab59dc NodeType=2 ip=192.168.0.16 mainPort=30300 port=[30300]
INFO[07/01,15:03:27 +09] [40] Started P2P server id=af234957e2a1f278 multichannel=true
WARN[07/01,15:03:27 +09] [44] unable to subscribe; this can slow down node err=“staking manager is not set”
INFO[07/01,15:03:27 +09] [40] RLPx listener up self=“kni://af234957e2a1f2789691f53f456ed85742a56a10a313c4464381319643d6d2d24cb6a1ac4a75a36f499705cf8f17173865a5bec8c36d293b19e5e8af4e94f243@[::]:30300?ntype=pn”
INFO[07/01,15:03:27 +09] [40] IPC endpoint opened url=/home/song/workspace/klaytnrun/pn2/kpnd_home/data/klay.ipc
INFO[07/01,15:03:59 +09] [33] [Dial] Add dial candidate from static nodes id=1f5848af5e341c97 NodeType=2 ip=192.168.0.16 mainPort=30200 port=[30200]
INFO[07/01,15:03:59 +09] [33] [Dial] Add dial candidate from static nodes id=cd3da11d4cab59dc NodeType=2 ip=192.168.0.16 mainPort=30300 port=[30300]
////en log
INFO[07/01,15:03:30 +09] [33] [Dial] Add dial candidate from static nodes id=cd3da11d4cab59dc NodeType=2 ip=192.168.0.16 mainPort=30300 port=[30300]
INFO[07/01,15:03:30 +09] [40] RLPx listener up self=“kni://499a9be873b7033344c5ccc935360302da0fd9d412bb2a70a792c2c6f89382d6a39d7db7a35a7012fd6260fdee731c4f329f47156826e547b3dd157edb9b0a20@[::]:30400?ntype=en”
WARN[07/01,15:03:30 +09] [44] unable to subscribe; this can slow down node err=“staking manager is not set”
INFO[07/01,15:03:30 +09] [40] IPC endpoint opened url=/home/song/workspace/klaytnrun/ken-linux-amd64/kend_home/data/klay.ipc
INFO[07/01,15:03:30 +09] [40] FastHTTP endpoint opened url=http://0.0.0.0:60400 cors=* vhosts=*
INFO[07/01,15:03:30 +09] [40] FastWebSocket endpoint opened url=ws://0.0.0.0:8552
INFO[07/01,15:04:02 +09] [33] [Dial] Add dial candidate from static nodes id=1f5848af5e341c97 NodeType=2 ip=192.168.0.16 mainPort=30200 port=[30200]
INFO[07/01,15:04:02 +09] [33] [Dial] Add dial candidate from static nodes id=cd3da11d4cab59dc NodeType=2 ip=192.168.0.16 mainPort=30300 port=[30300]
INFO[07/01,15:04:34 +09] [33] [Dial] Add dial candidate from static nodes id=cd3da11d4cab59dc NodeType=2 ip=192.168.0.16 mainPort=30300 port=[30300]
INFO[07/01,15:04:34 +09] [33] [Dial] Add dial candidate from static nodes id=1f5848af5e341c97 NodeType=2 ip=192.168.0.16 mainPort=30200 port=[30200]
pn1,pn2,en 로그를 보면 block과 관련된 log는 전혀 나오지 않습니다.